Media Protocol

Ringer protocol is the websocket protocol used by the PhoneApp to talk to the native audio devices.

Messages

The following messages are defined:

Messages

StartRinging

Sent by the PhoneApp. Contains information about all the apps that the user has access to.

{
    "mt": "StartRinging",
    "mode": string,
    "device": string,
    "ringtone": string
}
device
Device selected to play a ringtone.
mode
RingerModeAllowVibrate mode.
ringtone
Ringtone to play.