ExWebRTC.Recorder.Manifest (ex_webrtc_recorder v0.2.1)

View Source

Lists the tracks recorded by a specific Recorder instance.

Summary

Types

Location of a manifest entry.

t()

Types

location()

@type location() :: String.t()

Location of a manifest entry.

Can be one of the following:

  • Local path, e.g. "foo/bar/recording.webm"
  • URL with the file:// scheme, e.g. "file:///baz/qux/recording.webm"
  • URL with the s3:// scheme, e.g. "s3://my-bucket-name/abc/recording.webm"

t()

@type t() :: %{required(ExWebRTC.MediaStreamTrack.id()) => track_manifest()}

track_manifest()

@type track_manifest() :: %{
  start_time: DateTime.t(),
  kind: :video | :audio,
  streams: [ExWebRTC.MediaStreamTrack.stream_id()],
  rid_map: %{required(ExWebRTC.MediaStreamTrack.rid()) => integer()},
  location: location()
}