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
2
votes
2 answers

Anyone run into this bug? RTMP streaming videos ending 3-4 secs too early?

I've created a player for a client in the past using their LimeLight server to stream videos and not had an issue before, however for a new client using different LimeLight server, the videos seem to be ending 3-4 secs too early. My traces on 3…
Leon Gaban
  • 36,509
  • 115
  • 332
  • 529
2
votes
1 answer

ActionScript 3 NetStream onSeekPoint how to

TL DR version: How do i use NetStream onSeekPoint event to construct a seek point table? Full question below. Situation: flv streaming video player in data generation mode, i.e. NetStream.play(null) and then NetStream.appendBytes(bytes:ByteArray).…
creative
  • 25
  • 6
2
votes
1 answer

Synchronize the Playing of Multiple Video Files in Flash AS3

I would like to have one controller to sync and control multiple video objects(start/stop simultaneously). Is this possible?
neil
  • 21
  • 2
2
votes
1 answer

NetStream receiving events after being closed

I'm developing a one-on-one video chat application using Wowza. After the remote client stops publishing, I'm disconnecting the incoming NetStream. Here's a gist of my code: incomingStream = new…
jamix
  • 5,484
  • 5
  • 26
  • 35
2
votes
1 answer

NetStream.time starts from when camera is attached, not when NetStream.publish is called

I am recording from a webcam to AMS in an AS3 project and to get the volume level from the microphone I have to attach the microphone to a NetStream. Later when the user initiates recording the NetStream.time value counts from when the camera was…
Andi Freeman
  • 21
  • 1
  • 1
2
votes
1 answer

How to detect putting in or taking out headphones pausing video in Flash using AS3?

I've noticed the sneakiest behavior playing video with NetStream. If the video has an audio track, and the headphones are plugged in to my machine or removed, the video pauses for a second, and then the audio starts playing from the new output.…
jesse
  • 21
  • 1
2
votes
0 answers

Netstream audio playing twice

I am new to flash (this is the first time I've ever used it or actionscript) and I'm trying to make a video player. The video player gets params from the embed code and pulls the videos from a folder on the server. I've got the following code (I've…
Maverick
  • 4,449
  • 4
  • 36
  • 46
2
votes
1 answer

AS3 Netstream Reverse

I'm using netstream to playback a series of videos in a folder. The idea is for them to work as a menu for a site. Ex: click button > [play video] > show content then click close > [play video in reverse > show menu is this possible? Thanks
2
votes
0 answers

NetStream.Seek.Complete -?

Recently I have been playing with NetStream (once again..) and I found a strange thing I didn't observe before - now after NetStream.Seek.Notify another event fires: NetStream.Seek.Complete. Does anybody know when this was added and whether it works…
Fygo
  • 4,555
  • 6
  • 33
  • 47
2
votes
2 answers

How to loop video using NetStream in Data Generation Mode

I'm using a NetStream in Data Generation Mode to play an embeded FLV using appendBytes. When the stream is finished playing, I'd like to loop the FLV file. I'm not sure how to achieve this. Here is what I have so far (this isn't a complete…
WesleyJohnson
  • 1,538
  • 1
  • 16
  • 30
2
votes
1 answer

Change volume of StageVideo in flex on iOS

Is there a way to change/set the volume of a video I added to the StageVideo in Flex 4.6 for iOS? I add a netstream to the StageVideo. When I change the soundTransform volume, the volume on my device doesn't change at all. Even when I set the…
2
votes
1 answer

NetStream creating a seamless dynamic playlist AS3

I need to create a playlist dynamically with near seamless transitions in AS3. I have tried to use the play2 command with .APPEND. It does work in a non dynamic setting. But what I have is this, at the launch of the application, I know what the…
Locrien
  • 21
  • 2
2
votes
1 answer

AS NetStream start buffering at determinate second

I'm having some problems to start playing an external video file at determinate time. I want to load an external mp4 or flv file and the player must start to play it at a determinate time ( ex at 100 second ). The same way of selecting a video part…
Lwyrn
  • 1,821
  • 1
  • 16
  • 27
2
votes
1 answer

Exiting NetGroup member causes Flash plugin crash

We are creating a voice chat with RTMFP using a Cumulus server. The users connect to each other by joining the same NetGroup. The voice chat and calling functions on subscribed NetStreams work well. However, sometimes, when a user closes the browser…
TheSHEEEP
  • 2,961
  • 2
  • 31
  • 57
1
vote
1 answer

Publish/record to FMS4.5 leaves small gap at beginning of video

We are utilizing Adobe FMS 4.5 to record video from users webcam. We are not live-broadcasting this video, we just want to capture it and save it on the server to do things with it later (attach to users' account, show as in-page content,…
Slobaum
  • 669
  • 7
  • 17