I have this problem in flash. I have a flash communication server installed and i want to stream a video using the webcam. This is my code which i saw in the flash communication server tutorial. function playCam1() { gotoAndStop(1); // Attach the video device output from 'client_cam' // to the 'Live_Video' video clip cam1 = Camera.get(0); Live_Video_1.attachVideo(cam1); function Stream_1() { // Make a connection to the application on the server client_nc = new NetConnection(); // Handle status message client_nc.onStatus = function(info) { trace("Level: " + info.level + newline + "Code: " + info.code); } // client_nc.connect("rtmp://localhost/OSC/room_01"); client_nc.connect("rtmp:\\192.168.232.26\room_01"); // Create output stream out_ns = new NetStream(client_nc); // Create input stream in_ns = new NetStream(client_nc); Replay_video.attachVideo(in_ns); } // Connect to server and set up streams Streams_1(); } I plaved the ip address of the server but its not working what will i do! Is the ip address i placed correct. The server is wifi connected. Can anyone please help me with my problem. I need answers fast.
I think we have a similar problem. A similar code posted in a tutorial i found on this site only works in localhost but won't work with remote client browsers. Please if someone knows a solution to this problem, we would really appreciate that help. Thanks.
Don't see what you're looking for? Try a search.
|