summaryrefslogtreecommitdiff
path: root/vendor/github.com/pion/rtp/depacketizer.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/pion/rtp/depacketizer.go')
-rw-r--r--vendor/github.com/pion/rtp/depacketizer.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/vendor/github.com/pion/rtp/depacketizer.go b/vendor/github.com/pion/rtp/depacketizer.go
new file mode 100644
index 0000000..b8c09da
--- /dev/null
+++ b/vendor/github.com/pion/rtp/depacketizer.go
@@ -0,0 +1,6 @@
+package rtp
+
+// Depacketizer depacketizes a RTP payload, removing any RTP specific data from the payload
+type Depacketizer interface {
+ Unmarshal(packet []byte) ([]byte, error)
+}