response 200 with code when rtc/v1 remote sdp parse error;
response 500 when no handled err.
Try to improve two problem:
let rtc/v1/[whep|whip] response 200 with body {code : 400} when remote_sdp parse error happen by follow rtc/v1/[play | publish] api's response. The current behavior in this scenario is close the connection without response anything.
Let SrsHttpServeMux response 500 when err not handled, the current behavior is also to close the socket connection without response anything.
Try to improve two problem:
let
rtc/v1/[whep|whip]
response 200 with body{code : 400}
whenremote_sdp
parse error happen by followrtc/v1/[play | publish]
api's response. The current behavior in this scenario is close the connection without response anything.Let
SrsHttpServeMux
response 500 when err not handled, the current behavior is also to close the socket connection without response anything.