Copy link to clipboard
Copied
Hi,
I am maintaining a large project developed in Flex/Actionscript.
The application is using tunneling (RTMPT), and we often get Netconnection "closed" events.
There is no problem with the physical network.
I think the event may be caused by either a TCP/HTTP/RTMP event, or may be caused by
some function in the client calling close() on the connection.
How can I find the root cause of the "closed" event being thrown?
Thanks,
David
Copy link to clipboard
Copied
use a network analyzer like wireshark or charles (or maybe firebug).
Copy link to clipboard
Copied
We have used wireshark to check the network packets. Everything seems ok.
Where is the specification that describes RTPMT and how the sockets and HTTP content (including header settings)
should work?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Thanks.
It does describe the basic RTMP, but we are having trouble with the tunneled variant (RTMPT).
Where is the specification for RTMPT?
Copy link to clipboard
Copied
there are different implementations of rtmpt for different servers.
here's the redhat implementation: http://www.joachim-bauch.de/tutorials/red5/rtmpt-protocol/
Copy link to clipboard
Copied
Thanks for the information. It is helpful but it seems there must be a specification of
what the client side is expecting, independent of any server implementation.
When I say client side, I mean the Adobe communication libraries.
Where is the specification or source code for how the client libraries treat HTTP tunneled requests and responses?
One question in particular: How does the client side library treat a
Connection: Keep-Alive
versuse
Connection:close
HTTP header setting?
Copy link to clipboard
Copied
that i don't know off-hand.
Copy link to clipboard
Copied
Is there a particular function call where we can set a breakpoint in the debugger to see where
"connection closed" events are generated?