mirror of
https://github.com/Monibuca/plugin-rtmp.git
synced 2025-10-04 07:06:45 +08:00
🐛 FIX: 外推时streamPath设定
This commit is contained in:
@@ -166,10 +166,14 @@ func (config *RTMPConfig) ServeTCP(conn *net.TCPConn) {
|
||||
case RTMP_MSG_AUDIO:
|
||||
if r, ok := receivers[msg.MessageStreamID]; ok {
|
||||
r.ReceiveAudio(msg)
|
||||
} else {
|
||||
RTMPPlugin.Warn("ReceiveAudio", zap.Uint32("MessageStreamID", msg.MessageStreamID))
|
||||
}
|
||||
case RTMP_MSG_VIDEO:
|
||||
if r, ok := receivers[msg.MessageStreamID]; ok {
|
||||
r.ReceiveVideo(msg)
|
||||
} else {
|
||||
RTMPPlugin.Warn("ReceiveVideo", zap.Uint32("MessageStreamID", msg.MessageStreamID))
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user