E
E
enchikiben2013-04-22 07:39:10
ActionScript
enchikiben, 2013-04-22 07:39:10

Live broadcast in flash player

Good afternoon, please tell me, I'm a flash player (my own) attached to the camera (flv) and the picture comes with a delay of 2 to 10 seconds (why the delay is not one, too, is a question). How can this be overcome and is it possible at all? so that the picture went straight, I tried to play with the flash buffer, but nothing happened.

the player code is something like this (roughly cut):

connection = new NetConnection();
connection.connect(null);
stream = new NetStream(connection);
stream.bufferTime = 0;
video = new Video(width, height);
movieClip.addChild(video);
video.attachNetStream(stream);

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander N++, 2014-01-02
@sanchezzzhak

bufferTime = 2 do.
Specifies how long messages should accumulate in the buffer before the stream starts to be displayed.
help.adobe.com/en_US/FlashPlatform/reference/actio...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question