9 #include "api/video/video_frame.h"
10 #include "IAgoraMediaEngine.h"
19 bool isExternal() final {
return false; }
20 virtual void onFrame(
const webrtc::VideoFrame& frame) = 0;
32 bool onSecondaryCameraCaptureVideoFrame(VideoFrame& videoFrame)
final {
return false; }
35 bool onSecondaryScreenCaptureVideoFrame(VideoFrame& videoFrame)
final {
return false; }
38 VideoFrame& videoFrame)
final {
return false; }
39 bool onTranscodedVideoFrame(VideoFrame& videoFrame)
final {
return false; }
44 virtual bool onSecondaryCameraCaptureVideoFrame(webrtc::VideoFrame& videoFrame) = 0;
47 virtual bool onSecondaryScreenCaptureVideoFrame(webrtc::VideoFrame& videoFrame) = 0;
50 const webrtc::VideoFrame& videoFrame) = 0;
51 virtual bool onTranscodedVideoFrame(webrtc::VideoFrame& videoFrame) = 0;
60 virtual int pushVideoFrameEx(
const webrtc::VideoFrame& frame,
61 rtc::conn_id_t connectionId = rtc::DEFAULT_CONNECTION_ID) = 0;