Skip navigation
ale-grosselle
Currently Being Moderated

Change netstream's attached camera

May 17, 2012 1:06 PM

I try to change netstream's attached camera using a javascript function ( with External interface).

 

Simply i call this method from javascript:

 

changeCamera ( id:String ){

     camera = Camera.getCamera(id);

     netstream.attach(camera);

}

 

When i call this func from js, the streaming is freezed!!

When i call this func as actionscript timer listener (every 30 seconds calls changeCamera) the streaming change corretly device.

 

Why this problem with js?

 

Alessandro

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points