
Chapter 474
out_ns.publish("myRecording", "record");
Record_btn.setLabel("Stop");
recState = 1;
} else {
out_ns.publish(false);
Record_btn.setLabel("Record");
recState = 0;
showThumb();
}
}
// Show the thumbnail by attaching the stream to the ThumbView_vc
// video object and playing it
function showThumb()
{
ThumbView_vc.attachVideo(thumb_ns);
thumb_ns.play("myRecording", 0, 0, true);
}
// Connect to the server
doConnect();
// Initialize the streams
initStreams();
// Initialize the movie
initMovie();
Commenti su questo manuale