#ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_MEDIARECORDER_TRACK_RECORDER_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_MEDIARECORDER_TRACK_RECORDER_H_
#include "third_party/blink/public/platform/modules/mediastream/web_media_stream_sink.h"
#include "third_party/blink/renderer/modules/modules_export.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
namespace WTF {
class String;
}
namespace blink {
template <class MediaStreamSink>
class TrackRecorder : public MediaStreamSink { … };
template <class MediaStreamSink>
TrackRecorder<MediaStreamSink>::TrackRecorder(base::OnceClosure track_ended_cb)
: … { … }
template <class MediaStreamSink>
void TrackRecorder<MediaStreamSink>::OnReadyStateChanged(
WebMediaStreamSource::ReadyState state) { … }
enum class MediaTrackContainerType { … };
MODULES_EXPORT MediaTrackContainerType
GetMediaContainerTypeFromString(const WTF::String& type);
}
#endif