Versions Compared

Key

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

...

Code Block
languagejs
themeRDark
    ...
    }).on(STREAM_STATUS.UNPUBLISHED, function (stream) {
        setStatus(stream.status());
        showDownloadLink(stream.getRecordInfo());
        onStopped();
    })
    ...

How to play or download recording file

The recording file is available via WCS internal web server using the following link

Code Block
themeRDark
https://test.flashphoner.com:8444/client/records/stream.mp4

Where

  • test.flashphoner.com - WCS server URL
  • stream.mp4 - recording file name

By default, WCS returns HTTP header

Code Block
themeRDark
Content-Disposition: inline;filename="stream.mp4"

in this case, browser tries to play the file. This behaviour is enabled with the following parameter

Code Block
themeRDark
record_response_content_disposition_header_value=inline

To make a browser to download the recording file without playing it, the following parameter should be set

Code Block
themeRDark
record_response_content_disposition_header_value=attachment

Known issues

1. Maximum length of file name in all actual Linux file systems is limited to 255 characters. When record file is created, its name will be trimmed to this limit including extension and part number if rotation is enabled.

...