Technical points for obtaining real-time screen recording in Douyin live broadcast room and push streaming address in Douyin live broadcast room

difference:

The path used to obtain the screen recording and push streaming address in the live broadcast room of Douyin is different. The address used for real-time screen recording in the live broadcast room is rtmp_pull_url, as follows:

http://pull-flv-l13.douyincdn.com/stage/stream-683899929302663608_or4.flv

The push URL in the live broadcast room is rtmp_push_url (the one with the signature), as follows:

rtmp://push-rtmp-l26.douyincdn.com/stage/stream-107439458118533259?expire=5f762314&sign=76b81223b953523023c75075f2323df94442

use:

Screen recording in the live room is to record the live broadcast room screen of the host in real time and save it on the local computer;

After the live streaming address is obtained, you can perform secondary streaming media push to achieve the effect of no + people + direct + broadcasting. You should have seen a lot of live streaming rooms playing pre-recorded videos (audio) or movies, just through The push tool pushes the streaming media to the push address to achieve.

Key points:

Real-time screen recording is not too difficult for those who know how to do it. The main thing is to perform real-time transmission of rtmp (real-time message transmission protocol) and then download to the local;

The streaming address can only be obtained using the host’s own device information and cookies (otherwise it may be judged as a violation). After obtaining it, you can directly use ready-made tools such as obs to push the stream to achieve no + people + direct + broadcasting.

Demo:

Simply made two tools and grew into the following! !

While recording the screen, it can also be played synchronously through the flv player.

If necessary, you can directly contact the +- department, my vx: YY_yhzf

Guess you like

Origin blog.csdn.net/nanxiaotiantian/article/details/108787482