Send Camera Video Using Flash Socket?

Jun 2, 2011

this is my flash as3 code :

var cam:Camera;
cam= Camera.getCamera();
var video:Video=new Video(200,200);

[code].....

View 1 Replies


Similar Posts:


Flash - Render IP Camera Video With Socket?

Oct 3, 2010

So far the solution I found requires a crossdomain.xml to work,but this is not available on an IP camera:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="init()">

[code]....

View 1 Replies

Actionscript 3 :: Socket.readInt() And C# Socket.Send() Different Values Of Int-variable?

Nov 19, 2011

When I send number (int)52 s.Send(BitConverter.GetBytes((int)872415232));, flash show me trace(socket.readInt()); 872415232 If i send 872415232, flash show 52.Why? And how it fix?

View 1 Replies

Camera - Access The Video Data From This Camera With Flash?

Oct 20, 2010

Usually Adobe Flash applications can access any usb-webcam.I have a USB camera for microscopes which understands TWAIN and DirectShow.Is there a possibility to access the video data from this camera with flash?

View 1 Replies

Flash - Error 1009 When Trying To Send Byte To Socket?

Oct 22, 2010

I'v been looking and below is my code.
import flash.net.Socket;
var mySocket = new Socket
mySocket.connect("127.0.0.1", 5331)
var sym:SimpleButton;
sym.addEventListener(MouseEvent.MOUSE_DOWN, symbtn);
function symbtn(event:MouseEvent):void {
mySocket.writeUTFBytes(1);
}

View 2 Replies

Video Camera And Flash

Jun 28, 2009

What should I look for when buying a video camera to record videos that could be used with Flacs?

View 1 Replies

Video Camera Quality In Flash

Dec 8, 2010

I have this simple code to access the webcam:[code]The quality of the video is extremely bad, with big compression fragments.I am using a built-in webcam as test, so I don't expect too much. But what I see is not normal for my webcam.So how do I set the quality of the video?I cannot see any difference in quality if I remove the setQuality call.

View 1 Replies

ActionScript 1/2 :: Send And Receive XML Nodes From The Socket Server?

Jun 15, 2009

Ok so I can send and receive XML nodes from the socket server I need to know how to take the nodes and the values within them.... like for example I want the X Y positions from the node sent to me from the server "<playerpos name="javageek1212" X="34" Y="23" />" Basically I want the values from within that node ok?

View 5 Replies

Media Server :: FLV Video Freezes After Camera Switched On But Video 'is' In File

Aug 12, 2009

I had an flv recording from a webcam.It mostly recorded fine, but there's one point where I paused the broadcast for an intermission.A few minutes later the broadcast started again but the video doesn't play beyond that point, only audio plays.A few minutes later in the recording the broadcast switched to another camera and the video starts playing again just fine from there.I can't seek past the frozen point either to skip a couple of seconds ahead.The freeze is at about 9:00.If I seek to 9:01 it jumps ahead 8 minutes to where the camera switches.What's strange in this is that the video is *definitely* in the file.Using Moyea's FLV Editor Pro I converted the FLV to an MPEG and the whole video is there, so it's not that the camera stopped transmitting, it's just that the playback isn't working.

View 2 Replies

Actionscript 3 :: Send Data In AMF Format From Flex To Java Socket Server?

May 19, 2011

i want to know how to send data using the AMF format from my flex AIR project to a socket written in Java. I am getting CorruptedStreamException when sending data using writeUTFBytes() methods. Has anyone experienced similar problems? Also can AMF be used only if i am using LCDS only?

