OvenMedia WebRTC Subscriber

WebRTC Subscriber configured for OvenMediaEngine.

Note: Not a live demo, server configuration is just for example. For live working example try the Millicast Publisher and Subscriber example. Or AWS Kinesis Publisher and Subscriber example.

WebRTC Subscriber configuration for Oven Media Engine.

Only one to many is possible for now until a custom WebSocket solution for group call peering is available.

Oven Media Engine supports P2P Delivery for subscribers. This needs to be first configured and is integrated.

If testing with the Docker image before custom compiling the server. Configure wsSecure to disable secure WebSocket with no SSL configured and transportTcp as UDP transport doesn't work to the Docker image.

Configured is a Signed Policy token config for providing stream security if setup in the server.

    <div class="flex w-full h-auto my-auto">
          <div id="ovenmedia-subscriber" class=""></div>
  <script type="text/javascript">
  	var player = jwplayer("ovenmedia-subscriber").setup({
    "aspectratio": "16:9",
    "playbackRateControls": true,
    "plugins": {
        "../../js/webrtcsubscriber-8.20.0.js": {}
    "sources": [
            "appName": "webrtc",
            "file": "stream",
            "live": true,
            "publisher": false,
            "type": "mp4"
            "src": "http://rtc.electroteque.org:1935/webrtc/myStream_360p/playlist.m3u8",
            "type": "application/x-mpegurl"
    "subscriber": {
        "applicationName": "app",
        "debug": true,
        "ovenmedia": {
            "policy": ""
        "server": "ovenmedia",
        "serverURL": "rtc.electroteque.org:3334"
    "width": "100%"