Skip to content
  • Michael MacDonald's avatar
    8cbd8b07
    Allow Raw RTP input to RTCTrack · 8cbd8b07
    Michael MacDonald authored
    Resolves #212
    
    Support forwarding packets from existing RTP streams. Adds
    the following new methods to RTCPeerConnection:
      * NewRawRTPTrack() -- expects a non-zero SSRC and accepts
        a stream of *rtp.Packet from an existing RTP stream
      * NewRTCSampleTrack() -- generates an SSRC and accepts
        a stream of media.RTCSample
    
    Deprecates NewRTCTrack() in favor of NewRTCSampleTrack().
    
    Exposes a new RawRTP channel on *RTCTrack instances which
    accepts *rtp.Packet.
    8cbd8b07
    Allow Raw RTP input to RTCTrack
    Michael MacDonald authored
    Resolves #212
    
    Support forwarding packets from existing RTP streams. Adds
    the following new methods to RTCPeerConnection:
      * NewRawRTPTrack() -- expects a non-zero SSRC and accepts
        a stream of *rtp.Packet from an existing RTP stream
      * NewRTCSampleTrack() -- generates an SSRC and accepts
        a stream of media.RTCSample
    
    Deprecates NewRTCTrack() in favor of NewRTCSampleTrack().
    
    Exposes a new RawRTP channel on *RTCTrack instances which
    accepts *rtp.Packet.
Loading