service:JanusV1.1.3
WebClient:I set tracks mid and mindex when multistream videoroom configure,but its not force
let tracks=;
tracks.push({type:‘video’,
capture:{deviceId:videoDeviceId,height:height,width:width,mid:2,mindex:2},
frameRate:30, recv:false,videoSend: true})
janus.createOffer(
{
tracks:tracks,
success: function (jsep) {
No you cannot. The mid is decided by the browser when a transceiver is added. I’m not sure if you can munge the SDP to force your own, but it sounds like a bad idea to me.
Im sorry that
I want to distinguish between tracks that have been published multiple times and describe their properties, but after publishing, the description and display of the tracks will become the values of the last release. Therefore, I previously considered setting mid and mindex as a way to distinguish between them
Thanks your answer