deepch / RTSPtoWeb

RTSP Stream to WebBrowser
MIT License
1.27k stars 302 forks source link

Direct Stream URL #311

Open tokenwizard opened 1 year ago

tokenwizard commented 1 year ago

First let me start by saying this is a great app and I love the multi-view options and the ability to convert multiple RTSP streams to various web-friendly protocols with minimal resource usage.

I've reviewed the documentation and I understand that the endpoint URLs for the streams are POST, not GET accessible.

IMHO it seems like it would be much easier if RTSPtoWEB could just provide a direct-access URL of the MSE/HLS/RTC versions of the stream; one that could be plugged directly into FFMPEG/FFPLAY, VLC, etc.

It would make it really easy to plug the desired stream into other applications and not require Javascript to be used on the various types of clients we want to pull the RTC streams into.

Just my opinion, but based on the other "Issues" I've found logged here it seem like this is a pain point for more than a few users. I'm picturing a section at the bottom of the player page that shows the direct-access URL for each of the types of streams.

ghost commented 1 year ago

See https://github.com/deepch/RTSPtoWeb/blob/master/docs/api.md#video-endpoints

tokenwizard commented 1 year ago

Did that documentation get updated or did I somehow miss that section. When I looked at the Documentation on Video Endpoints before, it showed non-m3u8 URLs and each time I tried to open one I got a 404 error.

Either way, thanks for pointing me in the right direction!

gtirth commented 1 year ago

@tokenwizard I have the same problem when I try to direct to link

madattack commented 7 months ago

same for me. I tried all the endpoints and none is working...