mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-04-18 18:00:31 +00:00
26 lines
645 B
C++
26 lines
645 B
C++
|
|
/*
|
||
|
|
* Copyright (c) 2026, Gregory Bertilson <gregory@ladybird.org>
|
||
|
|
*
|
||
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
||
|
|
*/
|
||
|
|
|
||
|
|
#include <LibWeb/MediaSourceExtensions/TrackBuffer.h>
|
||
|
|
#include <LibWeb/MediaSourceExtensions/TrackBufferDemuxer.h>
|
||
|
|
|
||
|
|
namespace Web::MediaSourceExtensions {
|
||
|
|
|
||
|
|
TrackBuffer::TrackBuffer(NonnullRefPtr<TrackBufferDemuxer> demuxer)
|
||
|
|
: m_demuxer(move(demuxer))
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
TrackBuffer::~TrackBuffer() = default;
|
||
|
|
|
||
|
|
// https://w3c.github.io/media-source/#track-buffer-ranges
|
||
|
|
void TrackBuffer::track_buffer_ranges() const
|
||
|
|
{
|
||
|
|
// FIXME: Return the presentation time ranges occupied by the coded frames currently stored in the track buffer.
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|