ebml

Webm file could not play when MediaRecorder on Chrome does not provide the cluster?

ぃ、小莉子 提交于 2020-06-29 05:15:13
问题 Background : I need to play each webm file individually which are created by MediaRecorder According to Brad’s suggestion, we need to split the data on the cluster element 0x1F43B675 , and prepend everything before the first cluster to a later cluster I have splitted the data on cluster instances, and made a webm file with header(data before first cluster) and splitted data. For this what I am doing inside the ondataavailable of MediaRecorder API, // below statements would be executed from

How to play WEBM files individually which are created by MediaRecorder

霸气de小男生 提交于 2020-06-22 03:36:50
问题 For recording audio and video, I am creating webm files under the ondataavailable of MediaRecorder API. I have to play each created webm file individually. Mediarecorder api inserts header information into first chunk (webm file) only, so rest of the chunks do not play individually without the header information. As suggested link 1 and link 2, I have extracted the header information from first chunk, // for the most regular webm files, the header information exists // between 0 to 189 Uint8

How to play WEBM files individually which are created by MediaRecorder

天涯浪子 提交于 2020-06-22 03:34:25
问题 For recording audio and video, I am creating webm files under the ondataavailable of MediaRecorder API. I have to play each created webm file individually. Mediarecorder api inserts header information into first chunk (webm file) only, so rest of the chunks do not play individually without the header information. As suggested link 1 and link 2, I have extracted the header information from first chunk, // for the most regular webm files, the header information exists // between 0 to 189 Uint8