Patent ID: 11908481
Assignee: BEIJING DAJIA INTERNET INFORMATION TECHNOLOGY CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 0:
1. A method for encoding live-streaming data, applicable to an encoding device, the method comprising:
acquiring first state information associated with a current data frame, wherein the current data frame is a data frame in the live-streaming data;
generating backup state information by backing up the first state information;
generating a first encoded data frame by encoding the current data frame based on a first bit rate and the first state information, wherein the first state information is updated upon completion of the encoding;
generating reset state information by resetting the updated first state information based on the backup state information, wherein the reset state information is consistent with the first state information prior to the updating;
generating a second encoded data frame by encoding the current data frame based on a second bit rate and the reset state information, wherein the second bit rate is different from the first bit rate; and
generating a first target data frame corresponding to the current data frame based on the first encoded data frame and the second encoded data frame.