TrackLocalStaticRTP is a TrackLocal that has a pre-set codec and accepts RTP Packets. If you wish to send a media.Sample use TrackLocalStaticSample.
| 27 | // TrackLocalStaticRTP is a TrackLocal that has a pre-set codec and accepts RTP Packets. |
| 28 | // If you wish to send a media.Sample use TrackLocalStaticSample. |
| 29 | type TrackLocalStaticRTP struct { |
| 30 | mu sync.RWMutex |
| 31 | bindings []trackBinding |
| 32 | codec RTPCodecCapability |
| 33 | payloader func(RTPCodecCapability) (rtp.Payloader, error) |
| 34 | id, rid, streamID string |
| 35 | initalTimestamp *uint32 |
| 36 | initialSeqNumber *uint16 |
| 37 | } |
| 38 | |
| 39 | // NewTrackLocalStaticRTP returns a TrackLocalStaticRTP. |
| 40 | func NewTrackLocalStaticRTP( |
nothing calls this directly
no outgoing calls
no test coverage detected