ExRTMP.Message.Command.NetStream.Publish (RTMP Server and Client v0.4.1)

View Source

Struct representing a "publish" command message for RTMP NetStream.

Summary

Types

publishing_type()

@type publishing_type() :: :live | :record | :append

t()

@type t() :: %ExRTMP.Message.Command.NetStream.Publish{
  name: String.t(),
  transaction_id: number(),
  type: publishing_type()
}

Functions

new(name, type)

@spec new(String.t(), String.t()) :: t()