ActionScript 3.0 :: SWF Crashs Due To Live Netstream

Aug 20, 2011

My video player keeps crashing. Works fine on pre-recorded video streams but when I try and connect to a live video stream it crashes. This is happening in the browser and in the Flash application. No idea how to debug. If I remove the live netstream the player works fine. Am I missing something with the setup for a live stream?

[Code]....

View 11 Replies


Similar Posts:


ActionScript 3.0 :: Detect If A NetStream Video Is Live?

Jul 29, 2010

Is there something i can check to see if a NetStream Video is a live stream? I have a DVR app, need the player to snap to live point (if it is live - seek(100000) ? or start from the begining if a recorded video - Ideall a boolean if the stream is live or not...

View 9 Replies

Flash :: Catch StreamNotFound On A LIVE NetStream?

Nov 29, 2011

I have an FLEX application where I need to know if the LIVE stream on FMS exists when I do a NetStream.play();

Example:

var stream = new NetStream(nc);
stream.play("streamnotexists");

How can I pick the error on play how are trying to play a tream that not exists ?

View 2 Replies

ActionScript 3.0 :: Get Left-/rightPeak() From A Live Stream (NetStream)

Feb 11, 2009

I have a FMS and it works perfekt. What I try to build is a simple "player" for a website where I can listen to the livestream from my FMS. To connect to my stream works fine. But now i want to build a animated volume amplitude. It works with an mp3 who is on my FMS but not with the livestream. I think I found the problem why it does not work but not the solution.

I have following to connect to my livestream:

Code:
var nc:NetConnection = new NetConnection();
var ns:NetStream;
nc.connect("rtmpe://10.0.0.227/live");

[Code].....

Maybe I must create a new SoundChannel for my NetStream but I don�t know how!?

View 1 Replies

Media Server :: Publish Live Stream(H.264) To FMS(NetStream.Buffer.Empty)?

Feb 27, 2011

I am developing a C++ program to connect FMS via RTMP, and then publish a live stream I can't use FMLE here because I need collect the H.264 NALU from somewhere and forward them to the FMS.I write a demo app, which parses H.264 encoded FLV file, and send the VideoTag in the FLV as RTMP Message content for publishing.Finally, I make it run and I can see some frames of video!But the problem is: The video does not play smoothly and it just updates some frames.
Then I looked at the NetStream event and found that:Everytime when there is a NetStream.Buffer.Full event, the frame in the video is updated and display correctly But immediately there is another NetStream.Buffer.Empty event followed and the video is frozen.
 
[code]...

View 1 Replies

'netstream' Error Message "Adobe Flash Tried To Play A Live Or Recorded Stream That Does Not Exist"

Oct 13, 2010

I'm just trying to figure out this error message that comes up when I am importing a video into flash. It says: 'NetStream.Play.StreamNotFound: Adobe flash tried to play a live or recorded stream that does not exist. Source can't be found'

View 2 Replies

Flash :: NetStream.Buffer.Full Not Fired After Call To NetStream.pause?

Jul 6, 2011

I'm making a small video players in AS3, and I've found that after calling NetStream.pause() or NetStream.togglePause(), no status messages are being fired any more.If I click the "pause" button while the video is buffering, I never get the Buffer.Full message.Here is some code:

_connection = new NetConnection();
_connection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
_connection.connect(null);[code].....

View 1 Replies

ActionScript 3.0 :: Error On BitMapData.draw() After NetStream.pause() Then NetStream.seek()

Feb 25, 2010

I am working on an app that will take a snapshot of an rtmp stream of an archived video, save it to a file, and ExternalInterface the file name to the hosting page to javascript it up for display.

I actually have all pieces working great. The only time an error is thrown is when I pause the video, seek to somewhere, and then try to take a snapshot. Then there is a runtime error of:
SecurityError: Error #2123: Security sandbox violation: BitmapData.draw: mySwf.swf cannot access rtmp://myFlashServer/myApp. No policy files granted access.I've seen post after post of suggestions and have tried them, but without success.

I have the crossdomain.xml and my FlashMediaServer security setup fine (it is actually working, except for this one glitch). It just seems to be the pause-then-seek-then-BitMapData.draw() combination which is creating issues.

Another weird thing: after the error is thrown, if I resume the stream and take a snapshot, it works flawlessly again.

View 5 Replies

ActionScript 3.0 :: Error: "NetStream.Play.StreamNotFound" While Playing Mp4 File Using NetStream Object?

Jan 7, 2010

I am using NetStream, NetConnection and Video object to play an mp4 file which is hosted over a web server using http.This is an AIR application and the relevant code is pasted below:

var url:String = <some http url>;
connect_nc = new NetConnection();
connect_nc.connect(null);

[code]........

View 0 Replies

Actionscript 3 :: NetStream.info, Getting Error #2154 "The NetStream Object Is Invalid"

Mar 20, 2012

In my application I have a video playing from a NetStream. Every second on timer I update a text label with statistics like stream.info.currentBytesPerSecond. The problem occurs when the NetConnection associated with this NetStream closes: the getter for stream.info throws

[Code]...

View 1 Replies

Reduce Live Delay Time With Hls-live?

Feb 14, 2012

I'm noticing a 13-16 second delay with live streams to iOS devices. Is there any way to improve this delay time by modifying the Event.xml parameters or the Apache hlshttp_module parameters in httpd.conf?

View 9 Replies

ActionScript 3.0 :: NetStream.Connect.Closed - Know Which NetStream Has Been Closed

Aug 2, 2010

A NetStatusEvent with info.code of "NetStream.Connect.Closed" is dispatched by NetConnection when a NetStream is closed. This seems kind of weird, shouldn't the NetStream dispatch the event? how do I know which NetStream has been closed if I have more than one running (which I do)? I need to know so I can cleanup the now dead stream.

View 1 Replies

Media Server :: Live Switching With Live Media Encoder?

Jan 3, 2010

I would like to know if there is a solution available that allows me to plug 2 HDV cameras into a laptop and live switch between the 2 cameras while uploading the live stream via adobe flash media live encoder to the adobe streaming server? the scenario is I want to offer live streaming of corporate seminars that I normally shoot with 2 cameras.

View 1 Replies

Record Live Stream With Application "live" / "livepkgr"?

Jan 25, 2012

I would like to know whether it is possible to record a live stream with default fms application "live" or "livepkgr", so that the video stream can be played later on using "vod" application? If this is possible then how? What should be configuration for "live" or "livepkgr" application?

View 1 Replies

ActionScript 3.0 :: How To Use Netstream

Aug 17, 2009

I want to create netstream obj which will connect to wowza server ?

View 3 Replies

ActionScript 2.0 :: Using Cue Points With NetStream?

Mar 9, 2010

I have a video with 2 embedded cue points (event). The video player uses NetStream and is NOT a FLV Playback component. I can trace them and see both name and time with this:

[Code]...

View 1 Replies

ActionScript 3.0 :: Use NetStream Or FLVPlayback?

Aug 22, 2010

I'm currently on a project where to build a site with with several video-clips being played and reached from a menu. The video-files will be in FLV-format.I've done some video solutions in flash a few years ago but this time it will be in CS5 (AS3) and I'm not sure which solution that will suite this project best.The video clips must run smooth and I guess we'll need some cuepoints and buffering to make the transitions from the user inputs smooth. I think they need some MovieClips on top the videopart as well for navigation/information.

Should I use the NetStream-way or use the FLVPlayback-way? I got some demo-video-files yesterday and I ran an example using the FLVPlayback-method and it showed up smoothly but is this the way to go?Why would you use either NetStream or FLVPlayback?

View 5 Replies

ActionScript 3.0 :: Add A Seekbar To My Netstream?

Nov 27, 2009

I'm trying to figure out how I can add a seekbar to my netstream.I have the duration of the flv through metadata and the current time of the stream, but I can't understand how I should connect them to pass a position to a seek handler. And allso to be able to drag the handler to positions in the stream.

View 1 Replies

Actionscript 3 :: AddCuePoint With Netstream?

Sep 2, 2010

Is it possible to add cue points using as3 and I will not be using FLVPlayback component.

I want my flv or netstream object to call a fucntion after 7 or 16 second or at any specified time during playing. i found addAsCuePoint the only way to do it.

If there is any other way to accomplish this task then i will not be using cue points..

View 1 Replies

Flex - Get The Name From A NetStream Object?

Dec 2, 2010

In a Flex NetStatusEvent of type NetGroup.MulticastStream.PublishNotify, you get the String name of the stream in e.info.name

The name is what the publisher specified in the .publish ("") method. But in a NetStatusEvent of type NetStream.Connect.Success, there is no such property. Instead, the whole NetStream object is available through e.info.stream

How the heck to you get something as basic as the name from the NetStream object? e.info.stream.name does not exist. I must be overlooking something very simple.

View 1 Replies

Flex :: Can't Mute A NetStream?

Apr 26, 2011

I'm creating a video chat app using Flash Media Server 4 and Flex, using RTMFP for peer-to-peer.No matter what I try, I cannot mute a user's NetStream. I tried receiveAudio(false) and that does not work. I tried capturing the stream SoundTransform and setting the volume of that to 0, that does not work.I tried setting the mx VideoDisplay volume to 0 and that does not work.I can set the alpha of the VideoDisplay, so its really strange that I cannot set the volume.BTW, I am not trying to mute the mic of the user who launched the app, that I can do. I'm trying to mute one of the other users stream in the Flex app, that way the app makes it possible to not hear people who are perhaps being offensive.

View 1 Replies

ActionScript 2.0 :: Preload SWF + Flv's NetStream

Oct 22, 2009

The code above is my standard preloader for swf, I use it since long time and its all working, I managed above the script another one that load the flv?s that I use in the array. The two are working but my need is that the container only start to play the module after all the flv?s have been loaded to the cache.

One thing to note is that in the second script the array is playing the flv?s when should be only load, I?ve try to give a ns.pause(); but if I do that the array dont get to the end of it.

View 9 Replies

ActionScript 3.0 :: NetStream Buffer In IE?

Oct 27, 2009

i've a very strange problem with a NetStream Buffer only in Internet Explorer (flash player version 10,0,32,18). When I connect to a netstream I use this:

var videoOpe:Video=new Video();
var stream="name live stream";
var nsOpe = new NetStream(nc); //nc is an active netConnection
nsOpe.bufferTime=1;
nsOpe.client=this;

[Code]...

View 1 Replies

ActionScript 2.0 :: Using Netstream From A Class?

Jan 28, 2010

I'm trying to play an FLV on a video instance on the stage called my_video. This works as frame code the timeline, but when I use it as a class it loads the video but gets stuck on the first frame.

Here is my code

Code:
private var my_video:Video;
private function loadVid(mc:MovieClip)
{

[Code].....

View 3 Replies

ActionScript 3.0 :: Set CuePoint To NetStream?

Feb 8, 2010

Currently I'm using a rtmp server to streaming a video (m4v format), and now I need to set a cuePoints to call this one.

The problem is,

I'm using a simple video playback with NetStream and NetConnection, till here its okay, the video is streaming correctly, now appears the necessity to show some graphics in middle of the video.

How can I set the cuePoint name? addCuePoint()? The simple video player support it?

View 1 Replies

Actionscript 2.0 :: Use Cue Points With NetStream?

Mar 9, 2010

I have a video with 2 embedded cue points (event). The video player uses NetStream and is NOT a FLV Playback component. [code]...

That action will also do the loadMovie, so I know the loadMovie part works. But since there are 2 cue points the loadMovie fires with each cue point... not what I had in mind.

I just don't know how to get the loadMovie to fire outside of that function. I've tried this[code]...

View 1 Replies

ActionScript 2.0 :: XML Cue Point With Netstream Flv

Jul 8, 2008

I have flv's in the new H264 codec which apparently cannot have meta data cue points embedded like you would using Flash video encoder. I'm using Netstream in a custom player. Any suggestions how I would go about using XML cue points with Netstream? How would the playhead time trigger a search of the xml file?

View 2 Replies

ActionScript 3.0 :: One Netstream To Many Videos?

Oct 20, 2011

Is it possible to connect one Nestream (live from FMS) to many Video objects? So all the video objects on the stage show the same netstream.

View 1 Replies

IDE :: Can't Get Netstream Buffer To Preload

Apr 8, 2010

I'm trying to make a preloader for the buffer for a 19MB video. I can trace everything, but the math won't do.

Preloading the video itself is no problem. But what I want is to make a xx% preloader for the buffer of this video.[code]...

View 4 Replies

ActionScript 3.0 :: AddASCuePoint With Netstream?

Aug 4, 2010

I am going to be upset if you cannot use addASCuePoint (or a similar method) with the netstream object.Ive done a bit of googling and that is what I am seeing. Apparently it only works with the FLVPlayback component, but I havent seen any official docs stating that. Anyone have experience with this?

View 3 Replies







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