Hi List,
 
I'm trying to figure out a bug that's driving me nuts, and since the
FlashComm list is down, I hope someone here can shed some light on it.
 
I have a customised chat application (FlashComm), where an advisor is
talking to one or more clients. The advisor has a camera attached via a net
stream connection, which can be seen by each client (it's a one-way stream,
the clients don't have cameras). The advisor can also pause and restart the
camera with a menu-button. The pause is really just a net stream stop
action, but the camera just freezes on the last frame.
 
It all works fine, until the advisor's connection gets dropped, for example
by a faulty internet connection to the server. At that point I'm
reconnecting the advisor almost instantaneously to the net connection
object. The camera's stream still seems to be working ok, until the advisor
tries to pause it. At that point, the camera appears paused on the advisor
screen, but the light doesn't go off and it doesn't pause on the client's
screen. 
 
Here is the relevant code bits:
 
In the Advisor Model:
 
function startCam(){
  broadcastMessage("attachVideo", cam)
  ns.attachVideo(cam);
 }
 function stopCam(){
  broadcastMessage("attachVideo")
  ns.attachVideo();
 }
 
In the Advisor/Client View:
 
function attachVideo (video:Object) {
  admin_vo.attachVideo (video);
 }
 
 
After running some tests, I suspect that it appears to work ok on the
advisor's side because the local attachVideo call in the Advisor's View is
working properly, but something goes wrong with the net stream. 
 
Does anyone have any ideas as to the why, the wherefore and the howto?
 
Thanks in advance,
Karina
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to