Membrane.RTC.Engine.Track.new

You're seeing just the function new, go back to Membrane.RTC.Engine.Track module for more information.
Link to this function

new(type, stream_id, opts \\ [])

View Source

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.