blob: a4b663678db8406c7c9cfa002d51593a6dd84c3f [file] [log] [blame]
EVENT(sourceopen)
RUN(sourceBuffer = source.addSourceBuffer("video/mock; codecs=mock"))
RUN(sourceBuffer.appendBuffer(initSegment))
EVENT(updateend)
EXPECTED (video.duration == '0') OK
RUN(sourceBuffer.appendBuffer(sample))
EVENT(updateend)
EXPECTED (video.duration == '10') OK
END OF TEST