Questions tagged [netstream]

The NetStream class opens a one-way streaming channel over a NetConnection.

  • Call NetStream.play() to play a media file from a local disk, a web server, or Flash Media Server.

  • Call NetStream.publish() to publish a video, audio, and data stream
    to Flash Media Server.

  • Call NetStream.send() to send data messages to all subscribed
    clients.

  • Call NetStream.send() to add metadata to a live stream.

  • Call NetStream.appendBytes() to pass ByteArray data into the
    NetStream.

(From this Article)

247 questions
0
votes
1 answer

C# - Seems to be receiving two TCP packets at once?

I'm making a chatroom application, and I send TCP packets to communicate between the server and the client. I have the following code: string returnMessage = "[EVT]USERSUCCESS"; bytes = Encoding.ASCII.GetBytes(returnMessage); …
Sulphate
  • 103
  • 9
0
votes
2 answers

AS3 KeyboardEvent won't add eventListener after NetStream has been stopped

I have a Flash SWF set up to play a netstream in response to keyboard commands. There are several very short video clips that are triggered by the number pad. Since there are so many (in this unfinished example there are only a few), two numbers…
0
votes
1 answer

How to pause and restart a NetStream object?

I have a NetStream object, based upon the following code: streamID = "mystreamkey"; videoURL = "rtmp://mystreamurl"; vid = new Video(); nc = new NetConnection(); nc.addEventListener(NetStatusEvent.NET_STATUS,…
Lucas
  • 16,930
  • 31
  • 110
  • 182
0
votes
1 answer

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.
0
votes
0 answers

Increase and decrease video speed netstream

I'm developing a player using action script 3. I want to add an option that allow users to increase or decrease the speed of the current video. How can I do that with NetStream?
Zied CHAARI
  • 269
  • 4
  • 14
0
votes
2 answers

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.…
tyepoe
  • 1
  • 2
0
votes
1 answer

Draw circle on Custom Flv player

Well i have the custom flv player which reads an XmL and draws circles on Flv video. Position 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…
Muhammad Irfan
  • 1,447
  • 4
  • 26
  • 56
0
votes
1 answer

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

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 function after 7 or 16 second or at any specified time during playing. I found addAsCuePoint the only way to do it.…
Muhammad Irfan
  • 1,447
  • 4
  • 26
  • 56
0
votes
1 answer

NetStream OnMetaData error

I have this error: on this code : In another project, my class works well, but here it does not. Why?
Alessandro Zago
  • 793
  • 3
  • 12
  • 33
0
votes
2 answers

netStream Client.onMetaData not receiving width/height

I am streaming flv video,everything works fine, but client I have added to netStream is receiving (via onMeatData function) only these parameters canSeekToEnd, audiocodecid, duration, videocodecid, If it is not possible to get width and height…
Mathew D
  • 1
  • 1
0
votes
0 answers

Actionscript 3 - Netstream get published name

I have a netstream and I want to publish a stream with its own name, but multiple streams might be published at the same time. What causes the conflict is that all the streams have the same name because I can't figure out how to get other streams'…
icecreamscoop
  • 71
  • 2
  • 10
0
votes
0 answers

Force code to run while using TcpClient

I am writing some software for some barcode scanners running Windows CE 5. The software needs to communicate with a server and obtain data. It connects to some software running on a separate computer using a TcpClient. When it sends data across to…
Ste Moore
  • 107
  • 1
  • 10
0
votes
2 answers

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…
Shizam
  • 9,627
  • 8
  • 51
  • 82
0
votes
2 answers

Netstream Get Audio Only (SoundMixer.computeSpectrum)

Netstream As sound only? I'm trying to put the sound coming from a netstream into a Sound variable so I can visualize it like in this tutorial. Adobe ActionScript 3.0 * Accessing raw sound data Problem is, search results only find how to attach a…
sfxworks
  • 1,031
  • 8
  • 27
0
votes
1 answer

Detach video/audio from NetStream

I wan't to create a Skype-like experience where two persons can communicate by video/audio. Now I want to be able to turn off the video or the audio on the receiving side, meaning I not only want to not display the video or turn down the volume of…