# US 2024/0205463 A1 · Recording and push-based streaming method and apparatus, device, and medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0205463 A1
- Document ID: US20240205463A1
- Status: Published application
- Kind: A1
- Application number: 18/555,506
- Filed: 2022-04-15
- Published: 2024-06-20
- Earliest claimed: 2021-04-15
- Assignees: Beijing Bytedance Network Technology Co., Ltd.
- Applicants: Beijing Bytedance Network Technology Co., Ltd.
- Inventors: Dongpeng LIN
- Web page: https://patentgrep.com/patent/US20240205463A1

## CPC

- H04N 21/233: Processing of audio elementary streams {(monitoring, identification or recognition of audio in broadcast systems H04H60/58)}
- H04N 21/2187: Live feed
- H04N 21/2389: Multiplex stream processing, e.g. multiplex stream encrypting
- H04N 21/2402: {Monitoring of the downstream path of the transmission network, e.g. bandwidth available (traffic monitoring in data switching networks H04L43/00; monitoring data switching networks utilization H04L43/0876)}
- H04N 21/439: Processing of audio elementary streams
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An embodiment of the present disclosure relates to a recording and push-based streaming method and apparatus, a device, and a medium. The method includes: collecting audio recording data through a target program running in a background during a live streaming process; acquiring preset audio data when determining that there is a recording failure; and replacing the audio recording data with the preset audio data and sending the preset audio data to a push-based streaming terminal for push-based streaming.

## Claims

### Claim 1

A recording and push-based streaming method, comprising: collecting audio recording data during a live streaming process;
acquiring preset audio data when determining that there is a recording failure; and
replacing the audio recording data with the preset audio data and sending the preset audio data to a push-based streaming terminal for push-based streaming.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the determining that there is the recording failure comprises:
acquiring a timestamp of the audio recording data at a preset time interval; and
determining that there is the recording failure when the timestamp of the audio recording data stops updating.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the preset audio data is white noise, and a size and/or a callback and output frequency of the preset audio data are the same as a size and/or a callback and output frequency of the audio recording data.

### Claim 4 (depends on 1)

The method according to claim 1, wherein after determining that there is the recording failure, the method further comprises:
starting a background keep-alive operation for the target program.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the starting the background keep-alive operation for the target program comprises:
keeping running of the target program in the background by looping target audio data in a silent state.

### Claim 6 (depends on 1)

The method according to claim 1, further comprising:
displaying recording failure prompt information to a user; and
switching, based on a triggering operation of the user, the target program from running in the background to running in a foreground, and restarting a recording switch of the target program to resume the collecting of the audio recording data.

### Claim 7 (depends on 1)

The method according to claim 1, further comprising:
stopping a background keep-alive operation of the target program, and replacing the preset audio data with re-collected audio recording data and sending the re-collected audio recording data to the push-based streaming terminal.

### Claim 8

A recording and push-based streaming apparatus, comprising:
at least one processor and a memory;
the memory stores a computer executable instruction; and
the at least one processor executes the computer executable instruction stored in the memory to enable the at least one processor to:
collect audio recording data during a live streaming process;
acquire preset audio data when determining that there is a recording failure; and
replace the audio recording data with the preset audio data and sending the preset audio data to a push-based streaming terminal for push-based streaming.

### Claim 9

(canceled)

### Claim 10

A non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores a computer program that, when executed by a computing device, the computer program enables the computing device to:
acquire audio recording data during a live streaming process;
acquire preset audio data when determining that there is a recording failure; and
replace the audio recording data with the preset audio data and send the preset audio data to a push-based streaming terminal for push-based streaming.

### Claim at position 11

11-12. (canceled)

### Claim 13 (depends on 2)

The method according to claim 2, wherein the preset audio data is white noise, and a size and/or a callback and output frequency of the preset audio data are the same as a size and/or a callback and output frequency of the audio recording data.

### Claim 14 (depends on 2)

The method according to claim 2, wherein after determining that there is the recording failure, the method further comprises:
starting a background keep-alive operation for the target program.

### Claim 15 (depends on 3)

The method according to claim 3, wherein after determining that there is the recording failure, the method further comprises:
starting a background keep-alive operation for the target program.

### Claim 16 (depends on 2)

The method according to claim 2, further comprising:
displaying recording failure prompt information to a user; and
switching, based on a triggering operation of the user, the target program from running in the background to running in a foreground, and restarting a recording switch of the target program to resume the acquiring of the audio recording data.

### Claim 17 (depends on 3)

The method according to claim 3, further comprising:
displaying recording failure prompt information to a user; and
switching, based on a triggering operation of the user, the target program from running in the background to running in a foreground, and restarting a recording switch of the target program to resume the acquiring of the audio recording data.

### Claim 18 (depends on 8)

The recording and push-based streaming apparatus according to claim 8, wherein the at least one processor is further enabled to:
acquire a timestamp of the audio recording data at a preset time interval; and
determine that there is the recording failure when the timestamp of the audio recording data stops updating.

### Claim 19 (depends on 8)

The recording and push-based streaming apparatus according to claim 8, wherein the preset audio data is white noise, and a size and/or a callback and output frequency of the preset audio data are the same as a size and/or a callback and output frequency of the audio recording data.

### Claim 20 (depends on 8)

The recording and push-based streaming apparatus according to claim 8, wherein after determining that there is the recording failure, the at least one processor is further enabled to start a background keep-alive operation for the target program.

### Claim 21 (depends on 20)

The recording and push-based streaming apparatus according to claim 20, wherein the at least one processor is further enabled to:
keep running of the target program in the background by looping target audio data in a silent state.

### Claim 22 (depends on 8)

The recording and push-based streaming apparatus according to claim 8, wherein the at least one processor is further enabled to:
display recording failure prompt information to a user; and
switch, based on a triggering operation of the user, the target program from running in the background to running in a foreground, and restart a recording switch of the target program to resume the acquiring of the audio recording data.

### Claim 23 (depends on 8)

The recording and push-based streaming apparatus according to claim 8, wherein the at least one processor is further enabled to:
stop a background keep-alive operation of the target program, and replace the preset audio data with re-acquired audio recording data and send the acquired audio recording data to the push-based streaming terminal.
