Access WebRTC stream using simple URL format

Luca

Member
Hi

We are trying to configure an external application to pull a stream from the WCS server, but the only format accepted from the external application is:

wss://mystream.ngrok.io/audiostream

Where audiostream is the unique stream name

Is there a way to configure the WCS server to be able to fulfil that request with the stream provided in the stream name?

Please let me know
Thank you
Luca
 

Max

Administrator
Staff member
Good day.
WebRTC streams pulling needs a special signaling implementation. So you have the following options:
1. Make your application act as WebRTC playing client. In this case, you should implement a custom websocket signaling API: Raw WebSocket API
2. Capture the stream using RTSP or RTMP. This is the preferrable way especially if your application is based on ffmpeg
Code:
ffplay rtmp://wcs:1935/live/streamName
 
Top