-
Notifications
You must be signed in to change notification settings - Fork 416
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
RTSP streams causing "Fatal Exception" with AVProVideo #302
Comments
For the stream in question, I just want to comment that the particular streamKey linked might be invalidated, but a free account can be made at https://rtsp.stream/ I suspect its taking issue with the response on the DESCRIBE command, particularly the audio portion. From the "pattern" stream
From the "movie" stream
From my usual stream
I suspect its the |
It looks like Over to @microkatz to see if I've understood the RTSP spec correctly. |
Thanks for the response.
I've been using the free account to test those streams. Does it seem like its possible that I should be able to gracefully handle this failure on my end or is this something that I can't protect against beyond from preventing users from providing rtsp streams? |
Hi @tangentlab. I created a fix so that these mp4A-latm with missing profile-level-id attributes will use the default profile-level-id value. I'll update this page when that commit is entered into the main branch. This fix should allow your rtsp stream to be played. In addition, I noticed that you are running an older version of Exoplayer, v2.18.2? There was a fix that went into 2.18.4, google/ExoPlayer@89acf3c. This commit will alleviate the "Fatal Exception" that is crashing the player. However, you'll have to wait for the new code for the rtsp stream to be playable. |
Hello @tangentlab. Thank you for reporting your issue! This fix that I mentioned has been entered into the androidx/media main branch. Here is the commit: 165f4f2. This fix should allow your rtsp stream to be played. |
Great! Much appreciated. I'm excited to try it. |
Media3 Version
ExoPlayer 2.18.2
Devices that reproduce the issue
Hi,
I'm using AVProVideo in Unity 2020.3.36 for Meta Quest video playback.
I seem to be hitting this
Fatal Exception
bug with some RTSP streams. I can't seem to narrow down what type of stream will cause it, but I can use a number of streams and won't get it but then will get it one that consistently crashes.I can try to provide links that I'm hitting but I don't have a solid list.
I've been discussing over here
RenderHeads/UnityPlugin-AVProVideo#1505
and it possibly seems like a problem handling audio in ExoPlayer?
Devices that do not reproduce the issue
only testing on Quest 2
Reproducible in the demo app?
Not tested
Reproduction steps
Expected result
play stream and provide joy
Actual result
Quest app fully crashes
Media
I've been trying this test stream and it seems to be what crashes the app
rtsp://zephyr.rtsp.stream/pattern?streamKey=cf1c48e420d2777f0eaef03b9b9252cd
Bug Report
adb bugreport
to [email protected] after filing this issue.The text was updated successfully, but these errors were encountered: