Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

6. To terminate the call, click the corresponding button in the softphone.

Injecting stream from file

VOD stream from 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:

Code Block
languagejs
themeRDark
{
  "callId":"123456711",
  "streamName": "vod://file.mp4"
}

Stopping stream injection

To stop stream injection to SIP call, send the followin REST query

Code Block
languagejs
themeRDark
/call/inject_stream/terminate
{
  "callId":"123456711",
  "streamName": "vod://file.mp4"
}