mirror of
https://github.com/pion/webrtc.git
synced 2024-05-03 11:54:53 +08:00
70fb90c7fd
When a new SSRC is seen we start a Read loop for the packets. However if we only see one packet this loop will just sit forever. If a user doesn't send us enough packets to finish probing it will prevent any subsequent streams from being probed. Relates to #1345
18 lines
641 B
Go
18 lines
641 B
Go
// Package webrtc implements the WebRTC 1.0 as defined in W3C WebRTC specification document.
|
|
package webrtc
|
|
|
|
// SSRC represents a synchronization source
|
|
// A synchronization source is a randomly chosen
|
|
// value meant to be globally unique within a particular
|
|
// RTP session. Used to identify a single stream of media.
|
|
//
|
|
// https://tools.ietf.org/html/rfc3550#section-3
|
|
type SSRC uint32
|
|
|
|
// PayloadType identifies the format of the RTP payload and determines
|
|
// its interpretation by the application. Each codec in a RTP Session
|
|
// will have a different PayloadType
|
|
//
|
|
// https://tools.ietf.org/html/rfc3550#section-3
|
|
type PayloadType uint8
|