Skip to content

Commit

Permalink
Removed info logger.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy--S committed Apr 17, 2023
1 parent faee4a7 commit 5c5b782
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ public void testExtendedTImestampPartialPacket() {
conn.setStateCode(RTMP.STATE_CONNECTED);
RTMPClientProtocolDecoder decoder = new RTMPClientProtocolDecoder();
List<Object> objects = decoder.decodeBuffer(conn, IoBuffer.wrap(buf));
RTMPDecodeState state = conn.getDecoderState();
//RTMPDecodeState state = conn.getDecoderState();
assertTrue(objects.size() == 2);
assertTrue(state.getDecoderBufferAmount()==15);

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,7 @@ public Header decodeHeader(ChunkHeader chh, RTMPDecodeState state, IoBuffer in,
header.setStreamId(RTMPUtils.readReverseInt(in));
// read the extended timestamp if we have the indication that it exists
if (timeBase >= MEDIUM_INT_MAX) {
headerLength+=4;
log.info("{}", in.remaining());
headerLength+=4;
if (in.remaining() < 4 ) {
state.bufferDecoding(headerLength - in.remaining());
in.position(startPostion);
Expand Down

0 comments on commit 5c5b782

Please sign in to comment.