Files
webrtc/rtctrack.go
Sean DuBois 7b44d7ca70 Rename media.go -> rtctrack.go
Relates to #312
2019-01-27 21:12:08 -08:00

23 lines
497 B
Go

package webrtc
import (
"github.com/pions/webrtc/pkg/media"
"github.com/pions/webrtc/pkg/rtcp"
"github.com/pions/webrtc/pkg/rtp"
)
// RTCTrack represents a track that is communicated
type RTCTrack struct {
ID string
PayloadType uint8
Kind RTCRtpCodecType
Label string
Ssrc uint32
Codec *RTCRtpCodec
Packets <-chan *rtp.Packet
RTCPPackets <-chan rtcp.Packet
Samples chan<- media.RTCSample
RawRTP chan<- *rtp.Packet
isRawRTP bool
}