Skip to content

Commit

Permalink
Flatten advertise_media structure a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
dbkr committed Mar 8, 2023
1 parent daf7405 commit c62296c
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions doc/mid-based-signalling.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,18 +127,18 @@ m.call.answer (focus)
"m.call.dtmf": false,
},
"m.call.advertise_media": {
"alice:example.org": { // user ID
"88888888": { // device ID
"2345-2345-234567-2345-2345": [{ // media group uuid
"media_uuid": "aaaa-aaaa-aaaaaa-aaaa-aaaa":
"purpose": "m.usermedia",
"kind": "video",
}, {
"media_uuid": "bbbb-bbbb-bbbbbb-bbbb-bbbb":
"purpose": "m.usermedia",
"kind": "audio",
},
},
"2345-2345-234567-2345-2345": { // media group uuid
"user_id": "alice:example.org",
"device_id": "88888888",
media: [{
"media_uuid": "aaaa-aaaa-aaaaaa-aaaa-aaaa":
"purpose": "m.usermedia",
"kind": "video",
}, {
"media_uuid": "bbbb-bbbb-bbbbbb-bbbb-bbbb":
"purpose": "m.usermedia",
"kind": "audio",
}],
}
},
}
Expand Down

0 comments on commit c62296c

Please sign in to comment.