I user videoroom and foward rtp to streaming plugin; I work ok in only stream ( 1 video, 1 audio);
But when I add one video stream (mid = v2) ; It can’t forward to streaming.
I tried recording the video when creating the room (record = true) and realized it saved 2 video streams (v1, v2).
I don’t understand what parameters I’m missing when relaying rtp like this;
////
const rtpstartdata = {
room: confdata.room,
feed: confdata.feed,
video_port_2: 36468,
video_port: 40715,
audio_port: 5141,
secret: ‘adminpwd’,
host: “127.0.0.1”
}
const response = await janodeManagerHandle.startForward(rtpstartdata);
///
Looking forward to receiving your support, thanks for watching.
If you’re trying to forward a multistream (aka multi m-lines / mids) feed, then you need to use the streams attribute of the request. The video_port_2 is for (legacy API) simulcasting.