mirror of
https://github.com/aler9/gortsplib
synced 2025-11-03 11:11:01 +08:00
support KLV tracks (#808)
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
ff94dc956b
commit
e02c447868
@@ -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
|
||||
**/
|
||||
|
||||
Reference in New Issue
Block a user