#include "third_party/blink/renderer/modules/breakout_box/media_stream_track_generator.h"
#include "third_party/blink/public/mojom/use_counter/metrics/web_feature.mojom-blink.h"
#include "third_party/blink/public/platform/platform.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_media_stream_track_generator_init.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/core/streams/writable_stream.h"
#include "third_party/blink/renderer/core/streams/writable_stream_transferring_optimizer.h"
#include "third_party/blink/renderer/modules/breakout_box/media_stream_audio_track_underlying_sink.h"
#include "third_party/blink/renderer/modules/breakout_box/media_stream_video_track_underlying_sink.h"
#include "third_party/blink/renderer/modules/breakout_box/pushable_media_stream_audio_source.h"
#include "third_party/blink/renderer/modules/breakout_box/pushable_media_stream_video_source.h"
#include "third_party/blink/renderer/modules/mediastream/media_stream_utils.h"
#include "third_party/blink/renderer/modules/mediastream/media_stream_video_track.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"
#include "third_party/blink/renderer/platform/instrumentation/use_counter.h"
#include "third_party/blink/renderer/platform/mediastream/media_stream_audio_track.h"
#include "third_party/blink/renderer/platform/mediastream/media_stream_component_impl.h"
#include "third_party/blink/renderer/platform/mediastream/media_stream_source.h"
#include "third_party/blink/renderer/platform/wtf/uuid.h"
namespace blink {
MediaStreamTrackGenerator* MediaStreamTrackGenerator::Create(
ScriptState* script_state,
const String& kind,
ExceptionState& exception_state) { … }
MediaStreamTrackGenerator* MediaStreamTrackGenerator::Create(
ScriptState* script_state,
MediaStreamTrackGeneratorInit* init,
ExceptionState& exception_state) { … }
MediaStreamComponent* MediaStreamTrackGenerator::MakeMediaStreamComponent(
ScriptState* script_state,
MediaStreamSource::StreamType type) { … }
MediaStreamTrackGenerator::MediaStreamTrackGenerator(
ScriptState* script_state,
MediaStreamSource::StreamType type)
: … { … }
WritableStream* MediaStreamTrackGenerator::writable(ScriptState* script_state) { … }
PushableMediaStreamVideoSource* MediaStreamTrackGenerator::PushableVideoSource()
const { … }
void MediaStreamTrackGenerator::CreateVideoStream(ScriptState* script_state) { … }
void MediaStreamTrackGenerator::CreateAudioStream(ScriptState* script_state) { … }
void MediaStreamTrackGenerator::Trace(Visitor* visitor) const { … }
}