Android IOS WebRTC Audio Video Development Summary (79)--four reasons for WebRTC to choose H.

Source: Internet
Author: User

This paper mainly introduces the reasons for choosing H. WEBRTC (We translate and collate, translator: Weizhenwei, check: Blacker), the earliest published in the " Weaving wind net "

Support original, reprint must indicate the source, welcome attention to my public number blacker (Id:blackerteam or WEBRTCORGCN).

Microsoft recently announced: Edge's ORTC began to support H.264/AVC.

This is the only way to make video calls between Firefox, Chrome, and edge across browsers at the moment. VP8 and VP9 allow you to create video calls between Chrome and Firefox.

For us, what kind of video codec should we choose when developing a WEBRTC-based product?

Last year, the answer could be "VP8."

A few months ago, the answer might be "look at the situation."

Now the answer is, "unless you have to use VP8, you can use H.

Here are four reasons to make a decision like this:

1. Browser Interoperability

If you want your service to be able to cover as many browsers as possible and need video capabilities, then H + is the right choice for you. In a few months, he will receive official support from all browser vendors and final.

In addition, you can expect Apple to first use H. VP8, and then consider using it later, just as Microsoft is now doing on edge.

2. Mobile Domain

Compared to VP8, mobile devices prefer H. Video codecs consume considerable resources; To overcome this problem, the mobile device uses hardware codec. They all support the hardware acceleration of H. D, although developers are not always able to program this. Many mobile device vendors know little about VP8, which boils down to the need for software-WEBRTC to implement VP8 on mobile devices.

For this reason, some developers have replaced VP8 with H. m on mobile devices, especially for products that run only on mobile devices.

While I believe the performance of VP8 on the new chip is improving, it is still a problem to support VP8 on millions of mobile devices that already exist. Now that all browsers support H. VP8 in a variety of ways, why should developers support mobile apps that have to use them?

3. Legacy Video System

Legacy video systems are mainly video conferencing systems, and they use the H + + codec, most of which do not support VP8. Until today, they still support WEBRTC through a special gateway (MCU), or they are not supported at all.

Video transcoding is one of the main obstacles to WEBRTC connected legacy video systems, which consumes resources very much. It is the easiest way to run the system directly, and it is now possible to do so.

This is why Cisco connects to Firefox with Spark. Cisco decided to use H. T in WebRTC instead of transcoding the VP8.

4. Flow rate

Over 60% of the traffic on the Internet is video. Most of this is not real-time video, but non-real-time video like YouTube or Netflix.

Today's video streams are basically H. s, in some cases VP9 (YouTube uses VP9 encoding).

Getting the video content on the iphone requires the HLS protocol, which again means you must use the H + + codec.

So we have two options: when we want to output the video stream, we are going to transcode the video content generated by WEBRTC to H. s, or we can generate the video content directly at the beginning.

Do you need to pay attention?

If your video service is a one-to-one session service with no server-side video processing, then you don't have to pay attention. In this scenario, the final negotiation results for the browser are good enough for you and are probably the best choice for this particular scenario.

If vendors are investing heavily in video processing for VP8, including video recording, blending, routing, and so on, it may be important to retrofit these service-side devices to support H. For them, the move to H. s may be a difficult decision, but a decision that has to be made.

WebRTC the future of video codecs?

Once we look to the future, we may need to focus on VP9.

Then there is the Open Media Alliance, which is committed to developing a widely used, next-generation, patent-free video codec.

From a personal point of view, I am quite disgusted with H. I and everything it represents. But now it must be admitted that it has stayed and developed with WEBRTC.

Translator: Weizhenwei, detailed see: " weaving wind net "

Android IOS WebRTC Audio Video Development Summary (79)--four reasons for WebRTC to choose H.

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.