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

Defines the RTMP setDataFrame command.

Link to this section Summary

Link to this section 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()

Link to this section Functions

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