View Source Membrane.RTMP.Messages.SetDataFrame (Membrane RTMP plugin v0.27.3)

Defines the RTMP setDataFrame command.

Summary

Types

@type t() :: %Membrane.RTMP.Messages.SetDataFrame{
  audio_codec_id: number(),
  audio_data_rate: number(),
  audio_sample_rate: number(),
  audio_sample_size: number(),
  duration: number(),
  encoder: term(),
  file_size: number(),
  framerate: number(),
  height: number(),
  stereo: boolean(),
  video_codec_id: number(),
  video_data_rate: number(),
  width: number()
}

Functions

@spec new([{String.t(), any()}]) :: t()