-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Exoplayer - unable to display RTSP url (Black screen) #1069
Comments
@QuentinCln Per google/ExoPlayer#55, RTSP isn't supported by ExoPlayer yet, however there is a PR open to add support in google/ExoPlayer#3854. Once that lands and ExoPlayer puts out a new release that includes that PR, we should be able to get support automatically. I'll keep an eye on it and update. Clearly we need to document which formats are supported on which players, I'll add that to my list of things to do. @pheromone That URL isn't a RTSP URL. Please open a separate issue for this and add info about what kind of error you are getting. That URL is working fine for me. |
Thanks @cobarx for the informations. I finally made a wrapper around VideoView that manages RTSP |
@QuentinCln Checking in 8 months latest and ExoPlayer still hasn't merged in that PR for RTSP support. Any chance you can elaborate on your Thanks! |
Current behavior
unable to display video (Black screen) when uri source is set to an RSTP uri
Same behavior with Android MediaPlayer.
react-native: 0.55.4
react-native-video: 2.1.1
Reproduction steps
Also tried to pass
const isNetwork = !!(uri && uri.match(/^https?:/));
to true, but no effectPlatform
Which player are you experiencing the problem on:
Ubuntu, physical Android device
Android ExoPlayer
Video sample
rtsp://184.72.239.149/vod/mp4:BigBuckBunny_175k.mov
rtsp://95.253.236.60/live/ch00_0
The text was updated successfully, but these errors were encountered: