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
3
votes
1 answer

Live voice chat with manipulated voice audio with RTMFP

We are building a live RTMFP voice chat application with Cumulus. While the basic voice transfer works pretty easy using NetStreams, we have one big problem: There does not seem to be a way to manipulate the microphone data that the NetStream sends,…
TheSHEEEP
  • 2,961
  • 2
  • 31
  • 57
3
votes
3 answers

Netstream and step() or seek()?

I'm on an AS3 project, playing a video (H264). I want, for some special reasons, to go to a certain position. a) I try it with NetStream.seek(). There it only goes to keyframes. In my current setting, this means, i can find a position every 1…
nbuechi
  • 229
  • 4
  • 20
3
votes
1 answer

Live stream metadata reading in Apple HTTP Live Streaming

In the Flash world there is the concept of objects representing a live streaming connection and stream (NetConnection and NetStream). Though the Flash API these objects can be used to inject text metadata into a live stream (NetStream.send()). …
Robert
  • 828
  • 2
  • 13
  • 28
3
votes
1 answer

Why NetGroup.MulticastStream.UnpublishNotify fires just after NetGroup.MulticastStream.PublishNotify

I am working on Cirrus I want to make audio chat. I publish stream on one side but its NetGroup.MulticastStream.PublishNotify event doesn't fires at first time....When I publish it twice or thrice it fires. I play the stream on the other side using…
3
votes
2 answers

Netstream.seek() not working for MP4 videos in Flash

I am implementing a video player in Actionscript and I need to be able to define the starting play time for the videos. Netstream.seek(pos) works for flv files but fails for H.264 files (the player starts playing the video from the beginning).…
luis
  • 1,849
  • 3
  • 16
  • 17
3
votes
1 answer

number of decoded frames in flash

Flash.net.netStream has an undocumented field called "decodedFrames" (which I discovered by reading someone's blog) This value is supposed to show how many frames have been decoded so far. I wonder, since this is an undocumented field, can I rely on…
Moji
  • 121
  • 4
3
votes
1 answer

How to play FLV video at "incoming frames speed" (not video-internal) coming from NetStream in ActionScript

How to play NetStream frames immediatly as they arrive without any additional AS framerate logic? I have recorded some audio & video data packets from RTMP protocol received by Red5, and now I'm trying to send it back to the flash client in a loop…
Piotr Müller
  • 5,323
  • 5
  • 55
  • 82
3
votes
1 answer

Playing a video on local Adobe Media Server

I have Adobe Media Server 5 (starter) up and running on Windows 7 I have a HelloWorld application on the server, and a client flash file that connects to it. Now I want to modify this application to stream a video that I've placed on the server To…
user773737
3
votes
1 answer

red5 live stream always dropped frames

I have a live stream site build on red5 server and when i subscribe, the live video seems to drop frames. I am using the oflademo for my rtmp application. Here is the actionscript I use for the camera setting: Broadcast // setup cam cam =…
Wayn Liu
  • 394
  • 3
  • 13
3
votes
2 answers

AS3: Is it possible to capture stage elements or bitmap data into a netstream?

I'm looking at the netstream documentation. but can't really glean if appendBytes() can really take arbitrary data. Could I really just take arbitrary bitmap data (as a byte array) and append the frame to stream (presumably before sending it to a…
FlavorScape
  • 13,301
  • 12
  • 75
  • 117
3
votes
1 answer

Adobe Flash 11.3 low latency audio support for streaming through NetStream

In the Flash ver.11.3 release one of the changes is: Low latency audio support for streaming audio through NetStream — This feature aims to reduce latency for high quality streaming audio playback. It addresses a very special use case of cloud…
3
votes
1 answer

NetStream.send not working with NetGroup in RTMFP

We are running a Cumulus server to do a live voice and text chat. The setting is that each client can post data to each other client in the same NetGroup via group.post(). Unfortunately, that function is extremely slow (half a second delay, at…
TheSHEEEP
  • 2,961
  • 2
  • 31
  • 57
2
votes
1 answer

NetStream.info, getting Error #2154

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…
Hunternif
  • 2,370
  • 2
  • 17
  • 14
2
votes
1 answer

Multiple videos attached to a NetStream

After pulling my hair for some time and searching the internet, I came to the conclusion that Flash doesn't allow you to attach more than one Video to a NetStream object. That's a same since, I suspect, that would lower much resources consumption…
Bill Kotsias
  • 3,258
  • 6
  • 33
  • 60
2
votes
1 answer

Cancel a live stream "fast motion" catch-up in Flash

When streaming a live stream, if you hide the browser window/tab (e.g. by going to a different tab or minimizing the browser) - where the live stream is playing in and then after awhile you go back to it - then everything that 'happened' in the…
Yuval A.
  • 5,849
  • 11
  • 51
  • 63
1
2
3
16 17