Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Start-stop audio fault tolerance method and system in RTMP audio and video plug flow under Android platform

A technology of audio, video and audio, which is applied in the field of mobile application development and streaming media, can solve the problems of stuck playback screen and playback failure, and achieve the effect of overcoming the stuck playback screen

Active Publication Date: 2021-06-25
COMP NETWORK INFORMATION CENT CHINESE ACADEMY OF SCI
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The present invention aims to implement a fault-tolerant method and system based on the Android platform that can start and stop audio during the RTMP audio and video push process, and can solve the problem that the playback screen will be stuck when the recording end starts and stops the audio during the RTMP audio and video push process. The problem of playback failure has expanded the application scenarios of streaming media technology and improved the user experience of recording end

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Start-stop audio fault tolerance method and system in RTMP audio and video plug flow under Android platform
  • Start-stop audio fault tolerance method and system in RTMP audio and video plug flow under Android platform
  • Start-stop audio fault tolerance method and system in RTMP audio and video plug flow under Android platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to further illustrate the implementation cases, the present invention provides accompanying drawings for description. These drawings are part of the content of the present invention, and can be used to explain the operating principle in conjunction with the relevant descriptions in the specification. With these contents, those skilled in the art can understand the specific implementation and deployment of the present invention and its advantages.

[0027] For an RTMP audio / video or pure audio stream in the Android system, the streaming process of audio data is as follows: figure 1 As shown, the description is as follows:

[0028] 1. Configure parameters and initialize the AudioRecord constructor;

[0029] 2. Initialize and start the encoder;

[0030] 3. Start collecting sound data;

[0031] 4. Continuously read the collected sound data and put it into the input buffer of the encoder for encoding;

[0032] 5. Continuously fetch the encoded data from the enc...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a start-stop audio fault tolerance method and system in RTMP audio and video stream pushing under an Android platform, and relates to the technical field of mobile application development and streaming media. The method comprises the steps: setting a private static member variable and a public member method during recording, and in the case of audio pause during pushing, through the static member variable, indicating and changing the state; calling the pre-recorded silent audio frame through the member method to seamlessly join the audio stream for pushing, thereby solving the problems that the playing picture is stuck and the playing fails due to the fact that the recording end starts and stops the audio in the RTMP audio and video stream pushing process.

Description

technical field [0001] The invention relates to the technical fields of mobile application development and streaming media, and relates to a fault-tolerant method and system for starting and stopping audio in RTMP audio and video push streaming on an Android platform. Background technique [0002] With the rapid development of mobile Internet technology, the comprehensive popularization of 4G networks and the rapid deployment of 5G networks, many emerging industries have been born, among which the most popular are streaming media industries such as live broadcasting and surveillance. The process of live video broadcasting can be roughly divided into six steps: acquisition, processing, encoding and encapsulation, streaming to the server, server streaming distribution, and player streaming playback. [0003] Acquisition is the first link in the entire video streaming process. It obtains the original video data from the system's acquisition device and outputs it to the next lin...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04N21/2343H04N21/433H04N21/439H04N21/4402H04N21/6437H04N21/81
CPCH04N21/4334H04N21/2343H04N21/4402H04N21/6437H04N21/4398H04N21/8106
Inventor 李翀张金杰张士波刘学敏王宇宸
Owner COMP NETWORK INFORMATION CENT CHINESE ACADEMY OF SCI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products