I have an RTSP stream coming in to a Video Stream In TOP, and I am unable to get audio out of it using an Audio Stream In TOP. Audio works fine in VLC and it even works using the same RTSP stream in the URL parameter of the Audio Stream In CHOP, but this introduces latency and is not a viable workaround.
Could you report the build you are using?
Yes! I’m on the latest version: 2020.26630
Can you try the 2020.40000 series of builds? I’ve significantly re-worked the streaming in those versions.
Hey malcolm! I just tried this on 2020.41040, and as soon as it connects with the Audio Stream In CHOP connected to the Video Stream In TOP, it crashes! If I disconnect them before allowing it to connect to the stream, it doesn’t crash, but I still get no levels out of it whatsoever. And I noticed with it connected, the video is only updating at about 1fps. As soon as I disconnect the Audio Stream In TOP, it begins playing back at the proper framerate. RTSPTest.1.toe (3.7 KB)
Hey, I’m unable to reproduce with a Video Stream Out → Video Stream In TOP. How are you generating your RTSP server, and is there any chance you can leave it running so I can try connecting and reproduce the issue?
Yes I can absolutely leave it running! I have it running right now with some audio and video and its pointing to the address in the test file. Just so you are aware its RTMP out of OBS > VPS running Nginx RTMP Module > Nimble streamer to republish as RTSP> RTSP into Touch
Great, I can reproduce it with this. Can you leave this running for the rest of the day? Would really appreciate it!
Yeah no problem! Thanks for the help!
Hey Malcolm, I lowered the bitrate to save some badwidth and noticed that the audio started working when I lowered it to 1200kbps!. Once I raised it back up, the audio got unstable and then it was lost completely
Where is the setting currently on the stream? I was able to reproduce that crash you had so that should be fixed in this build if you want to try it:
Are you able to set the stream back to the back bitrate to see if I can find anything else?
Actually malcolm, it might’ve been a fluke but I think pausing and playing a few times seems to fix the issue regardless of the bitrate, which might be a somewhat viable workaround. I will test this new build and dig around a bit and see what happens! Currently the stream is at 4500kbps
Ok this build is definitely working a bit better! When I connect at first, it does not crash, and I get some samples to come through intermittently, but then if I pause Touch and then press play, it works! Pausing and playing like this won’t work if I want to run a show but this way, I at least get audio!
Thanks for the feedback! Any idea when the feed will be live again so I can work on ironing out those remaining issues.
Yeah Malcolm, I’ve got it running now at 4200kbps. The bitrate does have an effect, it seems. If I have it at 1200kbps, it is able to connect with audio when I open the project. If its at 4200kbps, when the project opens, it attempts to grab audio but only gets samples intermittently and the video stream seems to chug as well.
Sorry, can you up it back up? I’ll work on it today. I was done for the day when you put it back up yesterday.
Yep, its back up now!
Here’s an other build to try
This should have better buffering when first connecting. Let me know how this one goes. Thanks for the tests, getting there!
Cool! this seems to work a bit better! It seems like pausing and playing to build the buffer a bit still helps with the dropouts.