Media Protocol

Media protocol is the websocket protocol used by the PhoneApp to talk to the native media protocol.

Messages

The following messages are defined:

Messages

AllocChannel

Sent by the PhoneApp. Used to alloc a media channel.

{
    "mt": "AllocChannel",
    "iceServers": [Server],
    "stunSlow": string
}
iceServers
An array of the available iceServers, turn and stun.
stunSlow
stunSlow feature.