-
Notifications
You must be signed in to change notification settings - Fork 29
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 stream crashing Quest 2 / Android #1505
Comments
Hi, Yeah I don't believe we support RTSP with streamkey on android. |
as far as RTSP clients go, streamkey is just a part of the URL to get handed to the server. Query Parameters in HTTP parlance. In the case of MediaMTX (rtsp-simple-server renamed fairly recently) the key is considered as a replacement to other authentication methods. I suspect it's an issue with either the resolution or the encoding. I just tested the pattern stream from that rtsp.stream site and I got a 320x240 30FPS H.264 stream. Meanwhile in I suppose a docker image I found necrodome/rtsp-on-flyio is doing 1024x768. I've tested streaming from OBS at 720x480 30fps into VRChat with good results. VRCDN has a test stream You could try something like |
It seems like it may be hard to confidently know what will actually work. Any suggestions at least on where I might be able to catch the crash? So I can at least smooth out bad links? |
Reading the actual trace, problem is with audio. Is the test stream a guaranteed crash? Like five out of five attempt crash? I don't know what would be easier for you, either test exoplayer demo on a phone, maybe compile with URL. Or maybe try to reproduce in VRChat. Private instance of https://vrchat.com/home/world/wrld_25bf4795-501c-4d05-b874-8dc4e78ad83d "black gold lounge". Dj booth has different URL for PC and quest, so you can like paste VRCDN stream for pc, and the test stream to Quest. If you posted your correct streamkey to these comments you might need new key. I figure maybe VRChat catches AVPro error, and doesn't die, or maybe the demo application catches the error. I know very little of android stuff, from what I can understand exoplayer is either angrily crashing when it shouldn't, or AVPro isn't handling this error, when it should. |
Thanks! I noticed this line in logcat and I'm wondering if it's a hint ... I'm not familiar with any of this really but I'm grasping at straws. I have a fully logcat output that I could potentially share here if that's useful.
Ya it seemed like it was 100% though I could have done some more passes to be totally confident. I've seen the fatal crash enough that there is an obvious problem with the stream.
Agree that this should be handled more gracefully in either of these places ^ |
Just thought I would throw this here. ExoPlayer dev thinks maybe related to audio metadata androidx/media#302 |
It looks like ExoPlayer may have an update that solves the issue. |
Describe the issue
Using a test pattern stream from http://rtsp.stream I'm getting the feed coming into our Meta Rift app but when I try to bring that stream into the Quest 2 version the app crashes with a "Fatal Exception". I've tried other rtsp streams that will playback in Quest / Android but the test pattern has a hard crash.
Taking a look at other issues posted I'm wondering if the problem is related to the streamkey, but I'm looking for feedback on that. Also looking for advice on testing RTSP streams, but it seems like it's hard to come by dependable tests.
Your Setup (please complete the following information):
To Reproduce
Using a test pattern
Logs
The text was updated successfully, but these errors were encountered: