Patent attributes
A timestamp processing method for streaming media is provided to generate a current output video timestamp and a current output audio timestamp. The method includes the steps of: extracting multiple video data and multiple audio data from a multimedia data; processing the video data to obtain multiple video timestamps; processing the audio data to obtain multiple audio timestamps; initializing a start timestamp; calculating a first characteristic value and a second characteristic value based on multiple target timestamps, which are the video timestamps or the audio timestamps; and updating the start timestamp and using the start timestamp as the current output video timestamp or the current output audio timestamp when the absolute difference between the first characteristic value and the second characteristic value is greater than a threshold value.