Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Example Analysis of client push tool PUSH RTMP

2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

Client push tool PUSH RTMP example analysis, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain in detail for you, people with this need can come to learn, I hope you can gain something.

Joint broadcasting scheme

There are many joint broadcasting schemes in the market, mainly divided into CDN joint broadcasting and RTC joint broadcasting. Among them, CDN joint broadcasting is delayed and unstable. I will focus on the RTC joint broadcasting scheme below.

Solution 1: server confluence

Advantages:

The ironing is not serious, and the power loss is small.

When the network condition of the client is bad, it will have little impact on the live broadcast.

Inferior position

Too expensive: cloud service providers on the market charge by minutes

Large delay: audio and video streams are transferred through the server and synthesized and transcoded in the non-bypass push service for push.

Solution 2: client confluence

Advantages:

Save money: there is no need to pay for bypass push

Small delay: the VJ pushes the stream directly, reducing the delay loss in the transmission process.

Inferior position

Hot mobile phone: push the stream directly on the mobile end, which consumes the performance of the mobile end.

In the weak network environment, it affects the effect of live broadcasting, and the VJ sends two streams to test the uplink network of the VJ.

Push assistant

Push assistant is the second solution above, the shortcomings of this scheme will make the phone hot, but this small sacrifice is not worth it to save money.

Under what circumstances do I use push assistant?

Audio joint broadcasting: the performance consumption of audio joint broadcasting equipment is relatively small, and the bandwidth consumption is also relatively low. The best effect of saving money and low delay can be achieved by using this scheme.

Video competition mode: two people conduct LVB joint broadcasting, which consumes relatively little bandwidth and performance on the client. The client's energy loss is within the acceptable range, why not use it?

Single VJ mode: the client in single VJ mode pushes streams directly without transcoding. No loss of client performance.

Multi-person joint broadcasting, number of joint broadcasting > 2: when the number of joint broadcasting is greater than 2, the maximum number of joint broadcasting users when using push assistant is no more than 6. For joint broadcasting with more than 6 people, it is recommended to use server-side non-interactive push.

Excellent way to save money and join broadcasting

Most of the joint broadcasting methods on the market are in the way of server-side confluence, which is nothing more than a rich cake for RTC providers. Now the price of RTC on the market has become white-hot, and everyone has begun to increase income with value-added services, so the joint broadcasting mode on the market does not exist in the form of the above plan II. When anyRTC launches the push assistant, it also supports non-interactive push on the server. When you use the push assistant, SDK will return the current network situation to the customer. If the network condition is poor, you can seamlessly cut to the server to bypass push. When the client network is good, you can switch back to the client push. The viewer is unaware of the whole process. This method not only effectively saves the traffic cost of the enterprise, but also greatly improves the efficiency of live broadcasting.

When the client network is poor, turn off the local push and enable the server side bypass push client network. When the server side bypass push is good, turn on the local push.

The push assistant function introduces the push method.

Live video broadcasting and audio joint broadcasting

Live video broadcasting and joint video broadcasting

Audio live broadcasting, audio joint broadcasting

Live video broadcasting, audio joint broadcasting / video joint broadcasting can be switched between each other

Set LVB push transcoding

User View layout

Background color

Watermark

Expanding Information-SEI

Audio sampling rate / Channel / Audio coding format

Video resolution / bit rate / frame rate and video coding format of the output

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report