I have been pulling my hair out trying to figure out how to use Javascript to change an RTMP stream.
I had though that using loadFile('jstest',{file:'rtmp://myserver.com/vidoes',id:'video_file'}); would do the trick, but I keep getting an error
"uncaught exception: Error calling method on NPObject! [plugin exception: Error in Actionscript. Use a try/catch block to find error.]."
I can not track this down, and can not find a fix posted here.
BTW: I can not access the files via anymethod other than RTMP. Also, I am using the 3.16 version of the player.
I appreciate anyones assistance.
loadFile() works fine for RTMP streams in the v3.16 player, so post your FULL player code and we'll have a look.