Patent ID: 11882170
Assignee: TENCENT AMERICA LLC
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 9:
10. An apparatus for processing events in a media stream, the apparatus comprising:
at least one memory configured to store computer program code;
at least one processor configured to access the computer program code and operate as instructed by the computer program code, the computer program code including:
first obtaining code configured to cause the at least one processor to obtain media data;
first generating code configured to cause the at least one processor to generate, from the media data, one or more event segments;
first appending code configured to cause the at least one processor to append the one or more event segments to a first event processing buffer, the one or more event segments comprising an event start offset for each of the one or more event segments based on a time at which the each of the one or more event segments is appended to the first event processing buffer;
second appending code configured to cause the at least one processor to append the one or more event segments to a second event processing buffer, the one or more event segments comprising event dispatch information for the each of the one or more event segments;
and first dispatching code configured to cause the at least one processor to dispatch the one or more event segments based on the first event processing buffer and the event dispatch information in the second event processing buffer;
second generating code configured to cause the at least one processor to generate one or more new event segments;
first splitting code configured to cause the at least one processor to split the one or more event segments in the first event processing buffer and the second event processing buffer based on event duration of the one or more new event segments; and
first overwriting code configured to cause the at least one processor to overwrite the one or more event segments in the first event processing buffer and the second event processing buffer based on the event duration of the one or more new event segments.