[Solved] Javascript Mediasource play video and audio simultaneously?
if you need to play both of video and sound you need to create 2 source buffers . and as you said . you can play just one of them . so i guess you code is fine . so you need to create 2 buffers . like this my_media_source.addEventListener(“sourceopen”,function (){ var video_source_buffer = my_media_source.addSourceBuffer(video_mimeCodec); … Read more