A fast switching method for rtmp publishing master and backup
A technology of fast switching, active and standby switching, applied in selective content distribution, image communication, transmission systems, etc., can solve problems such as affecting the live broadcast effect and the inability of the standby machine to connect.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0023] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
[0024] Such as figure 1 In the described embodiment, a kind of RTMP publishes the master-backup fast switching method, specifically comprises the following steps:
[0025] (1) When the main transcoder sends the publish message when pushing the stream to the RTMP server, it adds a special flag to the streamName to indicate that the stream needs to support active / standby switching;
[0026] (2) After the RTMP server detects the special mark, it records the special mark for subsequent processing;
[0027] (3) When the primary transcoder is down, the backup transcoder detects that the heartbeat timeout, upgrades itself to the primary transcoder, and starts to connect to the RTMP server to push streams;
[0028] (4) If the RTMP server establishes a connection, it also adds a special flag when sending the publish message, indicating that the stream...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
