mirror of
https://github.com/pion/webrtc.git
synced 2025-10-29 18:01:56 +08:00
22
rtctrack.go
Normal file
22
rtctrack.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user