...
2. If there are no *.mix
and *.desktopmix
descriptors for a certain number of participants, the tool will generate a picture file with _fallback
suffix using a standard mixer layout from WCS settings.
Standard layouts implementation in XML markup language
The following archive file Layouts.tar.gz
contains examples of standard mixer layouts implementation compatible with WCS builds since 5.2.1094 and newer
View file |
---|
name | Layouts.tar.gz |
---|
height | 250 |
---|
|
The archive contains the following folders:
- GridLayout - grid layout implementation with paddings
Image Added
- CenterNoPaddingGridLayout - grid layout implementation with no paddings between picture frames
Image Added
- СropNoPaddingGridLayout - grid layout implementation with no paddings between picture frames and images crop
Image Added
- samples - mixer output picture samples folder
Usage
1. Unpack the archive to /opt folder
Code Block |
---|
|
cd /opt
tar -xzf ~/Layouts.tar.gz |
2. Set default layout in flashphoner.properties file as needed
Code Block |
---|
|
mixer_layout_dir=/opt/GridLayout |
or set the layout while creating a mixer by REST API
Code Block |
---|
|
POST /rest-api/mixer/startup HTTP/1.1
Host: localhost:8081
Content-Type: application/json
{
"uri": "mixer://mixer1",
"localStreamName": "mixer1_stream",
"hasVideo": true,
"hasAudio": true,
"mixerLayoutDir": "/opt/CenterNoPaddingGridLayout"
} |