summaryrefslogtreecommitdiff
path: root/vendor/github.com/pion/webrtc/v3/constants.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/pion/webrtc/v3/constants.go')
-rw-r--r--vendor/github.com/pion/webrtc/v3/constants.go25
1 files changed, 25 insertions, 0 deletions
diff --git a/vendor/github.com/pion/webrtc/v3/constants.go b/vendor/github.com/pion/webrtc/v3/constants.go
new file mode 100644
index 0000000..79d759a
--- /dev/null
+++ b/vendor/github.com/pion/webrtc/v3/constants.go
@@ -0,0 +1,25 @@
+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
+)