[Red5devs] [Fwd: RTMPS and the opening of multiple tcp ports, thus needing synchronization]
Alexander Wichers
development at wichers.nu
Wed Oct 29 23:20:09 PST 2008
Hi Core Developers,
I have implemented the full protocol range (RTMPS/RTMPT/RTMPE, etc..)
within my own project (mammoth-project.org). And I see strange tcp port
behavior on RTMPTE and RTMPS, I know you guys have come across this same
issue as I see a mutex around every function in BaseRTMPTConnection.java.
The 'problem' is that the client opens unneeded multiple tcp connections
to the server (on RTMPS and RTMPTE only!). Until now I haven't seen this
behavior in FMS and I actually observe port re-usage rather than opening
a new port for every new connection that is made after the old one.
IMHO. it has to do with the RTMPT connection (/idle/mYemS4vRu2C2O91a/0
for ex.) string which the client checks to see if it's talking to a
'real' server. I've tried to reverse engineer this string and it turns
out it's an encrypted set of ids that are converted to a modified base64
string, but.. that doesn't solve the problem.
My question: Have you guys seen this behavior on FMS and why do you
think it happens?
Thanks!
Alexander
More information about the Red5devs
mailing list