Skip to content

Commit

Permalink
Updates for 1.2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
mondain committed Nov 26, 2021
2 parents fddd470 + f783547 commit c29ba56
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/main/java/org/red5/server/api/Red5.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,12 @@ public final class Red5 {
public static final Integer CAPABILITIES = Integer.valueOf(33);

/**
<<<<<<< HEAD
* Target for ChunkSize messaging in RTMP. Defaulting to 128 which is the original FMS setting, until modifying this is more
* throughly tested.
=======
* Since 128 is the default when publish or play are called; changing this may cause unexpected issues.
>>>>>>> f78354776c35ad921077113bd88a00cdd7e951d8
*/
public static int targetChunkSize = 128;

Expand Down
6 changes: 5 additions & 1 deletion src/main/java/org/red5/server/net/rtmp/RTMPConnection.java
Original file line number Diff line number Diff line change
Expand Up @@ -555,10 +555,14 @@ private void startRoundTripMeasurement() {
log.debug("Keep alive scheduled for {}", sessionId);
}
} catch (Exception e) {
log.error("Error creating keep alive job for {}", sessionId, e);
log.warn("Error creating keep alive job for {}", sessionId, e);
}
}
} else {
<<<<<<< HEAD
=======
// reducing from error to debug as its not all that important of a message these days to have such promotion
>>>>>>> f78354776c35ad921077113bd88a00cdd7e951d8
log.debug("startRoundTripMeasurement cannot be executed due to missing scheduler. This can happen if a connection drops before handshake is complete");
}
}
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/org/red5/server/net/rtmp/RTMPHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -539,9 +539,13 @@ protected void onPing(RTMPConnection conn, Channel channel, Header source, Ping
conn.pingReceived(ping);
break;
default:
<<<<<<< HEAD
if (isDebug) {
log.warn("Unhandled ping: {}", ping);
}
=======
log.debug("Unhandled ping: {}", ping);
>>>>>>> f78354776c35ad921077113bd88a00cdd7e951d8
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public class ClientBroadcastStream extends AbstractClientStream implements IClie
/**
* Whether or not to register with JMX.
*/
private boolean registerJMX = true;
protected boolean registerJMX = true;

/**
* Check and send notification if necessary
Expand Down

0 comments on commit c29ba56

Please sign in to comment.