Flash - Using NetConnection Class To Live Video Feed?

Oct 11, 2010

I'm trying to use the NetConnection class to connect to a live video feed on an external server. I have it set up to start playing my video when the user clicks a Play button, however, this appears in my output every time I click the Play button:

ArgumentError: Error #2126: NetConnection object must be connected.
at flash.net::NetStream/ctor()
at flash.net::NetStream()
at Over/connectLiveStream()[Over::frame2:31]

Here is the (I think relevant) code:
if (playVid.label == "Play") {
nc = new NetConnection();
nc.objectEncoding = flash.net.ObjectEncoding.AMF0;
nc.connect("rtmp://my.rtmp.server:1935/live/");
nsPlay = new NetStream(nc);
nsPlay.play("livestream.flv");
}

View 1 Replies


Similar Posts:


Java :: How To Capture And Save Live Feed Of Flash Video

Mar 1, 2010

Is there a tool, any type of programming library, or a way to capture live feed of Flash video and save it? I don't want to capture the screen but rather like to capture the actual feed.

View 1 Replies

ActionScript 2.0 :: Create A Live Video Feed From A Webcam Etc Into Flash?

Apr 19, 2003

Is it possible to create a live video feed from a webcam etc into Flash?

View 6 Replies

Actionscript :: FMS Live Video Stream Suffer If Chat Uses Same NetConnection?

Sep 22, 2009

Have a Flex/FMS web meeting app that has multiple custom components - live streaming camera, chat, slide dec.

Each component does its share of communicating through the FMS server. Should all three of those things share one NetConnection object in the application or will the live video stream suffer when users chat or the meeting presenter advances slides and such?

View 2 Replies

Media Server :: Publish Live Video Feed From Webcam In H.264 Format Non VP6 Format With 3.5.2?

Dec 2, 2009

how to publish live video feed from webcam in h.264 format non VP6 format with FMS 3.5.2 without using Flash Media Live Encoder, and how to set all parametersto have a good quality and smooth video without interruption, i have a server with 50Mbit bandwidth output enough for a publisher and 10 clients meunderstand this thing's been months since I try but the quality ugly

View 1 Replies

Actionscript 3 :: Live Streaming Flex - Send A Feed From Webcam To The Flash Media Server

Jan 30, 2011

I have been working on a Flex application that sends a feed from my webcam to the Flash Media server. The application connects to the server fine but for some reason the camera is not sending anything to the Media Server. I am pretty sure that the answer to my question is really simple but I need another set of eyes to llok at my code and tell me what I am doing wrong.

[Code]....

View 3 Replies

ActionScript 3.0 :: Streaming Live Audio Feed?

Jan 1, 2011

I have downloaded this .pls file from the LiveATC website but flash does not seem to stream this audio file using the code:

ActionScript Code:
var s:Sound = new Sound();
s.load(new URLRequest("kjfk_co.pls"));

[code].....

View 1 Replies

ActionScript 1/2 :: Create A Live RSS Stock Exchange Feed?

Mar 2, 2012

how to create a live RSS stock exchange feed using AS2

View 2 Replies

ActionScript 2.0 :: CS4 Creating A Random Image Generator From A Live Feed

Oct 28, 2009

i am wondering if it is possible, and if someone would be so kind to help me code a scene where two thumbnails, side by side, are flipped up and down, and back up, each time revealing a new random image culled from a feed such as a flickr feed (or any others available, is there a random google image search feed that i dont know about?).if this is possible, i would need assistance in coding the script so that the flash movie is dynamic and pulls image data in real time from the feed, displays it within the two thumbnail cells, and for added headache pain, i would hope to also learn how to code a random image to be selected based on a visitors date/time stamp.i am a graphic designer with rudimentary knowledge of action script 2.0 (yikes!) so please, go slowly / explain yourself. i have searched the forum, but i cannot find any previous threads that combine the random image generator idea with a live feed (unless if i missed it, please point it out to me if you can find such threads).

View 1 Replies

Media Server :: Make FMS 3.5 To Support Live Feed DVR Option?

Jul 30, 2009

I installed FME 3.0 + FMS 3.5, and can get live stream on clients.
 
Now I want to record the live streaming from FME on FMS, I changed the fms.ini:
 
LIVE_DIR = d:Program FilesAdobeFlash Media Server 3.5webrootlive_recorded
 
but the streaming didn't be recorded in this folder.

View 1 Replies

Media Server :: Streaming Live Webcam Feed To Website?

Dec 9, 2010

I have installed flash media server, flash cs5, media live encoder to be able to view my webcam feed via my website. Now in addition to these, i started streaming to localhost, and installed a dns updater which updates a name server according to my current ip. Then i wrote this dns address in the feed's source from flash 5 as rtmp://thednsname.somedns.net/live/livestream
 
so far so good, i also forwarded the ports 1935 incoming and outgoing from modem to my computer as well (because 1935 is said to be the default port number for media server). firewall -> closed (just in case); and my internet provider doesn't block ports...started the media server (with admin privilage in 7), started the live encoder, connect to localhost, start live feed.
 
NetStream.Play.StreamNotFound : Adobe Flash tried to play a live or recorded stream that does not exist. Source can't be found.

View 1 Replies

ActionScript 3.0 :: Creating Menu Populated With Data From Live XML Feed

Aug 19, 2010

I am building a menu that is to run on a mobile device.. the menu is populated with data from a live xml feed. and then suppose to be both dragable and "throwable" - meaning if you swipe up or down fast is scrolls with a little velocity physics slowing down over time. I wanted this menu to use as little processor power as possible so I am using scrollRect along with all my menu items being set to
cachAsBitmap= true;
Its working for the most part except once it stops scrolling and the user mouse downs on it again to start dragging, it tends to jump up or down like 20-100 pixels.

ActionScript Code:
menu.addEventListener(MouseEvent.MOUSE_DOWN, menuDrag);
menu.scrollRect = new Rectangle(0,0,stage.stageWidth,stage.stageHeight);
addEventListener(MouseEvent.MOUSE_UP, menuStopDrag);
function menuDrag(e:MouseEvent):void{
isDragging = true;
[Code] .....

View 1 Replies

ActionScript 3.0 :: Flash Number Of Video - NetStream And NetConnection Instances Multiple Videos Would Require?

Dec 30, 2010

How many instances of Video, NetStream and NetConnection would be needed for multiple videos? Not sure that's the right question but essentially here's the objective:

Currently, I'm working on an interactive product tour, parts of which are to consist of short video clips, each covering a feature. While only one such clip will be playing at any given time, I'd like put them all at the application's fingertips as part of the initial preloading process before launching into it. The idea is to provide a seamless instant-play user experience without hitting the breaks before individual segments.

[Code]....

View 2 Replies

Flash :: Embed RTSP Video Feed On Website?

Jan 25, 2012

I'm creating website which needs video stream from surveillance camera implemented. Camera is GeoVision GV-FD120D 1.3Mpix LowLux IR 2.7-9mm and it is linked to server which I have full access to (I dont have direct access to camera)

I was playing around with settings on this cam and I managed to turn on RTSP protocol access for this camera. Then I used VLC (on server) to open network stream with address: [URL]Works!

Ideally I would like to show the video in player like jwplayer , however it does not support RTSP protocol, but RTMP instead.

So I guess I would need some kind of software on this server to:

1) transcode the video stream from RTSP -> RTMP

2) stream it out from server so I can connect to it with jwplayer later

I heard of Wowza media server but the budget is pretty tight for this project so would rather use free solution here.

View 1 Replies

Flash :: Use One NetStream Object To Feed Two Video Objects Simultaneously?

Oct 27, 2010

I'm trying to attach a single NetStream Object to two separate Video objects instead of pulling redundant streams from the server. The expected behavior would be for both Video's to display the same content. However, it seems that the last video I attach the NetStream to is the only Video that will display the content.Has anyone else run into this? I'd rather not go to the inelegant steps of using BitmapData to clone pixels if I don't have to.

View 2 Replies

Javascript :: Feed Video Byte Data To Flash Player?

Jan 21, 2012

Is it possible to, using javascript, either create video data on the fly, or more likely download pieces of video data from various sources and feed them to a flash player instance.

Even better, is it possible to feed a html5 video stream from locally executed javascript?

View 1 Replies

Flash Interactive With Live Video?

Feb 28, 2011

Any way to make a video as a transition for a flash movie? What I mean is, say you have an image of a city, and you have a bunch of clickable areas in that image. When you click on one of those areas, a video plays that would transition you from the original image to the new location, almost like a fly through. [URL]

View 3 Replies

ActionScript 3.0 :: Putting NetConnection Video Into Empty Mc With Controls?

Dec 7, 2011

I am not sure how to accomplish what I need. I'm developing an iOS video app. I will package ALL videos with the ipa.I created a net connection and net stream successfully. I'm importing them into an array. They play perfectly. However, I need a way to mask out the main interface. Ideally, I'd like to drop that video into a dynamically called movie clip that has the controls in it. I made one called holder_mc.(There are no controls in it yet.) I cannot seem to get that on screen at the right z-index (not sure if that's the right term). I tried creating an empty movie clip and putting the video in it. That did not work either. This has to be simple.

View 1 Replies

Display Live Video In A Webpage Using Flash?

Aug 25, 2009

I have a Network camera Sony SNC-RZ50P , I want to display the live video streaming in a web page? How to display this using Flash 8

View 1 Replies

Flash :: Deinterlace Live Video Using A Broadcaster?

Jan 14, 2010

I am trying to replicate the deinterlace functionality that is available in FMLE in a simple flash broadcaster that is hosted on my website. I have built a flash broadcaster (using Flash CS4 and AS2) that connects to my FMS server with the aim that people can stream live video to the site. That all works OK; however, I would like to be able to implement a deinterlace option like that which is available in FMLE.

View 1 Replies

Flash - Live Video Streaming Website?

