Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Since build 5.2.607 real-time stream mixer function is added. This function with MCU support is designed for real-time video confereincing. Unlike the previous implementation, a real-time mixer does not stop the output stream when some of incoming streams is late (usually due to packet loss or channel interference), and does not wait for bad quality stream to restore.

Configuration

Real-time mixer is enabled by default

mixer_realtime=true

Mixer automatic creation when publishing a stream named like user1#room1 is also enabled by default

mixer_auto_start=true

For conferencing, MCU support should be enabled

mixer_mcu_audio=true
mixer_mcu_video=true

It is recommended to reduce mixer idle timeout

mixer_idle_timeout=10000

Stream name and speech indicator displaying in stream picture caption can be enabled if necessary

mixer_display_stream_name=true

The rest of mixer settings are aslo supported. Note that it is not recommended to enable custom losless video processor because rel-time mixer functions will not work in this case.

Real-time mixer tuning

Real-time mixer can be tuned using the following parameters

Parameter

Default value

Description

mixer_audio_silence_threshold-50.00Incoming stream audio silence level in Db
mixer_debug_modefalseAdds some debug info to stream picture caption

mixer_in_buffering_ms

200

Incoming stream video buffer in milliseconds

mixer_incoming_time_rate_lower_threshold0.95Relative incoming stream time to mixer time rate lower threshold
mixer_incoming_time_rate_upper_threshold1.05Relative incoming stream time to mixer time rate upper threshold
mixer_video_stable_fps_threshold15Incoming stream FPS threshold, video buffer will be disabled for streams with low fps

Testing

1. For test we use

2. Open MCU Client web application page. Enter user name user1 and room name room1

2. Click Join. A stream from your web camera will be published and added to mixer, then mixer output stream will be displayed without your microphone audio

3. Open MCU Client application page in another brower tab/browser/PC. Enter user name user2 and room name room1

4. Click Join. A stream from your web camera will be published and added to mixer, then mixer output stream will be displayed with videos from both users but audio from user1 only

5. On user1 page two videos also are playing with user2 audio only

6. Click Leave to leave the room in both tabs/browsers

Call flow

Call flow for conferencing example based on real-time mixer with MCU function is described on MCU Client page.


  • No labels