I have what I'd describe as a fairly rudimentary understanding of Janus, Have an application where I've successfully displayed 3 concurrent video streams in separate iframes. Streams originate from 3 cameras on a locally connected raspberry pi using Gstreamer. Streaming config file has 3 separate mountpoints e.g.
h264-ExploreHD: {
type = "rtp"
id = 6
description = "H.264 live stream coming from ExploreHD Camera"
audio = false
video = true
videoport = 8006
videopt = 126
videortpmap = "H264/90000"
videofmtp = "profile-level-id=42e01f;packetization-mode=1"
}
I have tried unsuccessfully to create a Multistream configuration with no success - expect I'm missing something obvious - not to me :-) I simply added a multistream section to the config file per below and used the multistream demo html/JS code. I did not change any of the core files. First and obvious problem is that the returned stream list does not contain the multistream test entry below.
- {streaming: 'list', list: Array(6)}
- list: Array(6)
- 0: {id: 1, type: 'live', description: 'Opus/VP8 live stream coming from external source', metadata: 'You can use this metadata section to put any info you want!', enabled: true, …}
- 1: {id: 2, type: 'live', description: 'a-law file source (radio broadcast)', enabled: true}
- 2: {id: 3, type: 'on demand', description: 'mu-law file jim source (music)', enabled: true}
- 3: {id: 4, type: 'live', description: 'H.264 live stream coming from Blue Rov', enabled: true, video_age_ms: 15}
- 4: {id: 5, type: 'live', description: 'H.264 live stream coming from Pi Camera', enabled: true, video_age_ms: 20}
- 5: {id: 6, type: 'live', description: 'H.264 live stream coming from ExploreHD Camera', enabled: true, video_age_ms: 26}
Hoping for some guidance. Thanks.
multistream-test: {
type = "rtp"
id = 7
description = "Multistream test (3 video)"
metadata = "This is an example of a multistream mountpoint: you'll get $
media = (
{
type = "video"
mid = "v1"
label = "Blue Robotics"
port = 8004
pt = 126
rtpmap = "H264/90000"
fmtp = "profile-level-id=42e01f;packetization-mode=1"
},
{
type = "video"
mid = "v2"
label = "Pi Cam"
port = 8005
pt = 126
rtpmap = "H264/90000"
fmtp = "profile-level-id=42e01f;packetization-mode=1"
},
{
type = "video"
mid = "v3"
label = "Video stream #2"
port = 8006
pt = 126
rtpmap = "H264/90000"
fmtp = "profile-level-id=42e01f;packetization-mode=1"
}
)
secret = "adminpwd"
}