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
1
vote
0 answers

in flash player, how to play h.264 stream immediately

There's a server, which sends an AVCDecoderConfigurationRecord tag and continuous H264 video tags. In the client, I use NetStream and appendBytes (Data Generation Mode) to display the video. The code likes that video = new…
jack lee
  • 11
  • 2
1
vote
2 answers

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…
andsve
  • 728
  • 1
  • 8
  • 18
1
vote
0 answers

Syncing javascript with AS3 netstream

We are trying to get super accurate timings in an flv video in relation to javascript. For example, we are using javascript to display an element in a canvas on the screen, and we need to pinpoint the exact frame that the image occurs in on the…
1
vote
2 answers

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

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…
niedakh
  • 2,819
  • 2
  • 20
  • 19
1
vote
1 answer

Adobe AIR stream publish breaks on iOS devices

I am using Adobe Air 13.0 to upload a streaming video to Flash Media Server. This works fine on all Android devices, but on iOS devices (both iPad and iPhone) the publish stream breaks after several time (could be 10 seconds, could be 5…
Koby Douek
  • 16,156
  • 19
  • 74
  • 103
1
vote
1 answer

Playing AAC (ADTS) file with Netstream Appendbytes

I want to know if it's really possible to play an AAC (ADTS header) file with Netstream.appendbytes. I'm talking about files that end .aac not AAC audio inside M4A or MP4 containers. I'm aware Netstream can't parse ADTS headers etc so I already have…
VC.One
  • 14,790
  • 4
  • 25
  • 57
1
vote
1 answer

NetStream.publish() to AMS ends up with 1kb file

I'm using Adobe Media Server 4.5 and the FLEX 4.6.0 sdk. I have an .swf application that connects to Adobe Media Server over RMTP, takes audio and video input from the user's webcam and mic, and does a NetStream.publish() to stream the file to the…
user773737
1
vote
0 answers

How to restart a frozen NetStream AS3?

I have the following code in my AS3 project: nc.addEventListener(NetStatusEvent.NET_STATUS, netConnectionStatus); netRemoteStream.addEventListener(NetStatusEvent.NET_STATUS,…
Pimager
  • 169
  • 1
  • 3
  • 12
1
vote
3 answers

TotalTime of a stream - Video Flash Player AS3

Goodmorning, I'm working on a video flash player to stream. What I want to do, is to display the total time of the stream and not the time since the user is watching the stream. I have a problem now, is that when I pause then play the video, the…
Daelis
  • 45
  • 1
  • 11
1
vote
2 answers

Fade out a NetStream after the video finishes playing using ActionScript

I am working on a real estate website, there will be multiple properties each with it's own home page. Each property home page will a different intro video that will play after the page loads. I am using Flash to play the video, getting the video…
1
vote
1 answer

Pausing a NetStream while publishing

I have this hack-y solution for pausing and unpausing the NetStream that I'm publishing. Upon playback, it does a nice jump-cut, but then after that it freezes in place for the amount of time that you stayed paused. If you were to record 5 seconds,…
user773737
1
vote
3 answers

ActionScript 3.0 How can I send multidimensional array of objects over network

I am new to this part of AS 3.0. I found the example by Lee Burrows. That works fine, but I need to send a complex array of objects or at least multidimensional array. And I can't get it to work. Struggling with it for a week. Can anyone help? Here…
1
vote
1 answer

streaming video player / attaching video(not camera) to NetStream in actionscript 3

I am new to actionscript, basically i am trying to stream video player but we can't use attachVideo in as3 so what can i use instead of attachVideo in following code? Im using flash builder/flex 4.6 . If you could suggest link/tutorial for streaming…
1
vote
1 answer

Actionscript NetStream.play drops port in relative URLs

the current page my flash application is running from is http://localhost:3000/. I'm trying to play a video using NetStream.play(relativeURL) by using a relative URL (e.g. "myVideo.flv"), but when I look at the actual request made by actionscript,…
Steve Middleton
  • 181
  • 4
  • 13
1
vote
0 answers

PHP Streaming no metadata when seek at a position

I am using PHP to stream video file everything is working until a try to start from a position the problem that when i load the video file with a start position for example ns.play('flvprovider.php?file=video.flv&pos=156212'); it will seek but i…