...
REST methods and response statuses
REST method | Example of REST query | Example of response | Response statuses | Description | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|
/mixer/test/start |
| 200 - OK 500 - Internal error | Start the test | ||||||||
/mixer/test/stop |
| 200 - OK 404 - Mixer not found 500 - Internal error | Stop the test | ||||||||
/mixer/test/get_start_example |
| 200 - OK 500 - Internal error | Return JSON object sample to pass to /mixer/test/start method |
Parameters
Parameter name | Description | Example |
---|---|---|
feedingSteams | Stream published list to participate in test | ["s1","s2","s3","s4"] |
mixerCount | Number of mixers created | 2 |
streamsInMixer | Number of streams fed to each mixer input | 2 |
intervalInSeconds | Interval in seconds to destroy mixers and create them again | 60 |
Configuration
To test mixer perfomance under high load, asynchronous media session disconnection (which is enabled by default) should be disabled
Code Block | ||
---|---|---|
| ||
handler_async_disconnect=false |
WCS should be restarted to apply.
When test is finished, this setting must be removed from configuration file.
Testing
1. For test we use:
...