MOQX.Object (moqx v0.8.1)

Copy Markdown View Source

One protocol-neutral media object.

Stream and object coordinates are shared by publication and subscription. timestamp is an independent value expressed in the published track's timescale; protocols without timestamps leave it nil. subscription is populated on inbound delivery and remains nil for an outbound object supplied to a published track.

Summary

Types

t()

@type t() :: %MOQX.Object{
  end_of_group?: boolean() | nil,
  extensions: [MOQX.Extension.t()] | nil,
  group_id: non_neg_integer(),
  object_id: non_neg_integer(),
  payload: binary(),
  publisher_priority: 0..255 | nil,
  status: :object_does_not_exist | :end_of_group | :end_of_track | nil,
  subgroup_id: non_neg_integer() | nil,
  subscription: MOQX.Subscription.t() | nil,
  timestamp: non_neg_integer() | nil
}