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
3 answers

NetStream only playing when fully loaded

I've been searching for this for a while, and either my google-fu is weak or there is no easy to find answer yet... I am using a NetStream to stream a video file from anywhere. The NetStream is NOT connected to any server. Here is the code: …
TheSHEEEP
  • 2,961
  • 2
  • 31
  • 57
2
votes
1 answer

NetStream.play + video.attachNetStream won't show any video

I am new to Flash programming. All I wanted to do is stream my local webcam to my red5 server and receive the data in another video. Therefore I wrote the following code: NetConnection.defaultObjectEncoding = flash.net.ObjectEncoding.AMF0; …
Wandang
  • 912
  • 2
  • 8
  • 37
2
votes
0 answers

NetStream not sending audio on second Call flex

I am trying to build a video conferencing application between two people. the problem I am facing is that I attach the video and mic to my stream and publish it. The first time a call is made the audio is transferred alongwith the video but when i…
Hadi
  • 1,212
  • 2
  • 17
  • 31
2
votes
2 answers

Using the NetStream class how do I detect if I got a working video attached to it?

I'm building a video chat in flash and everything works really well, except for the part where I'm trying to detect if the other user is sending a working video stream. There's a couple of reasons why the other user isn't sending video. The other…
Fredrik
  • 2,016
  • 3
  • 15
  • 26
2
votes
1 answer

Netstream Step method support in red5

Netstream.step method AS3 This supposedly gives use the ability of frame level control of the video when using a flash media server. Question : Can we implement something like this using the red5 server. Does it support the method? Question : Does…
Aditya P
  • 1,862
  • 5
  • 28
  • 39
2
votes
1 answer

flash player crashes while looping over movies

I'm trying to realize kind of a slideshow in flash, which loops over about 100 h.264 encoded movies. I'm using the NetConnection and NetStream classes for connecting to the files locally on my harddisk (see code below). private function…
greg
  • 132
  • 8
2
votes
0 answers

Forwarding a video by frame using NetStream in AS3

I was looking for a way to go back and forth in my video using the seek function in AS3. import flash.filesystem.File; import flash.net.NetStream; var nc:NetConnection = new NetConnection(); nc.connect(null); var vid:Video = new…
2
votes
4 answers

Syncing two AS3 NetStreams

I'm writing an app that requires an audio stream to be recording while a backing track is played. I have this working, but there is an inconsistent gap in between playback and record starting. I don't know if I can do anything to make the sync…
Lowgain
  • 3,254
  • 5
  • 27
  • 30
2
votes
1 answer

How do I disconnect a subrscribed stream from the publisher of the netstream?

I have a publisher who publishes a netstream using stratus p2p. This is then connected to by player who subscribes to the netstream. I believe one can reject the subscriber when the stream tries to connect by using the onPeerConnect method of the…
cammil
  • 9,499
  • 15
  • 55
  • 89
2
votes
3 answers

In AS3 while using NetStream for video playback how do I seek when I use appendBytes

I am trying to use NetStream to play from a byteArray. Please see this for what I am talking about. I am able to get this to play the video. However now I need to be able to see to a particular second. I am not able to do this. If I go through the…
Vidyanand
  • 967
  • 8
  • 14
2
votes
1 answer

Is there a way to write a |RtmpSampleAccess command to a NetStream in data generation mode?

I'm streaming data from a server and passing it into a net stream in data generation mode. I'm successfully wrapping H264 and PCMU to be played back through NetStream, however I need to be able to capture this output from the video display it's on…
2
votes
0 answers

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…
robhawkes
  • 305
  • 1
  • 4
  • 10
2
votes
2 answers

Local video file (.mp4) file not play in MAC OS using netstream (NetStream.Play.StreamNotFound)

I have developed adobe air application using adobe flash builder 4.6 for Windows and Mac OS. Application allow user to download movie (.mp4) file in his system at specific location for play without live streaming. File downloading correctly in both…
mmpatel009
  • 921
  • 4
  • 11
  • 25
2
votes
1 answer

AS3 notification for video first frame

When I play a video in Flash, first, 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…
romulof
  • 357
  • 2
  • 12
2
votes
2 answers

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 send reencoded stream to other user?
a.oberon
  • 193
  • 1
  • 10
1 2
3
16 17