-
-
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
rtp uri problem #2697
Comments
Is rtp even supported? |
Yes, Old live system. MediaPlayer module in android can play rtp video. I think issue #2254 is the same question. |
Do Exoplayer and iOS support it? |
|
Is it just a matter of supporting the http scheme? Nothing else needs to change to support it across Exoplayer and iOS? |
If using mediaplayer, and iOS native player, nothing else needs to change. But I think it needs to change exoplayer part to support RTSP. The exoplayer in RNV is com.google.android.exoplayer:exoplayer:2.13.3. |
We are removing support for the Android mediaplayer. If this requires work for Exoplayer, then we need to also fix that in the PR. |
Thanks a lot. I think rtsp is important. Please upgrade the exoplayer version. |
looks like a real issue, let's reopen. |
@aboelf Just try to implement this feature, but it is not so simple :) |
I will test it soon. I found that exoplayer implementation is partial which mattered my project critically, so I changed the module that using ijkplayer. I will help you check the android log. |
I have tested your commit. I think the js part is correct.But the problem that not working is android part is not fitting rtsp. I checked adb log.According this log,I think exoplayer uses HttpDataSource to handle rtsp protocol. |
1 similar comment
I have tested your commit. I think the js part is correct.But the problem that not working is android part is not fitting rtsp. I checked adb log.According this log,I think exoplayer uses HttpDataSource to handle rtsp protocol. |
@aboelf I finally find time to investigate remaining issue! I can now stream a sample rtsp stream as added in the sample. |
sorry I can't help you to test it. Our project uses ffmpeg framework because of the network type.Quote to https://exoplayer.dev/rtsp.html,multicast is not supported.I can't test in our rtsp stream. |
How about udp? Does this also supported? Thanks. |
I think this would need additional devs. Something similar to the opened rtsp feature ! |
udp is supported,tcp is too. |
rtsp intregrated in this PR: #3677 |
Bug
in video.js
const isNetwork = !!(uri && uri.match(/^https?:/));
if video stream is rtsp,like 'rtsp://192.168.241.26/7/16/20220520/273743671/273743671.ts' or 'rtp://239.255.3.3:8000' ,isNetwork is wrong.
const isNetwork = !!(uri && uri.match(/^(https?|rtp|rtsp):/));
The text was updated successfully, but these errors were encountered: