Repo created
This commit is contained in:
parent
81b91f4139
commit
f8c34fa5ee
22732 changed files with 4815320 additions and 2 deletions
|
|
@ -0,0 +1,30 @@
|
|||
#ifndef TGCALLS_VIDEO_CAPTURER_TRACK_SOURCE_H
|
||||
#define TGCALLS_VIDEO_CAPTURER_TRACK_SOURCE_H
|
||||
|
||||
#include "pc/video_track_source.h"
|
||||
#include "api/video/video_sink_interface.h"
|
||||
#include "media/base/video_broadcaster.h"
|
||||
|
||||
#include "VideoCameraCapturer.h"
|
||||
|
||||
namespace tgcalls {
|
||||
|
||||
class VideoCameraCapturer;
|
||||
class DesktopCapturer;
|
||||
|
||||
class VideoCapturerTrackSource : public webrtc::VideoTrackSource {
|
||||
public:
|
||||
VideoCapturerTrackSource();
|
||||
|
||||
std::shared_ptr<rtc::VideoSinkInterface<webrtc::VideoFrame>> sink();
|
||||
|
||||
private:
|
||||
rtc::VideoSourceInterface<webrtc::VideoFrame> *source() override;
|
||||
|
||||
std::shared_ptr<rtc::VideoBroadcaster> _broadcaster;
|
||||
|
||||
};
|
||||
|
||||
} // namespace tgcalls
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue