Question
server side actionscript problem
Hi, all,
I have the following problem: I want to know, in a server side script, what URL is requested by the client. I've read the documentation on the Client class for server-side actionscript, but the Client.uri property only returns rtmp://localhost/vod. I would need a property or a function that returns rtmp://localhost/vod/mp4:myFile.mp4.
In other words, I don't want to reveal the name of the file the client requests, I would like to call rtmp://localhost/vod/mp4:34.mp4, or something like that. I would like then to write a server side script that takes the id (34 in this case), initiates a connection to http://localhost/getPath.php via a LoadVars object, thus obtaining the actual path of the movie. Then, the same server side script would somehow need to redirect the client to that path.
Any ideas how that may be done?
Thanks in advance.
I have the following problem: I want to know, in a server side script, what URL is requested by the client. I've read the documentation on the Client class for server-side actionscript, but the Client.uri property only returns rtmp://localhost/vod. I would need a property or a function that returns rtmp://localhost/vod/mp4:myFile.mp4.
In other words, I don't want to reveal the name of the file the client requests, I would like to call rtmp://localhost/vod/mp4:34.mp4, or something like that. I would like then to write a server side script that takes the id (34 in this case), initiates a connection to http://localhost/getPath.php via a LoadVars object, thus obtaining the actual path of the movie. Then, the same server side script would somehow need to redirect the client to that path.
Any ideas how that may be done?
Thanks in advance.