Mar 4, 2010

we are looking forward towards developing a very interesting community portal that would help the user to broadcast their live videos across the community.I've been checking over sites like ustream.tv, justin.tv and wondering what/how Technology they been using to do so.

I am doing a lot of research over the last few days checking over the medium to do this effectively and figure out some of the leading companies in the domain like Ooyala.com, brightcove.com providing servers/technology to broadcast videos seamlessly across the globe.
I will be signing up with any of these providers soon.So my question is , how exactly would my website be catching with the live feed from the users cam, send the stream to ooyala/brightcove and further broadcast it to rest of the community users.

View 2 Replies

Play Live Video In Flash Player?

Jun 12, 2010

I want a Flash player which can play a live video in a web browser. My video is increasing per second.

EDITED: I am making video using images by FFmpeg. I want to play that video in a web browser, but when the video is playing the size of that video keeps on increasing.

To view the increased video the user has to reload the page.

View 2 Replies

Flash :: Crop Live Video Stream?

Jun 1, 2011

I have a streaming video that is displayed on a web page through a flash player from an external source. This video has a huge border that I would like to crop out before displaying. How can I alter the feed in real time before showing it to the user, such that the resulting video has its border removed?

View 1 Replies

Actionscript 3 :: Live Video Keying With Flash - How To Do That?

Jun 27, 2011

For a new project, I want to take a video feed, filmed in a greenscreen room, and as you see it, do a color keying, to kill the green and show an alternative picture on the background.Is there a way to do this with Flash, AS3?

optional question: If a button is clicked, the now new constructed Picture should be saved as a Jpg.

View 1 Replies

Media Server :: Fms3.5 NetConnection.Connect.Rejected - See Video Through Rtmp?

Jun 9, 2010

today I install fms3.5 on my pc.

1)I can use rtmp://localhost/vod/mp4:sample2_1000kbps.f4v , it works ok. But when I use rtmp://192.168.8.3/vod/mp4:sample2_1000kbps.f4v, I got Netconnect.connection.rejected. 192.168.8.3 is my fms server IP.

2)When I set fms use port 1935 and 80, rtmp://192.168.8.3/vod/mp4:sample2_1000kbps.f4v works ok on other pc. But using wireshark(Wireshark is a network protocol analyzer for Unix and Windows.) I found , the flash player connect 1935 port at first, it send "connect",the server replay "connection.rejected" and "no scope "vod" on this server". Than it connect to 80 port, so I see the video is not send throw 1935 port with rtmp, but throw 80 port with rtmpt. Why? How can I see video throw rtmp?

View 9 Replies

ActionScript 3.0 :: Recommended To Close Netstream And Netconnection And Create A New One Before Moving To Next Video?

Nov 16, 2009

is it neccessary or recommended to close netstream and netconnection and create a new one before moving to next video?

View 1 Replies

ActionScript 3.0 :: Live Flash Video Streams Broadcasted?

Oct 23, 2009

How are live flash video streams broadcasted? I am guessing that as the broadcast is recording, the people that are watching are watching what has been recorded to an flv file a few seconds ago, making it 98-99% live, since it is a few seconds off of the actual recording time.

View 0 Replies

Actionscript 2.0 :: Flash Video Player (live Stream)

Mar 9, 2009

im looking for a Flash Video player that can play Live Stream Video .... i follow the video basic 6 but wasnt sure which part of the link i have to put on ns.play("link here"); this the link i got from the stream

s1.addParam('flashvars','&file=livestream&bufferlength=3&type=rtmp&streamer=rtmp://w.fl.misolutions.net/wn-live01/'); i dont which part i should used to replace "link here"

View 1 Replies

ActionScript 2.0 :: Can't Create Object With Unknown Class 'NetConnection'

Dec 20, 2010

I'm trying to create a NetConnection object in action script 2 and I get this error. I get the same error when I try to create a NetStream object. I've looked at many other examples using NetConnection and they don't import anything relating to NetConnection. Is there something in the Flash settings that I need to set in order to get this working?

View 9 Replies

ActionScript 3.0 :: Number Of Video / NetStream And NetConnection Instances Multiple Videos Would Require?

Dec 27, 2010

How many instances of Video, NetStream and NetConnection would be needed for multiple videos?Not sure that's the right question but essentially here's the objective:Currently, I'm working on an interactive product tour, parts of which are to consist of short video clips, each covering a feature. While only one such clip will be playing at any given time, I'd like put them all at the application's fingertips as part of the initial preloading process before launching into it. The idea is to provide a seamless instant-play user experience without hitting the breaks before individual segments.Honestly, I hate pre-caching crap into user's memory, especially when some of that content may be potentially ignored. However, given the target audience, it is reasonable to predict that all features will be explored most of the time, so it's a fair compromise to me. Besides, I went to great lengths to keep the mp4s' sizes to the minimum.Anyway, I'm guessing you don't really need more than one instance of the Video class but how many NetStreams and NetConnections do I you need, probably one of each per video, ha?

View 0 Replies







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