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

netStream seek on Android for Adobe Air

I have net stream that plays mp4 files form Amazon S3. Currently when I call _ns.seek(time) if the file is buffered to that point the seek will work, else it will wait until the video is linear buffered to start playing. How to make the net stream…
Tree
  • 29,135
  • 24
  • 78
  • 98
0
votes
1 answer

Flash How do flush or empty netstream buffer

I'm experiencing an issue with a 20 video Flash project. We're calling the videos from a local source, and FLVPlayback is opening netstreams and generating this huge Uncategorized chunk of memory. Upon further inspection, it turns out that it's a…
JWhiteUX
  • 47
  • 9
0
votes
1 answer

Can a NetStream publisher in Flash pause their stream?

I'm working on a webcam video streaming application utilizing Flash 8 (AS2) and Flash Media Server 3. Streaming the video live is fairly trivial, but I want to give the publisher the ability to pause their stream, effectively giving the people…
Herms
  • 37,540
  • 12
  • 78
  • 101
0
votes
0 answers

Absolute path for Flash Netstream works in IDE but not on IIS webserver

I have a Flash player application that plays movies and, if I give it a relative URL, it works fine in the IDE (Flash Pro CC) and on the webserver. The problem is that I need to play a movie that is on the webserver, but in a folder outside of the…
swabygw
  • 813
  • 1
  • 10
  • 22
0
votes
1 answer

How to troubleshoot video problems in the publication - AS3

today my problem is this: I have a transparent FLV video, and he's on my stage. In pubblicação to Flash Player it works perfectly, but for desktop, Android and IOS it does not appear ... Already tried everything on video, NetStream and etc ... If…
Silvio Luis
  • 193
  • 1
  • 3
  • 11
0
votes
1 answer

GetBytes returning different size than data byte actually is

The following code iterates through a List() however the problem is that for some reason, sometimes the lengthBuffer is a different size of the byteData. You can see in the DebugPrintInGame method that I print the BitConverter.ToInt32()…
Euthyphro
  • 700
  • 1
  • 9
  • 26
0
votes
1 answer

NetStream: dual threshold buffering, and seeking beyond buffer

This was a helpful article about dual threshold buffering. It explains that you can listen for the NetStream.Buffer.Full and NetStream.Buffer.Empty events on a NetStream and adjust the NetStream's buffer time accordingly to make the best use of…
Rob Allsopp
  • 3,309
  • 5
  • 34
  • 53
0
votes
0 answers

Netstream.publish fails to publish live data when embeded in html but works fine when tested in flash professional

I have a small as3 app which is supposed to be embedded in a page and will push webcam and audio to a fastly ingest server. When I test it using ctrl+enter in flash professional it works perfectly, when I embed it in the html page it acts like its…
jjonesuk
  • 1
  • 1
0
votes
1 answer

Seek in embedded FLV with Haxe

In an Haxe project with flash 10 as only target, I would like to seek in an embedded FLV. I tried to do that using the NetStream class and the appendBytes method but I found out that this method can't work because the seek method flushes the buffer…
JuCachalot
  • 1,010
  • 4
  • 15
  • 27
0
votes
1 answer

Publish stream as a record using .flv and microphone

At the beginning i would like to say sorry for my english. I would like to publish stream as a record on my RED5 server but i have a problem because i want to save .flv + voice from my microphone on my server. I'm trying to connect to my red5…
user3015215
  • 97
  • 1
  • 10
0
votes
1 answer

How to get netstream bytesLoaded and bytesTotal from streaming .mp4?

I have a flex 3 app that uses netstream and a video object to stream .mp4 movies. I want to use the bytesLoaded and bytesTotal properties of the netstream to display the buffering information. I would also like to get any information about the…
Amy
  • 109
  • 3
  • 16
0
votes
2 answers

AS3: Showing bufferlength of NetStream

I am trying to show the buffered amount of a video that is playing. I am using netstream.bufferLength to do this and it kinda seems to be right. Exept from the fact that it is almost constantly the same amount that is buffered. This can't be…
Tinelise
  • 386
  • 4
  • 16
0
votes
1 answer

How to automatically resume playback of a Flash video after a temporary FMS disconnect/re-connect

My custom built Flash video player (AS3) has code in it to automatically recover from temporary losses of connectivity with the Flash Media Server from which it is streaming video. The code works essentially like this: On…
Robert
  • 828
  • 2
  • 13
  • 28
0
votes
1 answer

ActionScript Netstream publish stage

is it possible to use NetStream to publish the stage constantly to a FMS? I have tried to attach a camera to the netstream which works perfectly. However I want to publish a stream showing the stage and all its elements / objects including the case…
0
votes
2 answers

Netstream seekToNavCuePoint

Found this code working properly with FlvPlayback. I have stored cuepoints within flv files. it works perfectly. bkbut.addEventListener(MouseEvent.CLICK,movie1); function movie1(evt:MouseEvent):void{ rmys01.seekToNavCuePoint("chap01"); } How…