server: support reading with VLC and multicast

This commit is contained in:
aler9
2021-11-15 17:40:17 +01:00
parent 04b661d86c
commit 1411cb33f5
8 changed files with 101 additions and 34 deletions

View File

@@ -1142,7 +1142,7 @@ func (c *Client) doAnnounce(u *base.URL, tracks Tracks) (*base.Response, error)
Header: base.Header{
"Content-Type": base.HeaderValue{"application/sdp"},
},
Body: tracks.Write(),
Body: tracks.Write(false),
}, false)
if err != nil {
return nil, err