12/24/2009 6:44:53 AM
i have a video player, it is streaming through RTMP...and it is working perfect. but as a security purpose we need RTMPE streaming. we code for RTPME as NetConnection.connect("rtmpte://servername.com"); but its is not working. i have searched in google but didnt find the solution. plz help me out...what to do...it is really urgent. thnx in advance.
12/24/2009 6:59:51 AM
To make RTMPE work you should meet the following minimum requirements : 1) Flash player 220.127.116.11 or greater on client side 2) Flash media server 3 or greater on server side . 3)Ports : Any one of the( 1935, 443, 80 ) ports available on client side. If you dont specify the port in connection .It will try on 1935, then 443 and then 80; For testing purpose disable all your spyware, anitivirus, Bitdefender and firewalls.
12/24/2009 9:16:25 AM
update your flash player to latest version, install debug version in order to capture any exception if occurring.
12/24/2009 10:22:45 AM
thanks for your help. i m working on flash cs3...but it is still not working...even i have just activated for SWF varification...facing ame prblm...not streaming either in rtmp or rtmpe.
12/24/2009 12:48:04 PM
hi, this is the code for rtmp streaming
var myVideoInstance:Video = my_video_instance; var nc:NetConnection = new NetConnection(); var connected:Boolean = nc.connect("rtmp:/localhost/myStreamingApp"); var ns:NetStream = new NetStream(nc); myVideoInstance.attachVideo(ns); ns.play("flvName");
Check the following if not able to connect: *You might be behind a firewall. Use direct connection to internet if testing online. *Some security softwares like bitdefender sometimes interfere with the packet data, I faced this issue once. *Your netconnection is successful. *Your server has outgoing and incoming ports open. * Test your ports using this tool http://www.flashcomguru.com/apps/port_test/index.cfm
12/24/2009 2:55:35 PM
thanx mark, I know this code..currently i m using RTMP streaming but i need to stream my video in RTMPE PROTOCOL, bcoz of swfverification. so plz help me in RTMPE .. thnx Mark
5/17/2011 10:59:13 AM
The protocol is similar to rtmp, however:
Check to make sure you don't have some kind of tokenization key that needs to be verified along with the stream:
so your stream might be something like this:
you would need to parse out that authentication key and process it as a property of the connection.... This is a bit complicated, so check if there is a key along with the stream first, if so, I will go into detail on how to work with that.
The more likely cause that your connection fails is due to swf verification. You need to copy your application (eg: videoplayer.swf) file to specific folder on the flash media server.
The reason is that, FMS will try to see what is the file attempting to retrieve the stream, and if it sees that the file is not an EXACT copy of the one listed in its verification folder, than you get a big rejection on connection.
5/17/2011 1:11:35 PM
I made the assumption that you are using a Flash Media Server.
In case you are not, try seperating out your server call and stream call:
netConnectionObject.connect ("servername.com") - no RTMPE://
once connected, your stream would be ("/flv/myStream.flv")