Versions Compared

Key

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

Example of streamer with recording of published video stream

This streamer can be used to publish and record WebRTC streams on Web Call Server

...

While publishing, video from the camera is played in 'My Video'.
When streaming is stopped, recording of the video stream becomes available for downloading and playback in the player on the right side of the page.

Code of the example

The path to the source code of the example on WCS server is:

...

Here host is the address of the WCS server.

Work with code of the streamer

To analyze the code, let's take the version of file recording.js with hash 51703a2, which is available here and can be downloaded with corresponding build 0.5.28.2753.141.

...