...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "uri": "mixer://mixer1", "remoteStreamName": "user2" } |
Frame colour
Since build WCS build 5.2.741 speech indicator frame colour can be changed with the following parameter1858 it is possible to set avatar pictures automatically by stream name, not using REST API. In this case avatar picture files should be placed to the folder
Code Block | ||
---|---|---|
| ||
mixer_voice_activity_colour=#FF0000 |
A colour can be set as hexadecimal value with # or 0x prefix, in #RRGGBB form. Using the settings above, speech indicator frame will be red.
Frame displaying when silence is in a stream
...
avatar_dir=/usr/local/FlashphonerWebCallServer/avatar |
A file name should be equal to stream name. For example, the picture file stream1.png
will be applied to the stream named stream1
. If the stream was added to the mixer automatically, e.g. stream1#mixer1
, the mixer name will not be used to get the picture, only the stream name before #
character.
Warning |
---|
Avatar picture setting with REST API query |
Frame colour
Since build 5.2.741 speech indicator frame colour can be changed with the following parameter
Code Block | ||
---|---|---|
| ||
mixer_voice_activity_switch_delay=500 |
...
colour=#FF0000 |
A colour can be set as hexadecimal value with # or 0x prefix, in #RRGGBB form. Using the settings above, speech indicator frame will still be displayed in 500 milliseconds since be red.
Frame displaying when silence is
...
in
...
a stream
...
By default, this interval is set to 0, frame will be hidden without delay.
Mixer background management
By default, mixer applies black background. Since speech indicator frame may blink at normal participant speech rate, which can be incomfortable for viewing. For this reason, since build 5.2.645775 it is possible to set PNG picture file which will be used as mixer background. For example, to change the background to blue, prepare blue.png picture and set a time interval in which the frame will be displayed since silence is detected in the stream. The feature can be enabled using the following parameter
Code Block | ||
---|---|---|
| ||
mixer_videovoice_activity_backgroundswitch_filenamedelay=blue.png |
Background picture file should be placed to /usr/local/FlashphonerWebCallServer/conf if full path is not set. The file can be placed to any folder on the server, in this case full path to the file should be set to the parameter
Code Block | ||
---|---|---|
| ||
mixer_500 |
In this case, speech indicator frame will still be displayed in 500 milliseconds since silence is detected in the stream.
By default, this interval is set to 0, frame will be hidden without delay.
Mixer background management
By default, mixer applies black background. Since build 5.2.645 it is possible to set PNG picture file which will be used as mixer background. For example, to change the background to blue, prepare blue.png picture and set the following parameter
Code Block | ||
---|---|---|
| ||
mixer_video_background_filename=/opt/media/blue.png |
Background picture will file should be automatically scaled to mixer output stream resolution
placed to /usr/local/FlashphonerWebCallServer/conf if full path is not set. The file can be placed to any folder on the server, in this case full path to the file should be set to the parameter
Code Block | ||
---|---|---|
| ||
mixer_video_background_filename=/opt/media/blue.png |
Background picture will be automatically scaled to mixer output stream resolution
Audio only streams picture aspect ratio management
...
Symptoms: when three or more participants are speaking simultaneously, one of them is less audible then two others
Solution: raise the audio publishing bitrate on client to send more data per one participant
Code Block | ||||
---|---|---|---|---|
| ||||
constraints: {
audio: {
bitrate: 128000
}
} |
and raise Opus encoding bitrate on serverspeaking simultaneously, one of them is less audible then two others
Solution: raise the audio publishing bitrate on client to send more data per one participant
Code Block | ||||
---|---|---|---|---|
| ||||
constraints: {
audio: {
bitrate: 128000
}
} |
and raise Opus encoding bitrate on server
Code Block | ||
---|---|---|
| ||
opus.encoder.bitrate=128000 |
8. An incoming stream will be never encoded in realtime mixer if media traffic is stopped in the stream
Symptoms: an incoming stream freezes in the mixer when media traffic is stopped in the stream, for example, an application window captured by screen sharing is minimized to task bar
Solution: decrease a minimal FPS threshold for mixer incoming streams
Code Block | ||
---|---|---|
| ||
mixer_video_stable_fps_threshold=0 |
9. Mixer output stream bitrate may be unstable when incoming stream bitrate or fps drops
Symptoms: mixer output stream bitrate becomes unstable when incoming stream bitrate or fps drops
Solution: update WCS to build 5.2.1843 or newer and set the parameter
Code Block | ||
---|---|---|
| ||
opus.encoder.bitrate=128000h264_encoder_filler_data_padding=true |