Just curious if anybody knows how to check the connection of a video stream using a CLI/script.
The idea is just to check if a channel is working without doing it manually.
One thought I had was to create a custom recording on the channel for 30s and then check if the recording succeeded. And then have to make sure to delete the recording. That doesn't seem to be very efficient.
Ideally, it would be as simple as opening the stream to the channel and make sure it succeeds. I just don't know how to do it.
I checked the web inspector when I played a live stream in the browser, and then I tried to send the same request from a terminal. Got a 404 response. So that doesn't work.
I'm sure the developers know the best answer.