Versions Compared

Key

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

...

Code Block
themeRDark
record_response_content_disposition_header_value=attachment

Downloading and playing a certain part of a recording file

Since build 5.2.894 it is possible to download and play a certain part of a recording file. To do this, request the file with start time and end time in seconds

Code Block
themeRDark
https://test.flashphoner.com:8444/client/records/stream.mp4?start=11&end=60

Only start time or only end time can be used.

The fragments requested are stored to the same folder where recording files are placed. Timestamps will be added to the fragment name, for example

Code Block
themeRDark
stream-s11-e60.mp4

Such files are not removed after downloading: if the same fragment is requested again, server will send the existing file.

Known limits

1. A partial download and playback is supported for MP4 container only. If webm file is requested, it will be always fully downloaded and played.

2. A partial download and playback is not supported for audio only streams. Such recordings will be always fully downloaded and played.

3. Playback can start slightly earlier if start time is set, depending on closest key frame in the recording file.

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.

...