Repo created

This commit is contained in:
Fr4nz D13trich 2025-11-22 14:04:28 +01:00
parent 81b91f4139
commit f8c34fa5ee
22732 changed files with 4815320 additions and 2 deletions

View file

@ -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