private SimpleServer(int port)
{
System.out.println(">> Starting SimpleServer on port " + port);

[code].....

View 2 Replies

Publish Real Time Video Stream Of IP Camera To Flash Media Server With Flash?

Jul 22, 2010

Does flash provide an api to deal with remote stream like IP camera does?

View 2 Replies

Media Server :: Streaming Video Live With A Video Camera?

Sep 17, 2009

I am looking to broadcast live video and need a camera that is better than a simple webcam. It looks like they used to make video cameras that would register as webcams, but stopped making them.If you wanted to broadcast an event live, what would be a good camera to use?

View 5 Replies

Publish Prerecorded (or Live) Video, Instead Of Camera In Flash/Flex/Air Via RTMP To FMS?

May 17, 2011

I'm looking for a way to stream video from the desktop to an FMS installation. I know that in ActionScript, it's possible to do:

netStream.attachCamera(camera);
netStream.attachAudio(mic);
but not:

[code].....

View 1 Replies

Webcam - Detect Flash-accessible Camera Without Prompting User For Access To Camera If One Exists?

Oct 11, 2010

From a Flash object, I would like to be able to detect the presence of a webcam that the user might grant access to, without actually asking the user whether they want to grant access. This is to streamline a large application that has extra features if a webcam exists — if there is a webcam, the application will present several dialogs that lead up to the normal cam-security prompt, but if the user doesn't have the hardware, I want to skip over them altogether. Requesting access to the cam before those dialogs won't make sense to the user.

It appears not to be possible to call Camera.getCamera() without the security prompt happening. Is there a workaround? (For instance, could I, perhaps, call getCamera in a hidden Flash object and inspect its return value, or does it block until the user acknowledges the security prompt?)

View 3 Replies

Webcam - Retrieve Real Time Video Stream (from Web Camera) From Flash Media Server In A Browser?

Jun 12, 2010

How does the url of FMS real time video stream look like?

View 1 Replies

Flash :: JW Player - Send User To A Certain Url When They Click On The Video?

May 14, 2011

When the user clicks on the video once its ended id like it to pop up a window with a new url in it - how can i do this in jw player?

View 1 Replies

Use IP Camera With FMS For Live Video Streaming?

Mar 2, 2010

How i can use IP Camera with FMS for live video streaming.

View 2 Replies

ActionScript 3.0 :: XML Socket - Sending Video To Server

Feb 19, 2010

I'm working on a small school project, and I'm grabbing video from my webcam like this:

camera = Camera.getCamera();
if (camera == null) {
Security.showSettings(SecurityPanel.CAMERA);
} else {
camera.setMode(960, 600, 30, true);
camera.setQuality(0, 100);
outgoingVideo = new Video();
[Code] .....

And I would like to now send this video to a server I am connected to using an XMLSocket. Is this possible?

View 1 Replies

Media Server :: Send A Video That Receiving Form Fms B To Another Fms A In A Flash App?

Aug 1, 2010

will i be able to send a video what i'am receiving form fms B to another fms A in a flash app?And how?

View 4 Replies

Actionscript 3 :: Flash Record Video From Webcam And Send To Youtube?

Dec 29, 2011

I need to record video from webcam in Flash and send it to Youtube using Api.I cant use server and all process must be in client side.

View 7 Replies

Flex :: Send Custom Animation As A Video Stream In Flash?

Mar 15, 2010

I'm using NetStream class to create p2p video conferension. Is it possible to add overlay pictures or animation into video captured from webcam and then send reencoded stream to other user?

View 2 Replies

Flash :: Send A Video Stream To A Red5 Server Using Flex?

Jul 2, 2010

I'm trying to send a video stream to a Red5 server using Flex.

My Red5 setup seems to work for remote method invocations and shared objects, but I've yet to succeed in getting video working.

This is the AS3 code that connects to Red5:

# connect to RTMP server
netConnection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
netConnection.connect("rtmp://localhost/context_name");
# omitted code for waiting for connection success, and setting up shared

[Code].....

As said, note that the Red5 setup works flawlessly for remote method invocations and shared objects, but not for video which is strange.

View 2 Replies

Actionscript :: Record Video With Flash And Send Videofile To Server?

Jul 19, 2010

Everyone knows that recording a video with the user's webcam is possible with flash in the browser - but all the solutions I found until now involve a rmtp server that accepts a stream from the flash app. Is there a way to use webcam recording without such an extra media server?

The usecase I want to implement is the following:

Show the user the output of his webcam on the screen. The user can hit a record button which will trigger the flash app to record 5 seconds of video material. The recorded video should be sent to the server as .flv file where it can be processed later.

Since the video will only be a few seconds long the amount of data is not a problem. But my actual question is: Is this somehow technically possible to do in Flash?

View 2 Replies

AS :: Flash - Send Additional Information While Posting Video Data?

Jan 20, 2011

I'm now saving the snapshot this way:

vidBmpHolder.draw(main.media.videoLocal);
var jpgEncoder:JPGEncoder = new JPGEncoder(85);
var jpgStream:ByteArray = jpgEncoder.encode(vidBmpHolder);

[code].....

View 2 Replies

Actionscript 3 :: Flash Record Video From Webcam And Send To Youtube

Aug 5, 2011

I need to record video from webcam in Flash and send it to Youtube using Api. I cant use server and all process must be in client side.

View 1 Replies

ActionScript 3.0 :: Faster Update Of Video By Camera?

Feb 15, 2011

I am trying to run a very fast camera feed. I have the fps set to 60 on the camera and I am adjusting the movie framerate to that after camera becomes active.

However, when I print out individual frames, the bitmaps seem to be the same for a bout 2-3 iterations,meaning that in the enterframe, the camera doesnt seem to have updated the video output.

Anyone on how I could make sure it refreshes the video display quicker?

View 1 Replies

ActionScript 3.0 :: Use The Camera Video GetCamera On The Stagevideo?

Nov 24, 2011

I just came across the new stageVideo, as I am not very Savvy using AIR i was wondering if i could use the camera video (getCamera)on the stagevideo, and how to implement it?

View 1 Replies

ActionScript 3.0 :: Stream Video Over Socket Class (or XMLSocket)?

Nov 3, 2009

How to stream video over Socket Class (or XMLSocket) IN as3?

View 1 Replies

Actionscript 3 :: Garbage Collection, Camera And Video Object?

Feb 9, 2011

How do I clean up after I've finished using the Camera object and Video Object?

Do I just write:

_cameraInstance = null;
_videoInstance = null;

View 1 Replies

Flex :: Hand Gesture Recognition With Camera Video

Jun 30, 2011

I want to implement an flex application using actionscript 3: with the camera and the virture buttons(like a image) in the camera, one can move his hand to pass over the virture button field in order to fire the button. Now my solution is following this way: capture the button field in every frame to get a bitmapdata, and calculate the gray-scale summation of the bitmapdata, if the difference between the two frames is greater than a given value, then fire the button. Actually, it could work, but it is very sensible to the lighting condition of the background, worse, when there are more than one buttons, people often fire the button by mistake.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved