blob: 01328b4880d5717b4a59920511694cf035d9c455 [file] [log] [blame]
RUN(video.src = URL.createObjectURL(mediaSource))
EVENT(sourceopen)
RUN(mediaSource.duration = loader.duration())
RUN(sourceBuffer = mediaSource.addSourceBuffer(loader.type()))
RUN(sourceBuffer.appendBuffer(loader.initSegment()))
EVENT(update)
EXPECTED (internals.mediaUsageState(video).hasVideo == 'true') OK
EXPECTED (internals.mediaUsageState(video).hasAudio == 'true') OK
END OF TEST