Membrane.RTC.Engine.Track.new
You're seeing just the function
new
, go back to Membrane.RTC.Engine.Track module for more information.
Specs
new(:audio | :video, stream_id :: String.t(), id: String.t(), encoding: encoding(), format: format(), fmtp: ExSDP.Attribute.FMTP, metadata: any(), ctx: map() ) :: t()
Creates a new track.
Tracks belonging to the same stream should have the same stream_id
,
that can be generated with stream_id/0
.