Android about streaming (1)

Source: Internet
Author: User

Rarely write blog This form, not very clear how to write to clearly put the meaning I want to express through the text expression. Limited ability to write about the streaming media encountered problems and then my thoughts and the way to deal with. The goal is to write down and deepen an understanding, on the other hand, we have looked at, found out where the wrong or new solutions, can leave comments and comments. 650) this.width=650; "src=" Http://img.baidu.com/hi/tsj/t_0003.gif "alt=" T_0003.gif "/>

Streaming media, personal understanding is simply the form of multimedia files (audio and video) streamed over the network. So Android supports this form of streaming media? Below is a list of some of the network protocols and media formats supported under Android: currently supported network protocols: RTSP (RTP, SDP),Http/https real-time streaming ( HTTPS is not supported prior to Android3.1,Http/https Live streaming (some editions are not supported). So what about Android support for multimedia format and encoding, give everyone a table: Click to see the password is 1494. Project if the server happens to provide the protocols and formats supported by Android. Then there is no need to separate the decoding process, directly can play.

So for the system does not support the flow of protocols, anroid how to deal with it? I have tried basically two aspects for this question. On the one hand, the third-party player framework is used to decode the process. VLC player is recommended, (because it almost supports the mainstream media Transfer protocol on the network, so called Chinese name Universal player) can download the corresponding source code for the Android system on the Internet.

If you have already downloaded the VLC source code and have already been imported into your project (ECLIPSE), the project directory

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/3C/B5/wKioL1PCKhCg5V8RAACvKf4svvc426.jpg "title=" Qq20140713143317.png "alt=" wkiol1pckhcg5v8raacvkf4svvc426.jpg "/> You just imported may not have this directory, you need to re-compile the project, after the successful compilation, This directory is generated in the project, and Lib is the encoding processing that is primarily encoded by CPU-dependent. So for different CPU architectures (CPU instruction set is different, mainly arm series and x86 series). So if you want to support all phones, you must generate at least two encoding libraries for the CPU instruction set. Currently on the market x86 model to understand the Lenovo K800 series after the mobile phone and Asus Zenfone 5, the model is not many, the number of users do not count the specific figures. The mainstream is still arm-structured handsets.

For VLC's compilation, I do not understand, is studying. Because it involves a lot of parameters, do not know what to do, what is the use, but fortunately VLC demo example has been compiled for you two sets of Libs library ARM-V7 and x86. Write so much today. If you are interested in compiling VLC, you can start with the NDK. The latest version r9d, no need to configure the Cygwin, go to the official website to download the configuration of the path is OK (if you have the IDE is already equipped with the CDT).

If you have any questions, please leave a message.


Not to be continued ...


This article is from the "Faith Connaught Group Technology Center" blog, please be sure to keep this source http://sinoteam.blog.51cto.com/9115640/1437573

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.