| Author | SHA1 | Message | Date |
|---|---|---|---|
|
|
49d091510b |
MT#56782 add Opus fmtp answer function
Generate the output fmtp= string based on the preferences received from the opposite side. Also add the required format printing function. Change-Id: I12124efe0b9876c6571bc32c1c45744af80b83d3 |
3 years ago |
|
|
4d708350ee |
MT#56447 add new "media" Janus event
Change-Id: I68404116b40cd52fa2f6c875f710b76041dbffe3 |
3 years ago |
|
|
16c99e9d07 |
MT#56447 output "streams" list with "configured" event
... and adapt tests Change-Id: I25561bd712fcf9c4d53edf7b883230882213878a |
3 years ago |
|
|
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 |
|
|
8f17f140eb |
MT#55283 support generating a=tls-id
RFC 8842 Change-Id: I197e0e80205f6c732c0f8441091c8fda9191e675 |
3 years ago |
|
|
69640dbb13 |
TT#14008 don't use f'' strings in python tests
Older Debians use an older Python that doesn't support these strings Change-Id: Ib097fc5d33539bfa5259a10f83dccf4290d6eedf |
3 years ago |
|
|
aab897d62e |
TT#14008 websockets test: skip tests if version is not supported
related to #1497 #1549 Change-Id: I2a9922e6758011f220393aa927c992ed2374ee24 |
3 years ago |
|
|
72dad51a10 |
TT#14008 websockets test: expose the real problem when connecting
related to #1497 #1549 > ====================================================================== > ERROR: setUpClass (__main__.TestWSJanus) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/code/t/auto-daemon-tests-websocket.py", line 114, in setUpClass > eventloop.run_until_complete(get_ws(cls, "janus-protocol")) > File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete > return future.result() > File "/code/t/auto-daemon-tests-websocket.py", line 23, in get_ws > cls._ws = await connect( > File "/usr/lib/python3/dist-packages/websockets/legacy/client.py", line 622, in __await_impl__ > transport, protocol = await self._create_connection() > File "/usr/lib/python3.10/asyncio/base_events.py", line 1089, in create_connection > transport, protocol = await self._create_connection_transport( > File "/usr/lib/python3.10/asyncio/base_events.py", line 1107, in _create_connection_transport > protocol = protocol_factory() > File "/usr/lib/python3/dist-packages/websockets/legacy/client.py", line 160, in __init__ > super().__init__(**kwargs) > File "/usr/lib/python3/dist-packages/websockets/legacy/protocol.py", line 154, in __init__ > self._drain_lock = asyncio.Lock( > File "/usr/lib/python3.10/asyncio/locks.py", line 78, in __init__ > super().__init__(loop=loop) > File "/usr/lib/python3.10/asyncio/mixins.py", line 17, in __init__ > raise TypeError( > TypeError: As of 3.10, the *loop* parameter was removed from Lock() since it is no longer necessary > > ---------------------------------------------------------------------- Change-Id: I3178c54ed7eb40b9cc06769c1f1e237e0d58f966 |
3 years ago |
|
|
5d33a420a6 |
TT#14008 websockets test: update for Python 3.10
* Use an explicitly created global event loop * Await websocket connection closure Relevant to #1497 Change-Id: I600189f5383ca7e5da8b45460508c1ddcddede0b |
4 years ago |
|
|
54ee927773 |
TT#14008 fix websockets test for older python3
Don't use f'' strings and use .group() instead of [] for RE substring matches. Closes #1433 Change-Id: I464c6eb063702c90c2308598927e7db8358703d1 |
4 years ago |
|
|
792b736f10 |
TT#14008 fix test case for older libwebsockets
Change-Id: If8ef0ec2289541d7ebba3fe2c386e02556461bf8 |
4 years ago |
|
|
2130e2f62b |
TT#89352 support Janus control protocol
Change-Id: I0a6d5fc93c5fa505390408043feeca3f5cf61181 |
5 years ago |