Additional video stream functionality
Additional video stream functionality
The additional video stream feature in the TrueConf Room API application is designed to enable the simultaneous transmission of multiple video streams from a single participant during a group video conference. This is achieved by running multiple instances of the application (primary and secondary), where each instance connects to its own video source (e.g., webcam or capture card) and synchronizes with the main application instance.
Main Objectives
- Enhancing videoconferencing functionality by adding additional video streams from a single user.
- Automation of the management of secondary applications to ensure their stealth operation and synchronization with the primary application
- Support for scenarios with multiple video sources (e.g., webcam + capture card)
Example of Use
- Scenario: The user has two video sources: a webcam and a capture card connected to a laptop. During the conference, it is necessary to stream both video feeds simultaneously.
- Solution: The primary application is launched with a webcam, while the secondary one connects to a capture card. Both applications log in with the same account and automatically join the same conference, providing two video streams from a single participant.
Start
Manual start
- The primary application should be launched first, followed by the secondary one. This is important for proper functioning.
- To launch the primary application at startup, you need to pass an additional command-line key indicating the identifier of the channel for message exchange. The key used for this is --master.
- To launch the secondary application, an additional key must be passed in the command line at start-up to specify the channel identifier for message exchange. The key --slave is used for this purpose.
- To keep the secondary TrueConf Room API window always hidden, use the command line key --min.
Example of launching the primary application:
C:\Program Files\TrueConf\Room>TrueConfRoom.exe --master=channelNameExample of launching a secondary application:
C:\Program Files\TrueConf\Room>TrueConfRoom.exe --slave=channelNameStarting with Room Service
In this case, everything is configured in the service interface, and no additional actions are required to start it. The service will automatically initiate, pass the necessary parameters, close, etc.
- When the secondary application is closed, the primary application continues to operate.
- When the primary application is closed, the service asynchronously closes all secondary applications and restarts both primary and secondary ones.
Limitations and Features
The secondary application does not connect to video calls (only to group conferences).
The secondary application exits the conference and does not rejoin when the signal from the capture card is lost.
See also: