blob: 0227219b3ff0ff527aafae8ef65df4e1de65a352 [file] [log] [blame]
RUN(video.src = URL.createObjectURL(source))
EVENT(sourceopen)
RUN(sourceBuffer = source.addSourceBuffer("video/mock; codecs=mock"))
RUN(sourceBuffer.appendBuffer(initSegment))
EXPECTED (sourceBuffer.updating == 'true') OK
EVENT(updatestart)
EVENT(update)
EVENT(updateend)
EXPECTED (sourceBuffer.updating == 'false') OK
EXPECTED (sourceBuffer.videoTracks.length == '1') OK
EXPECTED (sourceBuffer.audioTracks.length == '2') OK
EXPECTED (sourceBuffer.textTracks.length == '3') OK
END OF TEST