Android WebRTC Audio and Video Development summary (i)

Source: Internet
Author: User

Android WebRTC Audio and Video Development summary (i) Https://github.com/gandg/webrtc-ios

Contact Android WebRTC for some time now, the research process of some of the experience and knowledge summed up, I hope you have some help. This chapter mainly introduces the following four points:

What is WEBRTC?

WEBRTC is a cross-platform audio and video open source solution offered by Google to make it a standard for audio and video communications. In fact, before Google will webrtc open source, Microsoft and Apple's respective communications products have occupied a large market share (such as Skype), it is estimated that Google is also to quickly expand the market, so choose to open him up.

Second, how to get and compile the WEBRTC code.

1, the Environment preparation : for the newly-started people to compile WEBRTC very headache, especially for those who have not contacted the Linux , although there is a lot of information on the Internet, but the actual compilation process will always appear such or such a mistake, Many errors are at a loss. In fact, the main reason for compiling is that some files are not downloaded (because of national firewall restrictions), so here is the simplest solution to compile WebRTC:

A, buy a paid VPN account.

B, reference:http://www.webrtc.org/reference/getting-started, very detailed, look carefully.

It worked, I've compiled it several times, and if there's a problem you can contact me ( for Andorid developers It's best to use the Ubuntu Environment, not under windows .) )。

Third, run Webrtcdemo.

A, install webrtc/trunk/out/webrtcdemo-debug.apk, he supports point-to-point video, in its Settings tab to set the other IP, Tap the Startcall in the Main tab to start a video call with the other person .

Iv. How to use Apprtcdemo?

Webrtcdemo can be directly to the effect of peer-to, Apprtcdemo need another server (also can directly connect: https://apprtc.appspot.com/, first), and he signed in and joined the room using the XMPP protocol.

V. How to manage the project documents of WEBRTC in different projects?

Because WEBRTC is cross-platform, support Mac,windows,linux, but different platform under the project file format is not the same, such as VisualStudio is. Vcproj, is it a manual creation of your own project files under each development platform? The answer is no, he is managed by the. gyp file. The Gyp file is equivalent to his project description file, similar to the JSON format, when compiled from different platforms according to the. gyp file produces the corresponding format of the project file, such as. vcproj.

Above, if there is wrong place please correct me, the next section introduces Android WebRTC NDK development.

Android WebRTC Audio and Video Development summary (i)

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.