mirror of
https://github.com/Monibuca/plugin-rtmp.git
synced 2025-10-06 16:07:16 +08:00
修复类型错误
This commit is contained in:
@@ -188,7 +188,7 @@ func processRtmp(conn net.Conn) {
|
|||||||
amfobj["level"] = "_error"
|
amfobj["level"] = "_error"
|
||||||
}
|
}
|
||||||
amfobj["tid"] = cm.TransactionId
|
amfobj["tid"] = cm.TransactionId
|
||||||
err = nc.SendMessage(SEND_UNPUBLISH_RESPONSE_MESSAGE, &amfobj)
|
err = nc.SendMessage(SEND_UNPUBLISH_RESPONSE_MESSAGE, amfobj)
|
||||||
}
|
}
|
||||||
case RTMP_MSG_AUDIO:
|
case RTMP_MSG_AUDIO:
|
||||||
// pkt := avformat.NewAVPacket(RTMP_MSG_AUDIO)
|
// pkt := avformat.NewAVPacket(RTMP_MSG_AUDIO)
|
||||||
|
Reference in New Issue
Block a user