mirror of
https://github.com/aler9/gortsplib
synced 2025-11-03 11:11:01 +08:00
simplify FMTP decoding and encoding (#205)
This commit is contained in:
@@ -30,7 +30,11 @@ func TestVP9MediaDescription(t *testing.T) {
|
||||
|
||||
rtpmap, fmtp := format.Marshal()
|
||||
require.Equal(t, "VP9/90000", rtpmap)
|
||||
require.Equal(t, "max-fr=123;max-fs=456;profile-id=789", fmtp)
|
||||
require.Equal(t, map[string]string{
|
||||
"max-fr": "123",
|
||||
"max-fs": "456",
|
||||
"profile-id": "789",
|
||||
}, fmtp)
|
||||
}
|
||||
|
||||
func TestVP9DecEncoder(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user