Skip to content

Commit 553a3f7

Browse files
committed
Merge branch 'master' of github.com:Red5/red5-client
2 parents 40388f3 + e73676e commit 553a3f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/red5/client/net/rtmp/BaseRTMPClientHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ protected void onCommand(RTMPConnection conn, Channel channel, Header source, IC
769769
final IPendingServiceCall pendingCall = conn.getPendingCall(command.getTransactionId());
770770
log.debug("Received result for pending call - {}", pendingCall);
771771
if (pendingCall != null) {
772-
if ("connect".equals(methodName)) {
772+
if ("connect".equals(pendingCall.getServiceMethodName())) {
773773
Integer encoding = (Integer) connectionParams.get("objectEncoding");
774774
if (encoding != null && encoding.intValue() == 3) {
775775
log.debug("Setting encoding to AMF3");

0 commit comments

Comments
 (0)