mirror of
https://github.com/aler9/gortsplib
synced 2025-09-27 03:25:52 +08:00
add Transport.Profile, media.Profile (#873)
this will allow to support AVPF in the future.
This commit is contained in:
@@ -399,11 +399,11 @@ func TestClientPlay(t *testing.T) {
|
||||
h := base.Header{}
|
||||
|
||||
th := headers.Transport{
|
||||
Secure: inTH.Secure,
|
||||
Profile: inTH.Profile,
|
||||
}
|
||||
|
||||
if ca.secure == "secure" {
|
||||
require.True(t, inTH.Secure)
|
||||
require.Equal(t, headers.TransportProfileSAVP, inTH.Profile)
|
||||
|
||||
var keyMgmt headers.KeyMgmt
|
||||
err2 = keyMgmt.Unmarshal(req.Header["KeyMgmt"])
|
||||
|
Reference in New Issue
Block a user