Date: Thu, 28 Mar 2024 18:52:14 +0100 (CET) Message-ID: <1794919299.47165.1711648334282@docs.flashphoner.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_47164_415872994.1711648334282" ------=_Part_47164_415872994.1711648334282 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
1. For the test we use:
2. Run the RTMP stream broadcast program. Configure and start broadcasti=
ng to your WCS server using the following parameters:
URL of the server:=
http://demo.flashphoner.com:1935/live/
Stream key: obsStream
3. Open the REST client. Send the /call/startup query to the WCS server,= and in the query parameters specify the following:
4. Receive the call in the softphone:
5. From the REST client send the /call/inject_stream query to the WCS se= rver and specify the following parameters:
Make sure the audio track of the broadcast can be heard in the softphone= .
6. To terminate the call, click the corresponding button in the softphon= e.
VOD stream fro= m file can be injected to SIP call. If there is video in file, and hasVideo= parameter set for the call, video also will be injected. To do this, file = name should be set as strem name:
{ "callId":"123456711", "streamName": "vod://file.mp4" }=20
To stop stream injection to SIP call, send the followin REST query
/call/inject_stream= /terminate { "callId":"123456711" }=20