Setup and testing¶
First client launch and setup¶
-
On first launch, a license agreement will be displayed. Press
OK

-
Then automatic setup wizard will be supposed to launch. Press
No

-
Press
OKin the next window

-
Press
Settingsbutton. OnStreamtab chooseWebRTC Flashphoner Streaming ServerinStream Typedrop-down list. Enter Secure Websocket server URL toWeb Server Namefield, for examplewss://demo.flashphoner.com:8443, and set stream name toServer Roomfield, for exampletest_obs
If necessary, set maximum video resolution onVideotab, the settings are the same as OBS Studio. PressOkto save and apply settings. -
Add media source, local file for example

-
To escape echo while stream publishing, mute all other sound sources excluding media source chosen

Translation is ready to start.
Server setup¶
Enforce bitrate increasing¶
To prevent translation quality decreasing while Full HD stream is publishing, bitrate increasing should be enforced on server side with the following parameters in flashphoner.properties file
In this case publishing bitrate will be held between 3000 kbps and 7000 kbps.
Playback codec configuration¶
By default, for playing WebRTC video stream the same video codec is used with which it is published (VP8), and transcoding on server is not performed.
To use H.264 codec for playback, VP8 can be excluded on browser side using Web SDK stipCodecs option:
playStream = session.createStream({
...
stripCodecs: "VP8"
}).on(STREAM_STATUS.PENDING, function (publishStream) {
...
});
playStream.play();
If H.264 is used for playback, VP8 to H.264 transcoding is performed on server.
WebRTC transport setup¶
By default, OBS WebRTC Client publish a stream using UDP transport. Enable TCP transport to prevent packet loss using the following WCS settings:
Quick testing¶
-
Press Start Streaming button in OBS WebRTC Client, allow Windows Firewall bypassing to application if necessary. Green square in bottom right conner shows that stream is published successfully

-
Open Player example page on server, set stream name
test_obsinStreamfield and pressStart. The stream playback starts
