OvenMedia WebRTC Group Call

WebRTC Conferencing master for OvenMediaEngine. Uses rest api for gathering streams.

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.

Note: To feature a participant select them first or add their stream name to the api method arguments.

WebRTC Conferencing configuration for Ovenmediaengine.

Conferencing master participant. Using the conferencing plugin an api is provided to feature and mute a selected participant.

Supplied is a demo rest api node server to obtain available publish stream names via OME rest api. To provide group room features for OME.

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

    
   <div class="flex w-full">
          <div id="ovenmedia-conference-3" class=""></div>
  </div>
  <script type="text/javascript">
  	var player = flowplayer("#ovenmedia-conference-3", {
    "clip": {
        "live": true,
        "sources": [
            {
                "src": "room1-C6Lx6ku6FEXgKtt",
                "type": "application/webrtc"
            }
        ],
        "title": "Participant 1"
    },
    "rtc": {
        "applicationName": "app",
        "autoStartDevice": true,
        "buttons": false,
        "channelName": "data",
        "conference": {
            "container": "#conference-container",
            "master": true
        },
        "dataChannel": true,
        "debug": true,
        "ovenmedia": {
            "apiToken": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJPbmxpbmUgSldUIEJ1aWxkZXIiLCJpYXQiOjE2MzY5MDE2MTQsImV4cCI6MTY2ODQzNzYxNCwiYXVkIjoid3d3LmV4YW1wbGUuY29tIiwic3ViIjoianJvY2tldEBleGFtcGxlLmNvbSIsImNvbW1hbmQiOiJhdmFpbGFibGVTdHJlYW1zIn0.A8spwEH6zcpy8TJB0i31_xa-cg43clGk8VK43sa_ZLQ",
            "policy": "",
            "roomServerURL": "https://rtc.electroteque.org:8444/ome",
            "transportTcp": true
        },
        "preferredCodecs": null,
        "publisher": true,
        "recording": {
            "mimeType": "video/mp4",
            "name": "C6Lx6ku6FEXgKtt",
            "server": true
        },
        "roomName": "room1",
        "seperateScreen": true,
        "server": "ovenmedia-conference",
        "serverURL": "127.0.0.1:3333",
        "verticalMeter": false,
        "wsSecure": false
    },
    "share": false
});

player.on("selectedParticipant", (e, participant) => {
console.log("selected participant", participant);
}).on("unselectedParticipant", (e, participant) => {
console.log("unselected participant", participant);
}).on("participantleft", (e, sender) => {
}).on("participantfeatured", (e, sender) => {
}).on("participantunfeatured", (e, sender) => {
}).on("leaveroom", e => {
}).on("roomjoinfailed", e => {
}).on("existingparticipants", (e, sender) => {
});
  </script>