mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-20 02:00:05 -08:00
webrtc: show SDP answers in logs (#4862)
This commit is contained in:
parent
afff90f00e
commit
1a0f8e53f3
1 changed files with 2 additions and 0 deletions
|
|
@ -229,6 +229,8 @@ func (s *httpServer) onWHIPPost(ctx *gin.Context, pathName string, publish bool)
|
|||
ctx.Header("Location", sessionLocation(publish, pathName, ctx.Request.URL.RawQuery, res.sx.secret))
|
||||
ctx.Writer.WriteHeader(http.StatusCreated)
|
||||
ctx.Writer.Write(res.answer)
|
||||
|
||||
res.sx.Log(logger.Debug, "SDP answer:\n"+string(res.answer))
|
||||
}
|
||||
|
||||
func (s *httpServer) onWHIPPatch(ctx *gin.Context, pathName string, rawSecret string) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue