WebRTC Selective Forwarding Unit
{
"type": "connect",
"name": "room",
"data": {
"room": "name"
}
}
{
"type": "connect",
"name": "roomResponse",
"data": {
"room": "name",
"id" : "ClientId"
}
}
{
"type": "conference",
"name": "join",
"data": {
"room": "name",
"id": "ClientId"
}
}
{
"type": "conference",
"name": "joinResponce",
"data": {
"id": "ClientId",
"room": "name"
}
}
{
"type": "conference",
"name": "peerJoin",
"data": {
"id": "ClientId",
"room": "name"
}
}
{
"type": "conference",
"name": "leave",
"data": {
"room": "name",
"id": "ClientId"
}
}
{
"type": "conference",
"name": "leaveResponce",
"data": {}
}
{
"type": "conference",
"name": "peerLeave",
"data": {
"id": "ClientId",
"room": "name"
}
}
{
"type": "signal",
"name": "sdp",
"data": {
"room": "name",
"sdp": "string",
"id": "ClientId"
}
}
{
"type": "signal",
"name": "trickle",
"data": {
"room": "name",
"candidate": "string",
"id": "ClientId"
}
}
####Server -> Broadcast Peers
{
"type": "signal",
"name": "renegotiation",
"data": {
"room": "name",
"sdp": "string",
"id": "ClientId"
}
}
{
"type": "signal",
"method": "join",
"data": {
"sid": "sid:string",
"uid": "uid:string",
"offer": "sdp:string"
}
}
{
"type": "system",
"name": "peerDisconnected",
"data": {
"id": "ClientId",
"room": "name"
}
}
{
"type": "system",
"name": "ping",
"data": {
}
}
{
"type": "system",
"name": "pong",
"data": {
}
}