...
Name | Description | Example |
---|---|---|
roomName | Room name | ROOM1 |
participants | Participants list | [] |
nickName | User name | User1 |
outgoingTracks | Streams publishing list | [] |
incomingTracks | Streams playing list | {} |
id | Mediasession id | 9de9107c-ce5f-4d6b-b7d6-ea233d691d09 |
codec | Video or audio codec | H264 |
width | Video width | 1280 |
heigth | Video height | 720 |
fps | Video FPS | 30 |
bitrate | Video or audio bitrate, bps | 265368 |
sampleRate | Audio sample rate, Hz | 48000 |
channels | Audio channels count | 2 |
alive | Is stream active | true |
type | Stream type | VIDEO |
composite | Stream includes a set of tracks | true |
tracks | Tracks list in composite stream | {} |
SFU streams availablility as WCS streams
Since build 5.2.1068 it is possible to bridge SFU streams to WCS as usual WebRTC streams. This feature is enabled by default with the following parameter
Code Block | ||
---|---|---|
| ||
sfu_bridge_enabled=true |
In this case, for every participant video stream will be available as{room}-{participant}-VIDEO
and audio stream will be available as {room}-{participant}-AUDIO
. Those streams are visible in statistics page
Code Block | ||
---|---|---|
| ||
-----Stream Stats-----
...
streams_viewers=ROOM1-User1-AUDIO/0;ROOM1-User1-VIDEO/0
streams_synchronization=ROOM1-User1-AUDIO/0;ROOM1-User1-VIDEO/0 |
may be played from server
may be recorded by REST API or added to mixer.
When screen is published, it is available as {room}-{participant}-VIDEO-screen
, for example
Code Block | ||
---|---|---|
| ||
-----Stream Stats-----
...
streams_viewers=ROOM1-User1-AUDIO/0;ROOM1-User1-VIDEO-screen/0;ROOM1-User1-VIDEO/0
streams_synchronization=ROOM1-User1-AUDIO/0;ROOM1-User1-VIDEO-screen/0;ROOM1-User1-VIDEO/0 |
If SFU stream is published in a number of qualities, it will be available at WCS side as maximum quality stream which is publishing, for example 720p. If this quality is stopped (for example, participant channel becomes worse), WCS stream will be automatically switched to the next available quality, fro example 360p.
Known limits
If participant publishes more than one stream from camera, only the first published stream will be available at WCS side.