SkyWay Linux SDK
読み取り中…
検索中…
一致する文字列を見つけられません
capturer_video_source.hpp
1
//
2
// capturer_video_source.hpp
3
// skyway
4
//
5
// Created by ogura on 2025/1/10.
6
// Copyright © 2025 NTT Communications. All rights reserved.
7
//
8
9
#ifndef SKYWAY_MEDIA_INTERFACE_CAPTURER_VIDEO_SOURCE_HPP_
10
#define SKYWAY_MEDIA_INTERFACE_CAPTURER_VIDEO_SOURCE_HPP_
11
12
#include <media/base/adapted_video_track_source.h>
13
#include <modules/video_capture/video_capture.h>
14
#include <modules/video_capture/video_capture_factory.h>
15
16
namespace
skyway {
17
namespace
media {
18
namespace
interface {
19
20
class
InternalCapturerVideoSource
:
public
rtc::AdaptedVideoTrackSource,
21
public
rtc::VideoSinkInterface<webrtc::VideoFrame> {
22
public
:
23
virtual
~InternalCapturerVideoSource
() =
default
;
24
};
25
26
class
CapturerVideoSource
{
27
public
:
28
virtual
~CapturerVideoSource
() =
default
;
29
30
virtual
rtc::scoped_refptr<InternalCapturerVideoSource> GetSource() = 0;
31
};
32
33
}
// namespace interface
34
}
// namespace media
35
}
// namespace skyway
36
37
#endif
/* SKYWAY_MEDIA_INTERFACE_CAPTURER_VIDEO_SOURCE_HPP_ */
skyway::media::interface::CapturerVideoSource
Definition
capturer_video_source.hpp:26
skyway::media::interface::InternalCapturerVideoSource
Definition
capturer_video_source.hpp:21
include
skyway
media
interface
capturer_video_source.hpp
構築:
1.9.8