Hello
You can use REST API to create a load test with WebRTC as RTMP re-publishing.
See following methods:
- /push/startup
- /push/terminate
- /push/find
- /push/find_all
Therefore you can publish 1 stream to server, for example using Two Way Streaming example:
https://wcs5-eu.flashphoner.com/demo2/two-way-streaming
Then you will able to re-publish this stream to RTMP one or many times using /push/startup method
For test you have to use following setting in flashphoner.properties:
Code:
rtmp_transponder_full_url=true
Then you will be able to push several streams, for example streamA, streamB, streamC, etc.
Code:
/push/startup
{
"streamName":"stream1",
"rtmpUrl":"rtmp://host:1935/live/streamA"
}
/push/startup
{
"streamName":"stream1",
"rtmpUrl":"rtmp://host:1935/live/streamB"
}
/push/startup
{
"streamName":"stream1",
"rtmpUrl":"rtmp://host:1935/live/streamC"
}
If you need a real load test one-to-one, where stream1 is republished as streamA, stream2 as streamB, etc, you have to setup 1) Load Linux server with Chrome 2) Load RTMP server, which receives streams. It can be WCS too.
Here you can find docs how we setup our load tests for players (subscribers load test):
https://flashphoner.com/docs/wcs5/w...g-load_testing-load_from_different_server.htm