mirror of
https://github.com/aler9/gortsplib
synced 2025-10-11 18:10:08 +08:00
rename Response and Request's Content into Body
This commit is contained in:
@@ -413,7 +413,7 @@ func (c *ClientConn) Describe(u *base.URL) (Tracks, *base.Response, error) {
|
||||
return nil, nil, fmt.Errorf("wrong Content-Type, expected application/sdp")
|
||||
}
|
||||
|
||||
tracks, err := ReadTracks(res.Content)
|
||||
tracks, err := ReadTracks(res.Body)
|
||||
if err != nil {
|
||||
return nil, nil, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user