netstream

How do i merge an audio netstream and a video netstream into one republished netstream using flex3?

Hi, I have two netstreams: audio published in red5 video also published in red5 Now I'm a flex3 application and I need a way to be able to attach the audio of stream 1, and the video of stream 2 to a new netstream and just publish it. How do I do that? NetStream will only allow me to attach Camera or Microphone... ...

Is it possible to send custom animation as a video stream in flash?

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? ...

AS3: Showing bufferlength of NetStream

I am trying to show the buffered amount of a video that is playing. I am using netstream.bufferLength to do this and it kinda seems to be right. Exept from the fact that it is almost constantly the same amount that is buffered. This can't be right? I want it to be like youtube where you can press pause and the buffer will continue to ri...

AS3: Netstream - cache movie in browser

I wanna play a couple of movies in a loop with netstream, and I want all of them to be saved in the browsers cache or on the users disk to maximize the performance. Can't find any information about this (my google skills sucks!!) Anybody knows? ...

erratic "NetStream.Record.NoAccess" when multipoint publishing in flash media server

I am getting errors when re-publishing a stream from one application to another on flash media server. I am getting a "NetStream.Record.NoAccess" error on the FMS and the same error as an Unhandled NetStatusEvent on the client The error code itself refers to the following.... NetStream.Record.NoAccess Error The client tried to record a...

How to get netstream bytesLoaded and bytesTotal from streaming .mp4?

I have a flex 3 app that uses netstream and a video object to stream .mp4 movies. I want to use the bytesLoaded and bytesTotal properties of the netstream to display the buffering information. I would also like to get any information about the number of frames that are dropped if possible. When I've tested on .flv I'm able to get the ...

FMS NetConnection.Connect.Close happening when starts and even in the middle of video in Flash with FMS 3.5

Hi I have developed a Flash Video player in Flash CS3 with Action Script 2.0 to play video from Adobe Flash Media Server 3.5. To play video from FMS 3.5, first I have to verify my swf file on FMS 3.5 server console so that it can be ensure that RTMP video URL only be play in verified SWF file. Right now I am facing problem of "NetCon...

AS3 notification for video first frame

When I play a video in Flash, fist, it starts buffering and then, when the buffer is full, it plays. While the buffer is filling, the associated Video object automatically displays the fist video frame. Is there a way to receive a notification when this frame is available ? Because I want to hide the video component until there is an im...

Easy bidirectional communication via P2P NetStream

I've been looking into the P2P support in Flash 10, using Adobe Stratus service. I have successfully been able to send data from one user to another, put my problem is that I haven't figured out how to send data back in some easy way (or as some kind of response to the first call). What I'm currently doing; First set up a connection w...

AS3 - check if flv has video in it

Hey. I'm a n00b @ AS but I have managed to put together a video player using NetStream that suits my needs perfectly. The thing I'd like to add is that it would display a certain image if the streamed .flv clip only has audio track in it (mp3 converted flv). Q: is there a way to check if the .flv I'm streaming has video in it? ...

Highwinds - When Can I get the "NetStream.Play.StreamNotFound" metadata event?

Hi all, My goal is to play a video when the accessed video is not available on the highwind server. I am using highwind server for streaming videos. when some video is not available in the highwind, the player still shows buffering. I read the meta data also. It is continuously changing from NetConnection.Connect, NetConnection.Reset....

Playing a large/long h264 file with NetStream takes a LONG time to begin playback

I'm trying to play a 10 minute long video (h264/mp4) which is 39MB in size, after I call stream.play(fileURL) it doesn't start playback until its loaded around 12-16MB of the file (many many seconds later), I finally get onMetaData at this point too. Why doesn't it begin playback right away, or at least w/in a couple seconds? What can ...

Working example of NetStream.videoSampleAccess?

I'm currently building a browser-based application using Stratus. So far everything is working fine and I understand how it all works. The problem is when I try to manipulate the pixel data of the incoming remote video stream using BitmapData.draw(). What happens is that I get a sandbox security error, which is understandable. To solve...

netStream Client.onMetaData not recieving width/height

hello, i search the forum but i cant find answer i am streaming flv video,everything works fine, but client i have added to netStream is recieving(via onMeatData function) only this parameters canSeekToEnd, audiocodecid, duration, videocodecid, if is not posibble get width and height from metadata how i can get them? thank you for ...

Can I SEND messages via the underlying NetConnection of a receiving (playing) NetStream object?

Here's my problem: I have a NetConnection object connected to a server. On top I create a NetStream object and it started to play a file from the server. Classic so far. What I need now, is to be able to send some (short) messages back to the server, at various moments during playtime but, clearly, using the existing TCP connection. Fr...

How to addCuePoint in as3 with netstream?? i do not want to use FLVPlayback component..

Hello. 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...

Draw circle on Custom Flv player..

Well i have the custom flv player which reads an XmL and draws circles on Flv video. Postion and time is specified in the XML. I did calculation with as3 getTimer() function. It works fine, no matter how long u pause and then play again. Circles are shown at right time. Now i have two problems 1- How getTimer can be reset?? it is requi...

if I load a flv with netStream, how can I call a function when the flv stops playing

I have a website in ActionScript 3 that has lots of FLV animations that happen when you press buttons. Right now this is how I have it set up. in AS3, im loading FLv's (which are animations I exported in FLV form from After Effects) with net stream. I have a timer set up for the same amount of length of time that the animations (FLV's) ...

Loop back problem for Laptop

We are developing a video chatting application on flex, it works well on Desktop systems and while running on a laptop the sound is loop backed and becomming a large noise, Please help me to fix the problem. ...

Actionscript 3 NetStream immediately paused does not get metadata

I am writing a basic video player in Flash CS5 and Actionscript 3. For this basic player, I attach my NetStream to my NetConnection, then call the stream's .play() method to begin loading. Although I want the metadata and for the stream to begin buffering, I do not wish to start playing right away, so I immediately call the stream's .p...