Rename media.go -> rtctrack.go

Relates to #312
This commit is contained in:
Sean DuBois
2019-01-24 00:03:16 -08:00
parent fc275ba7ed
commit 7b44d7ca70

22
rtctrack.go Normal file
View File

@@ -0,0 +1,22 @@
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
}