Skip to content

Commit

Permalink
Update RTMPConnection.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
shogo4405 committed Jul 3, 2024
1 parent 25a9abe commit 0dd35b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/RTMP/RTMPConnection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -518,15 +518,15 @@ public class RTMPConnection {
// The specification is undefined, ignores it because it cannot handle it properly.
logger.info(message.commandName, message.arguments)
default:
dispatch(.rtmpStatus, bubbles: false, data: arguments.first as Any?)
dispatch(.rtmpStatus, bubbles: false, data: message.arguments.first as Any?)
}
return
}
switch message.commandName {
case "_result":
responder.on(result: arguments)
responder.on(result: message.arguments)
case "_error":
responder.on(status: arguments)
responder.on(status: message.arguments)
default:
break
}
Expand Down

0 comments on commit 0dd35b9

Please sign in to comment.