mirror of
https://github.com/aler9/gortsplib
synced 2025-10-22 22:59:28 +08:00
simplify FMTP decoding and encoding (#205)
This commit is contained in:
@@ -26,7 +26,9 @@ func TestOpusMediaDescription(t *testing.T) {
|
||||
|
||||
rtpmap, fmtp := format.Marshal()
|
||||
require.Equal(t, "opus/48000/2", rtpmap)
|
||||
require.Equal(t, "sprop-stereo=1", fmtp)
|
||||
require.Equal(t, map[string]string{
|
||||
"sprop-stereo": "1",
|
||||
}, fmtp)
|
||||
}
|
||||
|
||||
func TestOpusDecEncoder(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user