google-code-export / red5

Automatically exported from code.google.com/p/red5
0 stars 0 forks source link

client RTMPE RTMPMinaIoHandler event messageSent #454

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Connect with RTMPE with a Java client red5-client-1.0.2-SNAPSHOT.jar
to Red5

What is the expected output? What do you see instead?

The messageSent event in RTMPMinaIoHandler is never raise with an object of 
type Packet. 

We cannot use after that the function getPendingVideoMessages();

The RTMPConnection never know which one of the Packet was sent.

What version of the product are you using? On what operating system?
Last SVN

Original issue reported on code.google.com by sebastie...@gmail.com on 15 Oct 2013 at 8:43

GoogleCodeExporter commented 9 years ago
In RTMPEIoFilter.java in filterWrite fonction when we use the new 
EncryptedWriteRequest we lose the trace of the original Packet or something 
like that in the callback messageSent.

Original comment by sebastie...@gmail.com on 17 Oct 2013 at 2:42

GoogleCodeExporter commented 9 years ago
Problem solve, in RTMPEIoFilter when you valid 

if (!message.hasRemaining()){
     log.debug("Buffer was empty");
     nextFilter.filterWrite(session, request); // add this line on client RTMPE
}

Original comment by sebastie...@gmail.com on 17 Oct 2013 at 7:44

GoogleCodeExporter commented 9 years ago
Is this a fix for the client or server filter?

Original comment by mondain on 31 Oct 2013 at 3:05

GoogleCodeExporter commented 9 years ago

Original comment by mondain on 31 Oct 2013 at 11:06