RTSPtoWeb icon indicating copy to clipboard operation
RTSPtoWeb copied to clipboard

Play rtsp on custom interface in browser

Open nav232 opened this issue 2 years ago • 6 comments

Hi, after going through this awesome project i was wondering if there is any way i can play an rtsp stream on my custom interface in a browser and if so, how can i accomplish that? P.S. i am unfamilier with go so any help is welcome

nav232 avatar Sep 27 '23 10:09 nav232

RTSP is not supported by the web. This project converst the RTSP flow to several flows usable on the web

API documentation is what you're looking for

NicoCaldo avatar Sep 27 '23 10:09 NicoCaldo

i have gone through the api documentation and my main question is after adding the stream , i want to see a particular channel displayed in webrtc format

nav232 avatar Sep 27 '23 11:09 nav232

i have gone through the api documentation and my main question is after adding the stream , i want to see a particular channel displayed in webrtc format

Everything is written in the documentation https://github.com/deepch/RTSPtoWeb/blob/master/docs/api.md#webrtc

You can also see the stream in Streams List or adding it to Full multiview

NicoCaldo avatar Sep 27 '23 11:09 NicoCaldo

what i am unable to grasp from the documentation is how to play a stream that has been added in streams list on custom made interface not on the provided dashboard. Please help me in this matter

nav232 avatar Sep 27 '23 12:09 nav232

You need to build or use your own interface.

This module offer you the URL for the stream in webRTC, you need something to show it

NicoCaldo avatar Sep 27 '23 14:09 NicoCaldo

I do have an interface of my own from where i can add , update, delete a stream and channels. But i do not have clarity even after going through the docs about how to play any particular stream(esp in webrtc format) in my interface. Please elaborate on this if you will.

nav232 avatar Sep 28 '23 05:09 nav232