-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to play an InputStream using Exoplayer? #1086
Comments
However, where you're able to create Where are your |
Media is located on a server , I am creating an inputstream on the client side and I was using audiotrack to play the stream, but I want to shift to exoplayer to play this stream. Is there any way? |
To put it another way, why are you trying to use an |
@ojw28 to my empty inputStream. Internal track renderer error. Any idea how to fix this? |
If you're feeding content from the It's very unclear what the goals are here. What's wrong with your existing The constraints themselves sounds flawed/bad, although without knowing the exact use case it's hard to say. I'd suggest revisiting those, and if they really are sensible, sticking with an |
@ojw28 since there was not datasource available that takes a raw inputstream as a source,
My project plays a song named "song.mp3" present in the root directory of SD Card. |
I have used exoplayer to play audio files and stream over http.
But I can't find any interface that implements SampleSource whose constructor has an inputstream as a parameter. Please help me with this.
The text was updated successfully, but these errors were encountered: