support KLV tracks (#808)

Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
This commit is contained in:
Yaroslav Molochko
2025-07-06 20:56:52 +03:00
committed by GitHub
parent ff94dc956b
commit e02c447868
17 changed files with 705 additions and 0 deletions

View File

@@ -185,6 +185,11 @@ func Unmarshal(md *psdp.MediaDescription, payloadTypeStr string) (Format, error)
case codec == "l8", codec == "l16", codec == "l24" && payloadType >= 96 && payloadType <= 127:
return &LPCM{}
// application
case codec == "smtpe336m" && payloadType >= 96 && payloadType <= 127:
return &KLV{}
/*
* static payload types
**/