| Author | SHA1 | Message | Date |
|---|---|---|---|
|
|
837c024b5f |
MT#56447 support multiple Janus subs in one req
According to:
{
"request" : "join",
"ptype" : "subscriber",
"room" : <unique ID of the room to subscribe in>,
"use_msid" : <whether subscriptions should include an msid that references the publisher; false by default>,
"autoupdate" : <whether a new SDP offer is sent automatically when a subscribed publisher leaves; true by default>,
"private_id" : <unique ID of the publisher that originated this request; optional, unless mandated by the room configuration>,
"streams" : [
{
"feed" : <unique ID of publisher owning the stream to subscribe to>,
"mid" : "<unique mid of the publisher stream to subscribe to; optional>"
"crossrefid" : "<id to map this subscription with entries in streams list; optional>"
// Optionally, simulcast or SVC targets (defaults if missing)
},
// Other streams to subscribe to
]
}
{
"videoroom" : "attached",
"room" : <room ID>,
"streams" : [
{
"mindex" : <unique m-index of this stream>,
"mid" : "<unique mid of this stream>",
"type" : "<type of this stream's media (audio|video|data)>",
"feed_id" : <unique ID of the publisher originating this stream>,
"feed_mid" : "<unique mid of this publisher's stream>",
"feed_display" : "<display name of this publisher, if any>",
"send" : <true|false; whether we configured the stream to relay media>,
"ready" : <true|false; whether this stream is ready to start sending media (will be false at the beginning)>
},
// Other streams in the subscription, if any
]
}
Change-Id: Ieb38d4f562686283457a963334056b27927be974
|
3 years ago |
|
|
38c1f239bf |
MT#56447 split out function to join a Janus sub
functional no-op change Change-Id: Ia09dc39e338c7300066cd20bccb300d07d69e002 |
3 years ago |
|
|
9f7f869478 |
MT#56447 allow Janus configure without feed/room
Use the handle_id to determine which feed to configure, and don't require a room_id to be given. Change-Id: I8822fcb775707ae5c8c84c51539fb090ba58f228 |
3 years ago |
|
|
5f5bea9a58 |
MT#56447 allow Janus handles to take multiple roles
Apparently Janus allows a single handle to be both controller and publisher, and possibly also both publisher and subscriber. Remove the limitation that forces one handle to only take one role. Change-Id: I22c20981a213b84d06dad07b1ff634bfd024fd91 |
3 years ago |
|
|
50b8f54bcf |
TT#155900 add `RTCP mirror` flag
Change-Id: I0dbf329edc4320d63f46028bc4e26b08f5f691e3 |
4 years ago |
|
|
e59c062108 |
TT#14008 allow ICE reset only during an offer
Change-Id: Ic2daaeba4d14867ffc96ab13f1d9493082ce0bd2 |
4 years ago |
|
|
a7e22ba698 |
TT#147451 add support for multi-ml subscriptions
Change-Id: I1ff9861840bc743068eac2cd18d81990d44acdc9 |
4 years ago |
|
|
4cbeb15c07 |
TT#147451 obsolete necessity for `from-tag` in unsub/sub ans
Change-Id: I409dbfb032265d0da39bff4cb63bf6dd5388cde4 |
4 years ago |
|
|
23d0dad18f |
TT#124273 fix typos detected by lintian
Change-Id: I5b0636ba18dc0e2a1fc888e94cf44cbd20a103ea |
4 years ago |
|
|
c7085085a7 |
TT#14008 fix lock order between janus_session and websocket_conn
Make sure janus_session lock is obtained first and websocket_conn lock second, in order to prevent a possible deadlock. Change-Id: I3db1d5cea0c0295cc10c71edd20c86ce054f520b Warned-by: Coverity |
4 years ago |
|
|
e82be64a57 |
TT#14008 remove logically dead code
Change-Id: If8ca08c997c715a98a89376f098393dc04f685a9 Warned-by: Coverity |
4 years ago |
|
|
1c5433a877 |
TT#14008 fix Coverity MISSING_LOCK warning
This isn't really necessary as at this point the janus_session object is private to the thread, but we add the locking anyway to silence the warning. Warned-by: Coverity Change-Id: I0b192f2f5827ad917cf5110ce486fc6cd49e1a71 |
4 years ago |
|
|
2130e2f62b |
TT#89352 support Janus control protocol
Change-Id: I0a6d5fc93c5fa505390408043feeca3f5cf61181 |
5 years ago |