I think i might be missing something from the documentaions both on Streaming plugin and videoroom plugin. I am new to janus and webrtc trying to learn how it works.
I am trying to forward rtp streams from videoroom to streamplugin with simulcasting on:
stream mount point:
{
request: 'create',
id: streamID,
type: 'rtp',
name: 'new_room',
description: 'Bubble (' + roomID + ')',
data: false,
is_private: false,
videosimulcast: true,
media: [{
type: "audio",
mid: "0",
port: audioPort,
pt: 111,
label: "Audio stream",
codec: "opus"
}, {
type: "video",
mid: "1",
port: videoPort,
label: "Video stream",
pt: 100,
codec: "vp8"
}]
}
rtp_forward:
{
request: 'rtp_forward',
room: roomId,
publisher_id: publisher_id,
host: mountPosintip,
streams: [{
mid: '0',
port: aport
},
{
mid: '1',
port: vport,
simulcast: true
}
],
}
I do not get video in the streaming plugin, only audio. I start getting video when i open the video room in the videoroom plugin. But when i close it it also disapear after some times. Also i cannot change to High/Medium streams.