summaryrefslogtreecommitdiff
path: root/vendor/github.com/pion/rtp/partitionheadchecker.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/pion/rtp/partitionheadchecker.go')
-rw-r--r--vendor/github.com/pion/rtp/partitionheadchecker.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/vendor/github.com/pion/rtp/partitionheadchecker.go b/vendor/github.com/pion/rtp/partitionheadchecker.go
new file mode 100644
index 0000000..6ec2a76
--- /dev/null
+++ b/vendor/github.com/pion/rtp/partitionheadchecker.go
@@ -0,0 +1,6 @@
+package rtp
+
+// PartitionHeadChecker is the interface that checks whether the packet is keyframe or not
+type PartitionHeadChecker interface {
+ IsPartitionHead([]byte) bool
+}