0 Replies Latest reply on Apr 27, 2012 1:11 PM by Juan Ozcoidi

    Change VideoElement resource without closing NetConnection

    Juan Ozcoidi

      Hi, I am working with a player that reproduces videos from a CDN with Token authentication. I am trying to change the resource of a VideoElement without closing the NetConnection connected but I couldn't. The player has several qualities. For simple qualities (like high, medium or low) I execute the play() function from NetStream. That works right. The NetConnection keeps connected.


      But, when I try to change a Dynamic Streaming Array, I just set the resource property of the VideoElement Object. After that, the OSMF begins with all its process and closes the NetConnection. Then, I can't connect it again because of the server.


      I need to know how to change the resource of a videoElement object without closing the NetConnection connected.


      Thanks in advance!