mirror of
https://github.com/pion/webrtc.git
synced 2025-10-13 02:43:48 +08:00

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
26 lines
679 B
Go
26 lines
679 B
Go
package webrtc
|
|
|
|
const (
|
|
// Unknown defines default public constant to use for "enum" like struct
|
|
// comparisons when no value was defined.
|
|
Unknown = iota
|
|
unknownStr = "unknown"
|
|
ssrcStr = "ssrc"
|
|
|
|
// Equal to UDP MTU
|
|
receiveMTU = 1460
|
|
|
|
// simulcastProbeCount is the amount of RTP Packets
|
|
// that handleUndeclaredSSRC will read and try to dispatch from
|
|
// mid and rid values
|
|
simulcastProbeCount = 10
|
|
|
|
// simulcastMaxProbeRoutines is how many active routines can be used to probe
|
|
// If the total amount of incoming SSRCes exceeds this new requests will be ignored
|
|
simulcastMaxProbeRoutines = 25
|
|
|
|
mediaSectionApplication = "application"
|
|
|
|
rtpOutboundMTU = 1200
|
|
)
|