Flex 4> spark.components.VideoPlayer> How do I switch the bit rate?

The VideoPlayer component (possibly VideoDisplay) is able to somehow automatically select high-quality video in the list that it gave. Example:

http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/spark/components/mediaClasses/DynamicStreamingVideoItem.html#includeExamplesSummary

I can not find the answers to the following questions.

Assuming that the server that transmits the recorded videos is able to switch the same videos with different transfer rates and transfer them from anywhere within its time frame:

  • Is the test / calculation of the bandwidth inside this component performed only before the video starts to play, at which point it selects the best video source and never uses others? Or does he constantly or periodically perform his bandwidth tests and, accordingly, switch between video sources during playback?

  • Does it support the video source setting through the code and can its automatic switching between video sources be turned off (in case I want to provide this function to the user in the form of a button / drop-down list or similar)? I know that the preferred video source can be installed, but it only means that this video source will be checked / taken first.

  • , , Adobe, ?


, , , , , , - , , , ( ). , , , (), , , , . , - .

Thank you for your time.

+3
source share

Source: https://habr.com/ru/post/1783468/


All Articles