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 is causing my video to stop

My video plays just fine. If I do a netStream.seek(0) that works fine. If I so much as netStream.seek(1) then my stream finishes on the spot and stops back to zero. However, if I play my file in http://support.akamai.com/flash/ then it scrubs just…
Jacksonkr
  • 31,583
  • 39
  • 180
  • 284
0
votes
0 answers

Where is flash's Secret Buffer, and can I kill it?

Perhaps a more accurate and less catchy title would be: Why does my live stream gain delay when the browser window is hidden, and how do I prevent/undo it? I'm sending a live stream (packaged as an FLV file) to a flash player via a NetStream, and…
Cephron
  • 1,577
  • 1
  • 19
  • 26
0
votes
1 answer

Greensock/LoaderMax, Transforming properties of F4V's parent class

I have created a Player class which extends MovieClip and contains an array of F4V files being loaded via LoaderMax.parse ... In my Main Document Class Main I want to transform properties of the entire Player class (x, y, alpha, scale, etc.) however…
MaxG
  • 213
  • 1
  • 9
0
votes
0 answers

How to play a rtmp url at a particular time like 11.30 PM?

I want to play a url using netstream at a particular time like 11.30 PM. CurrentDateTime = new Date(); CurrentDF = new DateFormatter(); CurrentDF.formatString = "LL:NN:SS A" DateTime= CurrentDF.format(CurrentDateTime); if(DateTime=="11:30:00…
divya
  • 81
  • 4
  • 13
0
votes
1 answer

When NetConnection video finishes, move to first frame of presentation

Good morning and thanks for taking a look. This is AS2, not AS3. I've used this presentation setup for a couple of years now and I've yet to figure out how to make it jump from the video back to the 1st frame again. I usually just render out an…
user
  • 113
  • 1
  • 9
0
votes
1 answer

Flex P2P multiple receivers from the same published NetStream

I'm doing P2P for my chat room. I can use Cirrus and transfer audio cum video well from 1 user to another. This is 1-to-1 transfer. However, now, the scenario is a little bit different. I need to do 1-to-multiple transfer. User1 publishes a…
jondinham
  • 8,271
  • 17
  • 80
  • 137
0
votes
1 answer

flash. AS3. Save NetStream to a local file?

I want to ask how to save video and audio content that I'm loading from some site through a NetStream as an FLV file. Is there any possible way to do this? var ns:NetStream = new NetStream(nc); ns.play('http://somefile.com/file.flv'); var…
el Dude
  • 5,003
  • 5
  • 28
  • 40
0
votes
1 answer

Video can not be played by NetStream on iOS

I build a view-base mobile project in Flash Builder 4.6, which aims to play a video on remote machine. The project works well in Flash Builder. When exported, installed on iPad and iPhone 4S, the aim failed. I tried to output the relevant event and…
kobee
  • 9
  • 3
0
votes
1 answer

Stage3D causes fullscreen (Stage)Video to lag/jitter

I'm having some serious problems with flash at the moment. I have a swf loaded that uses Stage3D, displaying 3D content. When I overlay a video player, on full screen size, it will cause massive lag/jitter in the video content. The video content is…
Kevin Toet
  • 367
  • 4
  • 16
0
votes
1 answer

Add metadata to flv files with ffmpeg instead of flvmdi

I have made a player for stream flv movies in flash with netstream but it needs some metadata information named " keyframe " containing two array of times and positions , some flv videos have this meta data and some not , i could add the keyframe…
user1476852
  • 1
  • 1
  • 2
0
votes
1 answer

Flash NetStream.seek method works in local tests but not on server

I have a 20 minute FLV which streams just fine on server. Client would like to preserve user's locations between sessions so time() is saved to mySQL and passed back in as a FlashVar and is (if set) fed to seek() and to a text field for testing. …
jerrygarciuh
  • 21,158
  • 26
  • 82
  • 139
0
votes
1 answer

How to reference what onMetaData belongs to

I'm developing a multi-flv preloader, loading up to 10 videos and playing them back to back. I create a videoplay object with an array of 10 objects. These 10 objects each have a netstream and an onMetaData.. My question is; when onMetaData is…
user967007
0
votes
0 answers

Seeking/Stopping/Playing embedded flv as byteArray with NetStream

I have encoded several flv's as a bytearray and saved them to separate files. My project is a projector project that loads the files from the local drive so i'm not really streaming. I load in the file and decode it and save it as a bytearray. Then…
Kevin Toet
  • 367
  • 4
  • 16
0
votes
2 answers

flash/AS3 netstream loading/buffering very slow, what am I missing?

My custom movieplayer uses the following code for playing video. It takes a really long time for the clip to start playing, but once it does, you can skip directly to the end. I have a feeling that there is some knowledge I'm missing in how buffers…
joon
  • 832
  • 13
  • 31
0
votes
2 answers

How to customize stream protocol to flash client

I need to create a custom communication between server and flash client. For example I want to write UDP protocol using error correction. It is much faster than TCP and does not suffer from routing problem. Unfortunately I absolutely cannot think of…
sergman
  • 171
  • 1
  • 2
  • 12
1 2 3
16
17