mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
server: fix generation of RTP-Info
This commit is contained in:
@@ -2180,6 +2180,7 @@ func TestServerPlayAdditionalInfos(t *testing.T) {
|
||||
})
|
||||
|
||||
rtpInfo, ssrcs := getInfos()
|
||||
require.True(t, strings.HasPrefix(mustParseURL((*rtpInfo)[0].URL).Path, "/teststream/mediaUUID="))
|
||||
require.Equal(t, &headers.RTPInfo{
|
||||
&headers.RTPInfoEntry{
|
||||
URL: (&url.URL{
|
||||
@@ -2214,6 +2215,7 @@ func TestServerPlayAdditionalInfos(t *testing.T) {
|
||||
})
|
||||
|
||||
rtpInfo, ssrcs = getInfos()
|
||||
require.True(t, strings.HasPrefix(mustParseURL((*rtpInfo)[0].URL).Path, "/teststream/mediaUUID="))
|
||||
require.Equal(t, &headers.RTPInfo{
|
||||
&headers.RTPInfoEntry{
|
||||
URL: (&url.URL{
|
||||
|
Reference in New Issue
Block a user