Streaming with WebRTC

WebRTC Streaming

1. Setting up your WebRTC stream

There are two params you need to set up your client app: Server URL and

stream_key
. You can find it when you click on one of your streams on the stream list page. For RTMP streams Server URL param is the following:

rtmp://rtmp-live.qencode.com/qlive

Specify these params in your streaming client app settings. You can see screenshot of OBS params below:

OBS stream params

That's it! You can start streaming even with this basic setup.

2. Stream encoding params

By default incoming RTMP stream is encoded into HLS output format with H.264 video codec and AAC audio codec.
Maximum output resolution currently supported is Full HD (1920x1080). Maximum output frame rate: 30 frames per second.

3. Output stream playback

Each stream has a unique playback_id value identifying a playback URL. For HLS output stream playback URL format will be the following:

https://play-<playback_id>/qhls/qlive/playlist.m3u8

You can use any player supporting ABR streams playback.
Using Qencode Player is described here