Janus Gatewat V1.1.3 VideoRoom configure mid mindex un

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) {

        let publish ={
            "request": "configure",
            "video": true,
            "audio": false,
            display:"test",
          }

janus.send({ message: publish, jsep: jsep });

           // publish + offer sdp
		},
		error: function (error) {
			Janus.error("WebRTC error:", error);
			
		}
    });

The browser decides which mid to assign, not you. mindex is the order in the SDP, you don’t get to choose that either.

I don’t want the browser to specify mid. Can I modify SDP settings for mid when publishing video streams

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