Copy link to clipboard
Copied
Hi, I have a server side actionscript application working for RTMP, and I would like to reuse this code for HTTP connections.
Is this possible?
What you can do is to write your own apache module, which will entertain certain requests and create appropriate http responses as well as communicate to rtmp server separately.
Copy link to clipboard
Copied
Short answer is No, Actionscript is just for RTMP and RTMFP streaming..Thats said, what exactly is that you want to do with your HTTP streaming connections...I ask this because everytime you make a http connection(for say live streaming) an underlying rtmp connections is established.
Copy link to clipboard
Copied
Thank you for your answer. If I understand what you are saying, the apache modules proxy http to rtmp on the streaming server. I have an application that is passing context into the rtmp server side javascript using a url similar to this:
rtmp://myhostname.com/myapp?mycontext/mp4:myfilename
Do you think there is a way to pass the mycontext through the http url so that the Server Side Actionscript can perform an operation based on that context?
Copy link to clipboard
Copied
No...The arguments in http argument list is not passed to rtmp connection as argument list.
Copy link to clipboard
Copied
What you can do is to write your own apache module, which will entertain certain requests and create appropriate http responses as well as communicate to rtmp server separately.