Skip to content

Commit

Permalink
Add links to RTP payload format specifications
Browse files Browse the repository at this point in the history
  • Loading branch information
aler9 authored and edaniels committed Jun 25, 2024
1 parent b3856ff commit 68f19e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion internal/fmtp/av1.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ func (h *av1FMTP) Match(b FMTP) bool {
return false
}

// AV1 RTP specification:
// RTP Payload Format For AV1 (v1.0)
// https://aomediacodec.github.io/av1-rtp-spec/
// If the profile parameter is not present, it MUST be inferred to be 0 (“Main” profile).
hProfile, ok := h.parameters["profile"]
if !ok {
Expand Down
3 changes: 2 additions & 1 deletion internal/fmtp/vp9.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ func (h *vp9FMTP) Match(b FMTP) bool {
return false
}

// draft-ietf-payload-vp9-16:
// RTP Payload Format for VP9 Video - draft-ietf-payload-vp9-16
// https://datatracker.ietf.org/doc/html/draft-ietf-payload-vp9-16
// If no profile-id is present, Profile 0 MUST be inferred
hProfileID, ok := h.parameters["profile-id"]
if !ok {
Expand Down

0 comments on commit 68f19e2

Please sign in to comment.