FlexDisplay brake light buffering

I am trying to create a video player application using Adobe Flex and libh264streaming. In a small case, my little player works just fine.

However, if the video is larger than 200-300 MB, I see a bunch of problems:

  1. The browser gets crashes.
  2. It never stops buffering, continues to download until it receives all the videos (300M).
  3. CPU utilization increases in the same way as browser memory usage.

I think 1. and 1. are caused by 2. since the player needs more and more memory to store the video.

I would like to somehow limit the size of the buffer and stop downloading the video as soon as it reaches the limit. I think the YouTube video player works that way (looking at the player control at the bottom of the player).

Any ideas how to implement this in Flex?

+3
source share
4 answers

What is the "libh264streaming"? Google searches for it include only this stream with this exact text. From the description, you say that this is not streaming video at all, but simply providing progressive downloads.

. HTTP , , Flash , (4 ). , , , , ( ), , .

Flash Player RTMP . , Flash Media Server , Red5, rubyizumi. Adobe , RTMP, RTMP. , , . , , , , .

, , , . - , . , .

,


! QA , ( ) careers@blinemedical.com.


+1

VideoDisplay, mp4 (, 1- ). Secondary VideoDisplay , (50% ). , .

, mod_h264_streaming. .

+1

, , , . , , Flash- , , - , , , , VideoDisplay Flex; , -, , , , , VideoDisplay .

, , ; - , .

0

, , lib , , ( -:... " , ? " ", ".

, , ( ) .

- , :

, flex , , ProgressEvent ( -)

, . , , , ...

flash.net.Socket

(http://livedocs.adobe.com/flex/2/langref/flash/net/Socket.html)

0

All Articles