HLS Streaming can be used to live stream your video conferencing apps in a cost effective way.
The HLS stream will be a adaptive stream and have a latency of 8-10 seconds as compared to live.
100ms SDK logs should be logged to console for the webapp url provided above. The SDK logs will be analysed to detect any room join failures and retries will be attemped to fix the same. If SDK logs are not enabled then the server will stop recording/streaming and return error (after fixed number of retries).
The room id of the room which we need to start streaming
Yes
variants
array
List of objects of type variants
Yes
recording
object
Recording configuration
No
variants
Name
Type
Description
Required
meeting_url
string
Single click meeting url which we need to start streaming (see below for more details)
Yes
meeting_url
This is a url which lands into the meeting directly. If you are using 100ms apps then this will be like - https://<domain>.app.100ms.live/preview/<room_id>/<role>?token=beam_recording. Example - https://myname.app.100ms.live/preview/61101349d0f56e684b608c08/beam?token=beam_recording
By default recordings will be uploaded to 100ms storage and a presigned URL for the same will be provided to customers via a webhook. The presigned url will expire in 72hours.
Customers can also configure the recordings to be stored in their cloud storage. The configuration for the same can be provided when creating the room.
If Pause/UnPause was triggered for recording, those intervals will be trimmed out and the edited recording will be uploaded to the storage.
Recording mp4 will be placed at - s3://<location>/<prefix>/hls/<room_id>/<start_date>/<epoch>/file-recording/Rec-<room_id>-<epoch>-<layer>.mp4.
Example s3://test-bucket/test-prefix/hls/61101349d0f56e684b608c08/20210721/1626898422000/file-recording/Rec-61101349d0f56e684b608c08-1626898422000-0.mp4
Recording vod playlist will be placed at - s3://<location>/<prefix>/hls/<room_id>/<start_date>/<epoch>/hls-vod/Rec-<room_id>-<epoch>.zip.
Example s3://test-bucket/test-prefix/hls/61101349d0f56e684b608c08/20210721/1626898422000/hls-vod/Rec-61101349d0f56e684b608c08-1626898422000.zip