rename Response and Request's Content into Body

This commit is contained in:
aler9
2021-01-06 18:48:29 +01:00
parent 3aac61b762
commit d0834e7446
11 changed files with 23 additions and 23 deletions

View File

@@ -46,7 +46,7 @@ func handleConn(conn *gortsplib.ServerConn) {
"Content-Base": base.HeaderValue{req.URL.String() + "/"},
"Content-Type": base.HeaderValue{"application/sdp"},
},
Content: sdp,
Body: sdp,
}, nil
}