Wondering whether it is at all possible to use the Gstreamer RTSP server without GLib? I’m using tokio everywhere else so it’d be nice if I didn’t have to introduce something else just for this, is that possible? If so can anyone shed some light on an example of it?
gst-rtsp-server is built completely around the GLib main loop unfortunately, so making that work with tokio instead basically means redesigning the whole thing.
Some years ago I started wroting a new rtsp-server that actually uses async-std (moving that to tokio should be trivial) but it’s a different API and API design completely. Also it’s far from finished feature-wise, and I didn’t have a lot of time to spend on it recently.
I didn’t initially have the join but it wasn’t working so I added it, I think just await on spawn_blocking seems to work fine though without either problem
Is there an intended way to close the RTSP server gracefully?
When I cntrl-c in the terminal my Android RTSP client doesn’t seem to get a shutdown signal