#include "media/remoting/fake_media_resource.h"
#include <vector>
#include "base/functional/callback_helpers.h"
#include "base/memory/raw_ptr.h"
#include "media/base/decoder_buffer.h"
#include "media/base/media_util.h"
#include "testing/gtest/include/gtest/gtest.h"
_;
Invoke;
Return;
namespace media {
namespace remoting {
FakeDemuxerStream::FakeDemuxerStream(bool is_audio) { … }
FakeDemuxerStream::~FakeDemuxerStream() = default;
void FakeDemuxerStream::FakeRead(uint32_t , ReadCB read_cb) { … }
AudioDecoderConfig FakeDemuxerStream::audio_decoder_config() { … }
VideoDecoderConfig FakeDemuxerStream::video_decoder_config() { … }
DemuxerStream::Type FakeDemuxerStream::type() const { … }
StreamLiveness FakeDemuxerStream::liveness() const { … }
bool FakeDemuxerStream::SupportsConfigChanges() { … }
void FakeDemuxerStream::CreateFakeFrame(size_t size,
bool key_frame,
int pts_ms) { … }
FakeMediaResource::FakeMediaResource()
: … { … }
FakeMediaResource::~FakeMediaResource() = default;
std::vector<DemuxerStream*> FakeMediaResource::GetAllStreams() { … }
}
}