You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to send some web socket message when StreamChannelCodecs throws error, but it is not sending and written error as
time="2024-06-06T17:44:17+05:30" level=error msg="write tcp 192.168.124.129:8084->192.168.124.128:63796: i/o timeout" call=Send channel=1 func=HTTPAPIServerStreamMSE module=http_mse stream=demo0
I have updated like this
defer Storage.ClientDelete(c.Param("uuid"), cid, c.Param("channel"))
codecs, err := Storage.StreamChannelCodecs(c.Param("uuid"), c.Param("channel"))
if err != nil {
requestLogger.WithFields(logrus.Fields{
"call": "StreamCodecs",
}).Errorln(err.Error())
//sendErrorMessage(conn, requestLogger, "StreamCodecs")
err := wsutil.WriteServerMessage(conn, ws.OpBinary, []byte{8})
if err != nil {
requestLogger.WithFields(logrus.Fields{
"call": "Send",
}).Errorln(err.Error())
}
return
}
The text was updated successfully, but these errors were encountered:
I'm trying to send some web socket message when StreamChannelCodecs throws error, but it is not sending and written error as
time="2024-06-06T17:44:17+05:30" level=error msg="write tcp 192.168.124.129:8084->192.168.124.128:63796: i/o timeout" call=Send channel=1 func=HTTPAPIServerStreamMSE module=http_mse stream=demo0
I have updated like this
defer Storage.ClientDelete(c.Param("uuid"), cid, c.Param("channel"))
codecs, err := Storage.StreamChannelCodecs(c.Param("uuid"), c.Param("channel"))
if err != nil {
requestLogger.WithFields(logrus.Fields{
"call": "StreamCodecs",
}).Errorln(err.Error())
//sendErrorMessage(conn, requestLogger, "StreamCodecs")
err := wsutil.WriteServerMessage(conn, ws.OpBinary, []byte{8})
if err != nil {
requestLogger.WithFields(logrus.Fields{
"call": "Send",
}).Errorln(err.Error())
}
return
}
The text was updated successfully, but these errors were encountered: