mirror of https://bitbucket.org/ausocean/av.git
protocol/rtmp/rtmp.go: correcting missing error wrapping
This commit is contained in:
parent
8c5a31b052
commit
37b49d27a0
|
@ -666,7 +666,7 @@ func handleInvoke(c *Conn, body []byte) error {
|
||||||
c.streamID = uint32(n)
|
c.streamID = uint32(n)
|
||||||
err = sendPublish(c)
|
err = sendPublish(c)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return fmt.Errorf("could not send publish: %w",err)
|
||||||
}
|
}
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue