Skip to main content
Known Participant
March 19, 2010
Question

how to start broadcasting

  • March 19, 2010
  • 1 reply
  • 389 views

When user first time log into site camera start the capturing and stream is saved in application folder with the streamname(straemname.flv). then user logout and then logged in then i have to append that stream in same straemname.flv file .By this code i have done that task

camera = Camera.getCamera();

camera.setQuality(0,80);  
camera.setMode(videoWidth,videoheight,15,true);
camera.setLoopback(false); 

video.attachCamera(camera);
ns.attachCamera(camera);
ns.publish(stream, "append");      

But i am facing the problem when user again logged in ,the video which is saved previously start playing,I dont want start that video.I just want to show camera control

How to solve that issue.

    This topic has been closed for replies.

    1 reply

    Janaki Lakshmikanthan
    Adobe Employee
    Adobe Employee
    April 19, 2010

    Hi Bindu,

    Were you able to get a solution for this?

    If you want to append the existing recorded video, you will have to publish the stream in 'append' mode... which you are already doing.

    Let us say first you login and record the stream for 100 seconds in 'record' mode, then you log out. Again you login and publish the stream in 'append' mode. your streams gets appended to 101-th second. "the video which is saved previously start playing,I dont want start that video.I just want to show camera control" - Didnt get your problem. Can you elaborate. When someone tries to play the stream from the begining, that is start=0, they will get to see the previously recorded data.

    If you want the users to get the newly recorded information, then you should manage to send the start value as 101 so the new data is played for the client. Is that what you want or something else?

    Regards,

    Janaki L