View Source Membrane.RTC.Engine.Endpoint.HLS.TranscodingConfig (Membrane RTC Engine v0.10.0)
Module representing transcoding configuration for the HLS endpoint.
When enabled, transcoding will unify video framerate and resolution.
Transcoding is useful when consuming tracks with variable parameters i.e. changing resolution and/or framerate (e.g. tracks coming from WebRTC endpoint). Such tracks are often problematic for HLS players as it's hard to ensure video smoothness at parameters change.
Link to this section Summary
Link to this section Types
@type t() :: %Membrane.RTC.Engine.Endpoint.HLS.TranscodingConfig{ enabled?: boolean(), output_framerate: {integer(), integer()}, output_height: integer(), output_width: integer() }
enabled?
- whether to perform transcoding or not,false
by default.output_framerate
- framerate of the output video,{24, 1}
by default.output_width
- resolution width of the output video,1280
by default.output_height
- resolution height of the output video,720
by default.