Skip to content

Commit ed37a0d

Browse files
committed
add purpose from #3077
1 parent b90b85e commit ed37a0d

File tree

1 file changed

+24
-5
lines changed

1 file changed

+24
-5
lines changed

proposals/3401-group-voip.md

+24-5
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,22 @@ For instance:
127127
"name": "Webcam", // optional, just to help users understand what multiple streams from the same person mean.
128128
"device_id": "ASDUHDGFYUW", // just in case people ending up dialing this directly for full mesh or 1:1
129129
"audio": [
130-
{ "id": "zbhsbdhwe", "format": { "channels": 2, "rate": 48000, "maxbr": 32000 } },
130+
{
131+
"id": "zbhsbdhwe",
132+
"purpose": "m.usermedia",
133+
"format": { "channels": 2, "rate": 48000, "maxbr": 32000 } },
131134
],
132135
"video": [
133-
{ "id": "zbhsbdhzs", "format": { "res": { "width": 1280, "height": 720 }, "fps": 30, "maxbr": 512000 } },
134-
{ "id": "zbhsbdhzx", "format": { "res": { "width": 320, "height": 240 }, "fps": 15, "maxbr": 48000 } },
136+
{
137+
"id": "zbhsbdhzs",
138+
"purpose": "m.usermedia",
139+
"format": { "res": { "width": 1280, "height": 720 }, "fps": 30, "maxbr": 512000 }
140+
},
141+
{
142+
"id": "zbhsbdhzx",
143+
"purpose": "m.usermedia",
144+
"format": { "res": { "width": 320, "height": 240 }, "fps": 15, "maxbr": 48000 }
145+
},
135146
],
136147
"mosaic": {}, // for composited video streams?
137148
},
@@ -140,8 +151,16 @@ For instance:
140151
"name": "Screenshare", // optional
141152
"device_id": "ASDUHDGFYUW",
142153
"video": [
143-
{ "id": "xhsbdhzs", "format": { "res": { "width": 1280, "height": 720 }, "fps": 30, "maxbr": 512000 } },
144-
{ "id": "xbhsbdhzx", "format": { "res": { "width": 320, "height": 240 }, "fps": 15, "maxbr": 48000 } },
154+
{
155+
"id": "xhsbdhzs",
156+
"purpose": "m.screenshare",
157+
"format": { "res": { "width": 1280, "height": 720 }, "fps": 30, "maxbr": 512000 }
158+
},
159+
{
160+
"id": "xbhsbdhzx",
161+
"purpose": "m.screenshare",
162+
"format": { "res": { "width": 320, "height": 240 }, "fps": 15, "maxbr": 48000 }
163+
},
145164
]
146165
},
147166
]

0 commit comments

Comments
 (0)