Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
video_track_i.h
1//
2// Agora Media SDK
3//
4// Created by Rao Qi in 2019.
5// Copyright (c) 2019 Agora IO. All rights reserved.
6//
7#pragma once
8
9#include <atomic>
10#include <memory>
11#include <mutex>
12#include <string>
13#include <unordered_map>
14#include <vector>
15
16#include "AgoraBase.h"
17#include "AgoraMediaBase.h"
18#include "AgoraOptional.h"
19#include "NGIAgoraVideoTrack.h"
20#include <api/cpp/aosl_ares_class.h>
21#include "api/transport/network_types.h"
22#include "api/video/video_content_type.h"
23#include "call/rtp_config.h"
24
25#include "rtc_connection_i.h"
26#include "track_stat_i.h"
27#include "video_config_i.h"
28#include "common_defines.h"
29#include "video_node_i.h"
30
31#include "main/core/video/multi_stream_subscribe_interface.h"
32#include "facilities/media_config/policy_chain/media_config_policy_chain.h"
33#include "facilities/tools/weak_observers.h"
34#include "facilities/media_config/policy_chain/general_val_policy_chain.h"
35#include "main/core/video/strategy_framework/module_controller/video_module_control_aspect.h"
36#include "main/core/video/stats_and_events/video_stats_events_base.h"
37#include "main/core/video/video_frame_source_filter.h"
38#include "main/core/video/strategy_framework/strategy_common_defines.h"
39#include "engine_adapter/video/video_common_defines.h"
40#include "main/core/video/strategy_framework/statistic_manager/statistic_defines.h"
41#include "main/core/video/strategy_framework/strategy_qoe_decision/strategy_qoe_decision_interface.h"
42
43 namespace webrtc {
44 class IFecMethodFactoryInterface;
45 class ISmoothRender;
46 class IRsfecCodecFactoryInterface;
47 class IAutoAdjustHarq;
48}
49
50 namespace agora {
51 namespace rtc {
52
53 class VideoNodeRtpSink;
54 class VideoNodeRtpSource;
55 class ProactiveCaller;
56 class IModuleControlPanel;
57 class IVideoStatsMetrics;
58 class StrategyQoeDecisionInterface;
59
60 enum class InternalVideoSourceType : unsigned {
61 None = 0,
62 Camera = 1,
63 Custom = 2,
64 Screen = 3,
65 CustomYuvSource = 4,
66 CustomEncodedImageSource = 5,
67 CustomPacketSource = 6,
68 MixedSource = 7,
69 TranscodedSource = 8,
70};
71
72 enum VideoModuleId {
73 VideoModuleCapture = 1,
74 VideoModulePreprocess,
75 VideoModuleEncode,
76 VideoModuleNetwork,
77 VideoModuleDecode,
78 VideoModulePostprocess,
79 VideoModuleRender,
80 VideoModulePipeline,
81 VideoModuleQoE,
82};
83
84 enum VideoAvailabilityLevel {
85 VideoAvailabilityLevel1 = 1, // Completely unusable.
86 VideoAvailabilityLevel2, // Usable but with very poor experience.
87 VideoAvailabilityLevel3, // Usable but with poor experience.
88};
89
90// Events report. New enum can be added but do not change the existing value!
91 enum VideoPipelineEvent {
92 kVideoUplinkEventStaticFrames = 1, // Continous static frames, maybe green/black picktures.
93};
94
95 enum VideoQoeEvent {
96 kVideoQoeCriticalDrop = 1,
97 kVideoQoe600msFreezeDrop = 2,
98 kVideoQoe200msFreezeDrop = 3,
99 kVideoQoeFpsSubstandard = 4,
100 kVideoTimestampException = 5,
101 kVideoQoePipelineException = 6,
102 kVideoGlitchDetection = 7,
103};
104
105// Events report. New enum can be added but do not change the existing value!
106 enum VideoProcessEvent {
107 kVideoProcessEventNone = 0,
108
109 // These events report will be throttled, refer to VideoEngine::doReportVideoEvent().
110 kVideoProcessEventPreprocessEnqueueFailure = 1000,
111 kVideoProcessEventPreprocessFrameFailure = 1001,
112 kVideoProcessEventPreprocessNoIncomingFrame = 1002, // No incoming frame for builtin VPM module
113 kVideoProcessEventPreprocessCongested = 1003,
114};
115
116// report hardware codec availability event.
117 enum VideoCodecAvailableEvent {
118 kVideoHwH265EncoderAvailable = 2000,
119 kVideoHwH264EncoderHighProfileAvailable = 2001,
120};
121
122 enum VideoDumpMode {
123 VIDEO_DUMP_DEFAULT = 0, // Dump all.
124 VIDEO_DUMP_ALL = 0xFFFF, // Dump all.
125 VIDEO_DUMP_CAPTURED_YUV = (1 << 0), // Dump YUV after video capturing.
126 VIDEO_DUMP_FILTERED_YUV = (1 << 1), // Dump YUV before video encoding.
127 VIDEO_DUMP_ENCODED_STREAM = (1 << 2), // Dump stream after video encoding.
128 VIDEO_DUMP_RECEIVED_STREAM = (1 << 3), // Dump stream before video decoding.
129 VIDEO_DUMP_DECODED_YUV = (1 << 4), // Dump YUV after video decoding.
130 VIDEO_DUMP_RENDERED_YUV = (1 << 5), // Dump YUV before video rendering.
131 VIDEO_DUMP_PRE_ENCODER_YUV = (1 << 6), // Dump YUV right before video encoding.
132};
133
134 struct VideoAvailabilityIndicator {
135 VideoAvailabilityLevel level;
136 VideoModuleId module;
137 int code;
138 uid_t uid;
139 int extra;
140 std::vector<agora::rtc::QoEDropInfo> extra2;
141 std::vector<agora::rtc::VideoTimestampExceptionInfo> ts_exception_info;
142 std::vector<GlitchDetectionInfo> glitch_detection_infos;
143};
144
145 struct VideoQoEAnalyzerParameter {
146 bool qoe_analyzer_enable = false;
147 bool enable_video_diagnose_logger = true;
148 int qoe_critical_report_max_times = 0;
149 int qoe_high_report_max_times = 0;
150 int qoe_normal_report_max_times = 0;
151 int qoe_report_strategy = 0;
152 int qoe_timing_strategy_report_period = 0;
153};
154
155 struct YuvConvertStats {
156 int width;
157 int height;
158 int method;
159 int fallback;
160 int avgUs;
161 int maxUs;
162 std::string deviceId;
163};
164
165 class IVideoTrackObserver : public std::enable_shared_from_this<IVideoTrackObserver> {
166 public:
167 virtual ~IVideoTrackObserver() = default;
168 virtual void onLocalVideoEvent(int id, LOCAL_VIDEO_EVENT_TYPE event) {}
169 virtual void onLocalVideoStateChanged(int id,
170 LOCAL_VIDEO_STREAM_STATE state,
171 LOCAL_VIDEO_STREAM_REASON reason,
172 int timestamp_ms) {}
173
174 virtual void onRemoteVideoStateChanged(uid_t uid,
175 REMOTE_VIDEO_STATE state,
176 REMOTE_VIDEO_STATE_REASON reason,
177 int timestamp_ms) {}
178
179 virtual void onFirstVideoFrameRendered(int id, uid_t uid, int width, int height, int timestamp_ms) {}
180
181 virtual void onFirstVideoFrameDecoded(std::string cid, uid_t uid, uint32_t ssrc, int width, int height, int timestamp_ms) {}
182
183 virtual void onFirstVideoKeyFrameReceived(uid_t uid, uint64_t timestamp, const webrtc::FirstVideoFrameStreamInfo &streamInfo) {}
184
185 virtual void onSourceVideoSizeChanged(uid_t uid,
186 int width, int height,
187 int rotation, int timestamp_ms) {}
188 virtual void onSendSideDelay(int id, int send_delay) {}
189 virtual void onRecvSideDelay(uid_t uid, int recv_delay) {}
190 virtual void onRecvSideFps(uid_t uid, int fps) {}
191 virtual void onEncoderConfigurationChanged(const std::unordered_map<int, VideoConfigurationEx>& config) {}
192 virtual void onSvcLayerUpdated(SvcAABandwidthReportInfo info, int supported_max_layers,
193 AdaptiveScenarioType scenario_type, int channel_size,
194 const std::map<VideoStreamCreator::StreamIndex, int>& be_subscribed_streams,
195 const std::vector<int>& svc_layer_bitrate, SvcAASourceType source,
196 const std::vector<SvcAAStrategyResult>& svc_aa_strategy_result_vec) {}
197 virtual void onVideoPipelineDataFormatChanged(int format) {}
198 virtual void onCameraFacingChanged(int facing) {}
199 virtual void onViewSizeChanged(uid_t uid, view_t view, int width, int height) {}
200 virtual void OnSetRexferParams(bool fec_rexfer, float rexfer_alpha, int max_rexfer_times) {}
201 virtual void OnRexferStatusUpdated(bool status, int32_t target_bitrate) {}
202 virtual void OnNotifyDepartedFrame(uid_t uid, int picture_id) {}
203 virtual void onCameraInfoListChanged(CameraInfoList cameraInfoList) {}
204 virtual void onCameraCharacteristicProfileChanged(agora::rtc::CameraCharacteristicProfile profile) {}
205 virtual void OnEncoderStatusUpdate(webrtc::VideoCodecType codec_type,
206 webrtc::HW_ENCODER_ACCELERATING_STATUS hw_accelerate_status) {};
207 virtual void OnVideoStatusUpdated(int status) {}
208 virtual void onVideoAvailabilityIndicatorEvent(VideoAvailabilityIndicator indicator) {}
209 virtual void onVideoHWCodecSpecEvent(agora::rtc::VideoHWCodecSpec codecSpec) {}
210 virtual void onVideoSizeChanged(int id, uid_t uid, int width, int height, int rotation) {}
211 virtual void onYuvConvertStats(const YuvConvertStats& stats) {}
212
213 virtual void onLocalAddVideoFilter(int track_id, std::string filter_name, bool enabled){}
214 virtual void onLocalFilterStatusChanged(int track_id, std::string filter_name, bool enabled){}
215 virtual void onRemoteAddVideoFilter(std::string cid, uid_t uid, uint32_t ssrc, std::string filter_name, bool enabled){}
216 virtual void onRemoteFilterStatusChanged(std::string cid, uid_t uid, uint32_t ssrc, std::string filter_name, bool enabled, bool isDisableMe = false){}
217 virtual void onVideoContentChanged(uid_t uid, agora::VideoContentType newType,
218 agora::VideoContentSubType newSubtype) {}
219 virtual void OnRequestKeyFrame(uid_t uid, VIDEO_STREAM_TYPE type) {}
220 virtual void OnFirstDecodableFrameReceived(uint8_t stream_id) {}
221 virtual void OnVideoEncodeStrategyUpdated(VideoEncodeStrategyInfo strategy) {}
222 virtual void OnVideoCodingModuleInfosUpdated(webrtc::VideoCodingModuleInfos info) {}
223 virtual void onVideoRenderMirrorChanged(bool mirror) {}
224};
225
226 struct LocalVideoTrackStatsEx {
227 LocalVideoTrackStats local_video_stats;
228 int sent_loss_ratio;
229 uint32_t total_bwe_bps;
230 uint32_t total_video_send_target_bps;
231 uint32_t media_send_bps;
232 uint32_t qp;
233};
234
235 class ILocalVideoTrackEx : public ILocalVideoTrack,
236 public VideoLocalTrackControlAspect {
237 public:
238 enum DetachReason { MANUAL, TRACK_DESTROY, NETWORK_DESTROY, CODEC_CHANGE};
239
240 // keep the same as webrtc::RsfecConfig
241 struct RsfecConfig {
242 std::vector<int> fec_protection_factor;
243 std::vector<std::vector<int>> fec_ratioLevel;
244 std::vector<int> fec_rttThreshold;
245 bool pec_enabled;
246 };
247
248 struct CaptureModeItem {
249 int32_t mode = 0;
250 int32_t scene = 0;
251 int32_t policy = 0;
252 std::string type = "";
253 };
254
255 struct AttachInfo {
256 uint32_t uid;
257 uint32_t cid;
258 VideoNodeRtpSink* network;
259 WeakPipelineBuilder builder;
260 uint64_t stats_space;
261 CongestionControlType cc_type;
262 bool enable_two_bytes_extension;
263 webrtc::RsfecConfig rsfec_config;
264
265 // hardware encoder related
266 std::string enable_hw_encoder;
267
268 // video config
269 VideoNodeEncoderEx::OPSParametersCollection ops_parameters;
270 std::shared_ptr<webrtc::IAutoAdjustHarq> auto_adjust_harq;
271 int harq_version;
272 int32_t fec_outside_bandwidth_ratio;
273 bool enable_minor_stream_vqc = false;
274 bool enable_minor_stream_fec = false;
275 bool enable_minor_stream_fec_outside_ratio = false;
276 bool enable_minor_stream_intra_request = false;
277
278 int fec_method;
279 int dm_wsize;
280 int dm_maxgc;
281 std::string switch_to_rq;
282 bool dm_lowred;
283 bool enable_rq_classic_method;
284
285 int32_t minimum_fec_level;
286 int fec_fix_rate;
287 bool enable_check_for_disable_fec;
288 bool enable_quick_intra_high_fec = false;
289 absl::optional<int> max_inflight_frame_count_pre_processsing;
290
291 // enable video diagnose
292 bool enable_video_send_diagnose;
293 // video codec and codec feature_caps
294 VideoNegotiatedCodecCaps negotiated_video_codec_caps;
295
296 int hw_capture_delay;
297 uint32_t sync_peer_uid;
298
299 Optional<SIMULCAST_STREAM_MODE> cfg_simulcast_stream_mode;
300 bool support_higher_standard_bitrate;
301 VideoQoEAnalyzerParameter qoe_analyzer_parameters;
302 std::unordered_map<uint8_t, std::string> fec_capabilities;
303 int prefer_fec_method = -1;
304 SvcAAConfig svc_aa_config;
305 };
306
307 struct DetachInfo {
308 VideoNodeRtpSink* network;
309 DetachReason reason;
310 };
311
312 ILocalVideoTrackEx() : id_(id_generator_++) {}
313 virtual ~ILocalVideoTrackEx() {}
314
315 virtual bool hasPublished() = 0;
316
317 virtual int setVideoEncoderConfigurationEx(const VideoEncoderConfiguration& config, utils::ConfigPriority priority = utils::CONFIG_PRIORITY_USER) = 0;
318
319 virtual int SetVideoConfigEx(int index, const VideoConfigurationEx& configEx, utils::ConfigPriority priority = utils::CONFIG_PRIORITY_USER) = 0;
320
321 virtual int ResetVideoConfigEx(utils::ConfigPriority priority) = 0;
322
323 virtual int GetConfigExs(std::unordered_map<int, VideoConfigurationEx>& configs, bool include_disable_config = false) = 0;
324
325 virtual int GetVideoProfileAutoAdjust(std::string& config_video_profile, std::string& actual_video_profile) = 0;
326
327 virtual int GetCaptureMode(CaptureModeItem& captureModeOut) = 0;
328
329 virtual void RequestKeyFrame(VIDEO_STREAM_TYPE type, bool is_quick_intra_request, bool internal) {}
330
331 virtual void AddVideoAvailabilityIndicatorEvents(VideoAvailabilityIndicator event) {}
332
333 virtual void GetVideoAvailabilityIndicatorEvents(std::vector<VideoAvailabilityIndicator>& events) {}
334
335 virtual int setUserId(uid_t uid) { user_id_ = uid; return 0; }
336
337 virtual uid_t getUserId() { return user_id_; }
338
339 virtual int GetActiveStreamsCount() = 0;
340
341 virtual int prepareNodes(const char* id = nullptr) = 0;
342
343 virtual bool attach(const AttachInfo& info) = 0;
344 virtual bool detach(const DetachInfo& info) = 0;
345 virtual bool registerTrackObserver(std::shared_ptr<IVideoTrackObserver> observer) {
346 return false;
347 }
348 virtual bool unregisterTrackObserver(IVideoTrackObserver* observer) {
349 return false;
350 }
351
352 virtual bool getStatisticsEx(LocalVideoTrackStatsEx& statsEx) { return false; }
353 virtual bool getVideoFrameSourceFilterStats(agora::rtc::VideoFrameSourceFilter::Stats& stats) { return false; }
354 virtual int32_t Width() const = 0;
355 virtual int32_t Height() const = 0;
356 virtual void getBillingVideoProfile(int32_t& w, int32_t& h, int32_t& frame_rate) {};
357 virtual bool Enabled() const = 0;
358 // TODO(Qingyou Pan): Need refine code to remove this interface.
359 virtual int addVideoWatermark(const char* watermarkUrl, const WatermarkOptions& options) { return -ERR_NOT_SUPPORTED; }
360 virtual int clearVideoWatermarks() { return -ERR_NOT_SUPPORTED; }
361
362 virtual InternalVideoSourceType getInternalVideoSourceType() { return InternalVideoSourceType::None; }
363
364 virtual rtc::VideoEncoderConfiguration getVideoEncoderConfiguration() { return {}; }
365
366 virtual bool getVideoTextureCopyStatus(VideoTextureCopyParam& param) { return false; }
367
368 virtual void getSimucastStreamConfig(SimulcastConfigInternal& simu_stream_config) {}
369 virtual void getSimucastStreamStatus(SIMULCAST_STREAM_MODE& mode, bool& enable) {}
370 virtual void getBillingVideoProfileWithSimulcast(bool& enable, SimulcastConfigInternal& simu_config) {}
371
372 virtual int updateContentHint(VIDEO_CONTENT_HINT contentHint) { return -ERR_NOT_SUPPORTED; }
373
374 virtual int updateScreenCaptureScenario(SCREEN_SCENARIO_TYPE screenScenario) { return -ERR_NOT_SUPPORTED; }
375
376 int TrackId() const { return id_; }
377
378 virtual int registerVideoEncodedImageReceiver(media::IVideoEncodedFrameObserver* videoReceiver) {return -ERR_NOT_SUPPORTED;}
379
380 virtual int unregisterVideoEncodedImageReceiver(media::IVideoEncodedFrameObserver* videoReceiver) {return -ERR_NOT_SUPPORTED;}
381
382 virtual int setLocalVideoSend(bool send) = 0;
383
384 virtual bool ClearVideoConfigsOnLeaveChannel() { return false; }
385
386 virtual int getCodecType() = 0;
387
388 virtual void setVideoDumpMode(int mode, bool enabled, int frame_cnt = -1) {}
389
390 virtual bool NegotiateCodec(VideoNegotiatedCodecCaps negotiated_video_decode_caps) { return false; }
391
392 virtual void onVideoModuleStatus(std::string node_name, int type) {}
393
394 virtual int onRequestEnableSimulcastStream() { return 0; }
395
396 virtual bool getIsAttachedToNetwork() { return false; }
397
398 virtual bool isVideoFilterEnabled(const char* id) { return false; }
399
400 virtual void ConfigVideoFec(const VideoFecConfig& fec_cap) {}
401
402 virtual void ReconfigureCaptureDelayMs(int video_capture_delay_ms) {}
403
404 virtual void registerProactiveCaller(const std::shared_ptr<rtc::ProactiveCaller>& configurator) { return; }
405 virtual void unregisterProactiveCaller() { return; }
406
407 virtual void registerModuleControlPanel(std::shared_ptr<rtc::IModuleControlPanel> panel) { return; }
408 virtual void unregisterModuleControlPanel() { return; }
409 virtual void registerAAManager(std::shared_ptr<rtc::VideoAAManagerInterface> strategy_qoe_decision) { return; }
410 virtual void unregisterAAManager(std::shared_ptr<rtc::VideoAAManagerInterface> strategy_qoe_decision) { return; }
411
412 virtual void registerVideoTrackStatsMetrics(const std::shared_ptr<IVideoStatsMetrics>& metrics) { return; }
413 virtual void unregisterVideoTrackStatsMetrics(const std::shared_ptr<IVideoStatsMetrics>& metrics) { return; }
414
415 virtual void SetQoeMetricsWeight(int index, QoeMetricsWeight qoe_metrics_weight) { return; };
416
417 virtual int setEnabledLLApiInternal(bool enable, bool action_droppable = true) = 0;
418 virtual LOCAL_VIDEO_STREAM_STATE getStateLLApiInternal() = 0;
419 virtual int setSimulcastStreamModeLLApiInternal(SIMULCAST_STREAM_MODE mode, const SimulcastConfigInternal& simu_config) = 0;
420 virtual int setVideoEncoderConfigurationLLApiInternal(const rtc::VideoEncoderConfiguration& config) = 0;
421 virtual bool addVideoFilterLLApiInternal(agora_refptr<IVideoFilter> filter, media::base::VIDEO_MODULE_POSITION position = media::base::POSITION_POST_CAPTURER,
422 const char* id = NULL) = 0;
423 virtual bool removeVideoFilterLLApiInternal(agora_refptr<IVideoFilter> filter, media::base::VIDEO_MODULE_POSITION position = media::base::POSITION_POST_CAPTURER,
424 const char* id = NULL) = 0;
425 virtual bool hasVideoFilterLLApiInternal(const char* id, media::base::VIDEO_MODULE_POSITION position) = 0;
426 virtual int setLocalRenderTargetFps(int target_fps) = 0;
427 virtual int setLocalRenderMirror(bool mirror) = 0;
428 virtual bool addRendererLLApiInternal(agora_refptr<IVideoSinkBase> videoRenderer, media::base::VIDEO_MODULE_POSITION position) = 0;
429 virtual bool removeRendererLLApiInternal(agora_refptr<IVideoSinkBase> videoRenderer, media::base::VIDEO_MODULE_POSITION position) = 0;
430 virtual bool getStatisticsLLApiInternal(LocalVideoTrackStats& stats) = 0;
431 virtual int enableVideoFilterLLApiInternal(const char* id, bool enable) {return -1;}
432 virtual void enableSourceFilterLLApiInternal(const char* id, bool enable) { return; }
433 virtual int setFilterPropertyLLApiInternal(const char* id, const char* key, const char* json_value) { return -1; };
434 virtual int getFilterPropertyLLApiInternal(const char* id, const char* key, char* json_value, size_t buf_size) { return -1; };
435 virtual void SetVideoCodecCaps(VideoNegotiatedCodecCaps negotiated_video_codec_caps) {};
436 virtual void SetSvcAutoAdjusterEnabled(bool enabled, const SvcAAConfig& config) {}
437 virtual void UpdateRemoteDlBweFeedback(int bwe) = 0;
438 virtual void UpdateChannelBandwidthAndSubscription(AggregatedRemoteDlBweQuantile bwe_quantile,
439 std::map<VideoStreamCreator::StreamIndex, int>&& be_subscribed_streams) = 0;
440 virtual void UpdateAdaptiveScenarioTypeAndChannelSize(AdaptiveScenarioType scenario_type, int channel_size, bool sync_ability) = 0;
441 virtual void SetUplinkEstimatedBwe(int uplink_bwe) = 0;
442
443 protected:
444 const int id_;
445 utils::WeakObserversFacility<IVideoTrackObserver> track_observers_;
446 uid_t user_id_;
447
448 private:
449 static std::atomic<int> id_generator_;
450};
451
452 struct RemoteVideoTrackStatsEx : RemoteVideoTrackStats {
453 uint64_t firstDecodingTimeTickMs = 0;
454 uint64_t firstVideoFrameRendered = 0;
455 bool isHardwareCodec = false;
456 int64_t totalFrozen200ms = 0;
457 uint32_t last_frame_max = 0;
458 uint32_t dec_in_num = 0;
459 uint32_t render_in_num = 0;
460 uint32_t render_out_num = 0;
461 uint32_t fec_pkts_num = 0;
462 uint32_t loss_af_fec = 0;
463 int jitter_offset_ms = 0;
464 int decode_level[10] = {0};
465 uint64_t qp_sum = 0;
466 VideoContentType content_type = VideoContentType::UNSPECIFIED;
467 std::vector<VideoAvailabilityIndicator> video_availability;
468};
469
470 class IRemoteVideoTrackEx : public IRemoteVideoTrack,
471 public VideoRemoteTrackControlAspect {
472 public:
473 enum DetachReason { MANUAL, TRACK_DESTROY, NETWORK_DESTROY };
474 using RemoteVideoEvents = StateEvents<REMOTE_VIDEO_STATE, REMOTE_VIDEO_STATE_REASON>;
475
476 struct AttachInfo {
477 VideoNodeRtpSource* source;
478 VideoNodeRtpSink* rtcp_sender;
479 WeakPipelineBuilder builder;
480 bool recv_media_packet = false;
481 uint64_t stats_space = 0;
482 bool enable_vpr = false;
483 bool enable_stash_frames_when_disable_vpr = false;
484 int drop_old_frame_thres_ms = 3000;
485 std::shared_ptr<webrtc::IRsfecCodecFactoryInterface> rsfec_codec_factory;
486 uint32_t video_threshhold_ms = 0;
487 VideoQoEAnalyzerParameter qoe_analyzer_parameters;
488 int vpr_max_frames_limit = -1;
489 };
490
491 struct DetachInfo {
492 VideoNodeRtpSource* source;
493 VideoNodeRtpSink* rtcp_sender;
494 DetachReason reason;
495 };
496
497 IRemoteVideoTrackEx() = default;
498
499 virtual ~IRemoteVideoTrackEx() {}
500
501 virtual uint32_t getRemoteSsrc() = 0;
502
503 virtual bool attach(const AttachInfo& info, REMOTE_VIDEO_STATE_REASON reason) = 0;
504 virtual bool detach(const DetachInfo& info, REMOTE_VIDEO_STATE_REASON reason) = 0;
505
506 virtual bool getStatisticsEx(RemoteVideoTrackStatsEx& statsex) { return false; }
507
508 virtual bool registerTrackObserver(std::shared_ptr<IVideoTrackObserver> observer) {
509 return false;
510 }
511 virtual bool unregisterTrackObserver(IVideoTrackObserver* observer) {
512 return false;
513 }
514 virtual void registerProactiveCaller(const std::shared_ptr<ProactiveCaller>&) {}
515 virtual void unregisterProactiveCaller() {}
516 virtual void registerVideoTrackStatsMetrics(const std::shared_ptr<IVideoStatsMetrics>& metrics) { return; }
517 virtual void unregisterVideoTrackStatsMetrics(const std::shared_ptr<IVideoStatsMetrics>& metrics) { return; }
518 virtual REMOTE_VIDEO_STATE getStateLLApiInternal() = 0;
519 virtual bool addVideoFilterLLApiInternal(agora_refptr<IVideoFilter> filter, media::base::VIDEO_MODULE_POSITION position = media::base::POSITION_POST_CAPTURER,
520 const char* id = NULL) = 0;
521 virtual bool removeVideoFilterLLApiInternal(agora_refptr<IVideoFilter> filter, media::base::VIDEO_MODULE_POSITION position = media::base::POSITION_POST_CAPTURER,
522 const char* id = NULL) = 0;
523 virtual bool hasVideoFilterLLApiInternal(const char* id, media::base::VIDEO_MODULE_POSITION position) = 0;
524 virtual bool addRendererLLApiInternal(agora_refptr<IVideoSinkBase> videoRenderer, media::base::VIDEO_MODULE_POSITION position = media::base::POSITION_PRE_RENDERER) = 0;
525 virtual bool removeRendererLLApiInternal(agora_refptr<IVideoSinkBase> videoRenderer, media::base::VIDEO_MODULE_POSITION position) = 0;
526 virtual bool getStatisticsLLApiInternal(RemoteVideoTrackStats& stats) = 0;
527 virtual bool getTrackInfoLLApiInternal(VideoTrackInfo& info) = 0;
528 virtual int registerVideoEncodedFrameObserverLLApiInternal( agora::media::IVideoEncodedFrameObserver* encodedObserver) = 0;
529 virtual int unregisterVideoEncodedFrameObserverLLApiInternal( agora::media::IVideoEncodedFrameObserver* encodedObserver) = 0;
530 virtual int enableVideoFilterLLApiInternal(const char* id, bool enable){ return -1; };
531 virtual int setFilterPropertyLLApiInternal(const char* id, const char* key, const char* json_value){ return -1; };
532 virtual int registerMediaPacketReceiverLLApiInternal(IMediaPacketReceiver* packetReceiver) = 0;
533 virtual int unregisterMediaPacketReceiverLLApiInternal(IMediaPacketReceiver* packetReceiver) = 0;
534 virtual void OnUserRoleStatusUpdate(UserRoleStatus user_role_status) {};
535
536 protected:
537 utils::WeakObserversFacility<IVideoTrackObserver> track_observers_;
538};
539
540} // namespace rtc
541} // namespace agora
agora::Optional
Definition AgoraOptional.h:413
agora::agora_refptr
Definition AgoraRefPtr.h:44
agora::media::IVideoEncodedFrameObserver
Definition AgoraMediaBase.h:1642
agora::rtc::ILocalVideoTrackEx::UpdateRemoteDlBweFeedback
virtual void UpdateRemoteDlBweFeedback(int bwe)=0
agora::rtc::ILocalVideoTrackEx::registerModuleControlPanel
virtual void registerModuleControlPanel(std::shared_ptr< rtc::IModuleControlPanel > panel)
Definition video_track_i.h:407
agora::rtc::ILocalVideoTrackEx::Height
virtual int32_t Height() const =0
agora::rtc::ILocalVideoTrackEx::removeRendererLLApiInternal
virtual bool removeRendererLLApiInternal(agora_refptr< IVideoSinkBase > videoRenderer, media::base::VIDEO_MODULE_POSITION position)=0
agora::rtc::ILocalVideoTrackEx::registerVideoEncodedImageReceiver
virtual int registerVideoEncodedImageReceiver(media::IVideoEncodedFrameObserver *videoReceiver)
Definition video_track_i.h:378
agora::rtc::ILocalVideoTrackEx::~ILocalVideoTrackEx
virtual ~ILocalVideoTrackEx()
Definition video_track_i.h:313
agora::rtc::ILocalVideoTrackEx::UpdateAdaptiveScenarioTypeAndChannelSize
virtual void UpdateAdaptiveScenarioTypeAndChannelSize(AdaptiveScenarioType scenario_type, int channel_size, bool sync_ability)=0
agora::rtc::ILocalVideoTrackEx::registerProactiveCaller
virtual void registerProactiveCaller(const std::shared_ptr< rtc::ProactiveCaller > &configurator)
Definition video_track_i.h:404
agora::rtc::ILocalVideoTrackEx::Enabled
virtual bool Enabled() const =0
agora::rtc::ILocalVideoTrackEx::getUserId
virtual uid_t getUserId()
Definition video_track_i.h:337
agora::rtc::ILocalVideoTrackEx::registerAAManager
virtual void registerAAManager(std::shared_ptr< rtc::VideoAAManagerInterface > strategy_qoe_decision)
Definition video_track_i.h:409
agora::rtc::ILocalVideoTrackEx::getStateLLApiInternal
virtual LOCAL_VIDEO_STREAM_STATE getStateLLApiInternal()=0
agora::rtc::ILocalVideoTrackEx::updateScreenCaptureScenario
virtual int updateScreenCaptureScenario(SCREEN_SCENARIO_TYPE screenScenario)
Definition video_track_i.h:374
agora::rtc::ILocalVideoTrackEx::onVideoModuleStatus
virtual void onVideoModuleStatus(std::string node_name, int type)
Definition video_track_i.h:392
agora::rtc::ILocalVideoTrackEx::updateContentHint
virtual int updateContentHint(VIDEO_CONTENT_HINT contentHint)
Definition video_track_i.h:372
agora::rtc::ILocalVideoTrackEx::SetVideoConfigEx
virtual int SetVideoConfigEx(int index, const VideoConfigurationEx &configEx, utils::ConfigPriority priority=utils::CONFIG_PRIORITY_USER)=0
agora::rtc::ILocalVideoTrackEx::UpdateChannelBandwidthAndSubscription
virtual void UpdateChannelBandwidthAndSubscription(AggregatedRemoteDlBweQuantile bwe_quantile, std::map< VideoStreamCreator::StreamIndex, int > &&be_subscribed_streams)=0
agora::rtc::ILocalVideoTrackEx::registerVideoTrackStatsMetrics
virtual void registerVideoTrackStatsMetrics(const std::shared_ptr< IVideoStatsMetrics > &metrics)
Definition video_track_i.h:412
agora::rtc::ILocalVideoTrackEx::TrackId
int TrackId() const
Definition video_track_i.h:376
agora::rtc::ILocalVideoTrackEx::getSimucastStreamStatus
virtual void getSimucastStreamStatus(SIMULCAST_STREAM_MODE &mode, bool &enable)
Definition video_track_i.h:369
agora::rtc::ILocalVideoTrackEx::onRequestEnableSimulcastStream
virtual int onRequestEnableSimulcastStream()
Definition video_track_i.h:394
agora::rtc::ILocalVideoTrackEx::ResetVideoConfigEx
virtual int ResetVideoConfigEx(utils::ConfigPriority priority)=0
agora::rtc::ILocalVideoTrackEx::getSimucastStreamConfig
virtual void getSimucastStreamConfig(SimulcastConfigInternal &simu_stream_config)
Definition video_track_i.h:368
agora::rtc::ILocalVideoTrackEx::getVideoFrameSourceFilterStats
virtual bool getVideoFrameSourceFilterStats(agora::rtc::VideoFrameSourceFilter::Stats &stats)
Definition video_track_i.h:353
agora::rtc::ILocalVideoTrackEx::unregisterTrackObserver
virtual bool unregisterTrackObserver(IVideoTrackObserver *observer)
Definition video_track_i.h:348
agora::rtc::ILocalVideoTrackEx::SetSvcAutoAdjusterEnabled
virtual void SetSvcAutoAdjusterEnabled(bool enabled, const SvcAAConfig &config)
Definition video_track_i.h:436
agora::rtc::ILocalVideoTrackEx::GetVideoProfileAutoAdjust
virtual int GetVideoProfileAutoAdjust(std::string &config_video_profile, std::string &actual_video_profile)=0
agora::rtc::ILocalVideoTrackEx::setLocalRenderTargetFps
virtual int setLocalRenderTargetFps(int target_fps)=0
agora::rtc::ILocalVideoTrackEx::SetQoeMetricsWeight
virtual void SetQoeMetricsWeight(int index, QoeMetricsWeight qoe_metrics_weight)
Definition video_track_i.h:415
agora::rtc::ILocalVideoTrackEx::isVideoFilterEnabled
virtual bool isVideoFilterEnabled(const char *id)
Definition video_track_i.h:398
agora::rtc::ILocalVideoTrackEx::setFilterPropertyLLApiInternal
virtual int setFilterPropertyLLApiInternal(const char *id, const char *key, const char *json_value)
Definition video_track_i.h:433
agora::rtc::ILocalVideoTrackEx::getStatisticsEx
virtual bool getStatisticsEx(LocalVideoTrackStatsEx &statsEx)
Definition video_track_i.h:352
agora::rtc::ILocalVideoTrackEx::GetConfigExs
virtual int GetConfigExs(std::unordered_map< int, VideoConfigurationEx > &configs, bool include_disable_config=false)=0
agora::rtc::ILocalVideoTrackEx::GetActiveStreamsCount
virtual int GetActiveStreamsCount()=0
agora::rtc::ILocalVideoTrackEx::enableVideoFilterLLApiInternal
virtual int enableVideoFilterLLApiInternal(const char *id, bool enable)
Definition video_track_i.h:431
agora::rtc::ILocalVideoTrackEx::NegotiateCodec
virtual bool NegotiateCodec(VideoNegotiatedCodecCaps negotiated_video_decode_caps)
Definition video_track_i.h:390
agora::rtc::ILocalVideoTrackEx::addVideoFilterLLApiInternal
virtual bool addVideoFilterLLApiInternal(agora_refptr< IVideoFilter > filter, media::base::VIDEO_MODULE_POSITION position=media::base::POSITION_POST_CAPTURER, const char *id=NULL)=0
agora::rtc::ILocalVideoTrackEx::enableSourceFilterLLApiInternal
virtual void enableSourceFilterLLApiInternal(const char *id, bool enable)
Definition video_track_i.h:432
agora::rtc::ILocalVideoTrackEx::user_id_
uid_t user_id_
Definition video_track_i.h:446
agora::rtc::ILocalVideoTrackEx::ReconfigureCaptureDelayMs
virtual void ReconfigureCaptureDelayMs(int video_capture_delay_ms)
Definition video_track_i.h:402
agora::rtc::ILocalVideoTrackEx::track_observers_
utils::WeakObserversFacility< IVideoTrackObserver > track_observers_
Definition video_track_i.h:445
agora::rtc::ILocalVideoTrackEx::ILocalVideoTrackEx
ILocalVideoTrackEx()
Definition video_track_i.h:312
agora::rtc::ILocalVideoTrackEx::getIsAttachedToNetwork
virtual bool getIsAttachedToNetwork()
Definition video_track_i.h:396
agora::rtc::ILocalVideoTrackEx::setVideoEncoderConfigurationLLApiInternal
virtual int setVideoEncoderConfigurationLLApiInternal(const rtc::VideoEncoderConfiguration &config)=0
agora::rtc::ILocalVideoTrackEx::detach
virtual bool detach(const DetachInfo &info)=0
agora::rtc::ILocalVideoTrackEx::prepareNodes
virtual int prepareNodes(const char *id=nullptr)=0
agora::rtc::ILocalVideoTrackEx::getBillingVideoProfile
virtual void getBillingVideoProfile(int32_t &w, int32_t &h, int32_t &frame_rate)
Definition video_track_i.h:356
agora::rtc::ILocalVideoTrackEx::setLocalRenderMirror
virtual int setLocalRenderMirror(bool mirror)=0
agora::rtc::ILocalVideoTrackEx::getVideoTextureCopyStatus
virtual bool getVideoTextureCopyStatus(VideoTextureCopyParam &param)
Definition video_track_i.h:366
agora::rtc::ILocalVideoTrackEx::SetVideoCodecCaps
virtual void SetVideoCodecCaps(VideoNegotiatedCodecCaps negotiated_video_codec_caps)
Definition video_track_i.h:435
agora::rtc::ILocalVideoTrackEx::RequestKeyFrame
virtual void RequestKeyFrame(VIDEO_STREAM_TYPE type, bool is_quick_intra_request, bool internal)
Definition video_track_i.h:329
agora::rtc::ILocalVideoTrackEx::addRendererLLApiInternal
virtual bool addRendererLLApiInternal(agora_refptr< IVideoSinkBase > videoRenderer, media::base::VIDEO_MODULE_POSITION position)=0
agora::rtc::ILocalVideoTrackEx::setUserId
virtual int setUserId(uid_t uid)
Definition video_track_i.h:335
agora::rtc::ILocalVideoTrackEx::unregisterVideoEncodedImageReceiver
virtual int unregisterVideoEncodedImageReceiver(media::IVideoEncodedFrameObserver *videoReceiver)
Definition video_track_i.h:380
agora::rtc::ILocalVideoTrackEx::ConfigVideoFec
virtual void ConfigVideoFec(const VideoFecConfig &fec_cap)
Definition video_track_i.h:400
agora::rtc::ILocalVideoTrackEx::registerTrackObserver
virtual bool registerTrackObserver(std::shared_ptr< IVideoTrackObserver > observer)
Definition video_track_i.h:345
agora::rtc::ILocalVideoTrackEx::setVideoDumpMode
virtual void setVideoDumpMode(int mode, bool enabled, int frame_cnt=-1)
Definition video_track_i.h:388
agora::rtc::ILocalVideoTrackEx::setSimulcastStreamModeLLApiInternal
virtual int setSimulcastStreamModeLLApiInternal(SIMULCAST_STREAM_MODE mode, const SimulcastConfigInternal &simu_config)=0
agora::rtc::ILocalVideoTrackEx::unregisterModuleControlPanel
virtual void unregisterModuleControlPanel()
Definition video_track_i.h:408
agora::rtc::ILocalVideoTrackEx::GetVideoAvailabilityIndicatorEvents
virtual void GetVideoAvailabilityIndicatorEvents(std::vector< VideoAvailabilityIndicator > &events)
Definition video_track_i.h:333
agora::rtc::ILocalVideoTrackEx::ClearVideoConfigsOnLeaveChannel
virtual bool ClearVideoConfigsOnLeaveChannel()
Definition video_track_i.h:384
agora::rtc::ILocalVideoTrackEx::hasPublished
virtual bool hasPublished()=0
agora::rtc::ILocalVideoTrackEx::unregisterAAManager
virtual void unregisterAAManager(std::shared_ptr< rtc::VideoAAManagerInterface > strategy_qoe_decision)
Definition video_track_i.h:410
agora::rtc::ILocalVideoTrackEx::setLocalVideoSend
virtual int setLocalVideoSend(bool send)=0
agora::rtc::ILocalVideoTrackEx::SetUplinkEstimatedBwe
virtual void SetUplinkEstimatedBwe(int uplink_bwe)=0
agora::rtc::ILocalVideoTrackEx::getVideoEncoderConfiguration
virtual rtc::VideoEncoderConfiguration getVideoEncoderConfiguration()
Definition video_track_i.h:364
agora::rtc::ILocalVideoTrackEx::setVideoEncoderConfigurationEx
virtual int setVideoEncoderConfigurationEx(const VideoEncoderConfiguration &config, utils::ConfigPriority priority=utils::CONFIG_PRIORITY_USER)=0
agora::rtc::ILocalVideoTrackEx::getBillingVideoProfileWithSimulcast
virtual void getBillingVideoProfileWithSimulcast(bool &enable, SimulcastConfigInternal &simu_config)
Definition video_track_i.h:370
agora::rtc::ILocalVideoTrackEx::clearVideoWatermarks
virtual int clearVideoWatermarks()
Definition video_track_i.h:360
agora::rtc::ILocalVideoTrackEx::getStatisticsLLApiInternal
virtual bool getStatisticsLLApiInternal(LocalVideoTrackStats &stats)=0
agora::rtc::ILocalVideoTrackEx::removeVideoFilterLLApiInternal
virtual bool removeVideoFilterLLApiInternal(agora_refptr< IVideoFilter > filter, media::base::VIDEO_MODULE_POSITION position=media::base::POSITION_POST_CAPTURER, const char *id=NULL)=0
agora::rtc::ILocalVideoTrackEx::unregisterProactiveCaller
virtual void unregisterProactiveCaller()
Definition video_track_i.h:405
agora::rtc::ILocalVideoTrackEx::id_
const int id_
Definition video_track_i.h:444
agora::rtc::ILocalVideoTrackEx::unregisterVideoTrackStatsMetrics
virtual void unregisterVideoTrackStatsMetrics(const std::shared_ptr< IVideoStatsMetrics > &metrics)
Definition video_track_i.h:413
agora::rtc::ILocalVideoTrackEx::setEnabledLLApiInternal
virtual int setEnabledLLApiInternal(bool enable, bool action_droppable=true)=0
agora::rtc::ILocalVideoTrackEx::hasVideoFilterLLApiInternal
virtual bool hasVideoFilterLLApiInternal(const char *id, media::base::VIDEO_MODULE_POSITION position)=0
agora::rtc::ILocalVideoTrackEx::GetCaptureMode
virtual int GetCaptureMode(CaptureModeItem &captureModeOut)=0
agora::rtc::ILocalVideoTrackEx::addVideoWatermark
virtual int addVideoWatermark(const char *watermarkUrl, const WatermarkOptions &options)
Definition video_track_i.h:359
agora::rtc::ILocalVideoTrackEx::getInternalVideoSourceType
virtual InternalVideoSourceType getInternalVideoSourceType()
Definition video_track_i.h:362
agora::rtc::ILocalVideoTrackEx::DetachReason
DetachReason
Definition video_track_i.h:238
agora::rtc::ILocalVideoTrackEx::TRACK_DESTROY
@ TRACK_DESTROY
Definition video_track_i.h:238
agora::rtc::ILocalVideoTrackEx::CODEC_CHANGE
@ CODEC_CHANGE
Definition video_track_i.h:238
agora::rtc::ILocalVideoTrackEx::NETWORK_DESTROY
@ NETWORK_DESTROY
Definition video_track_i.h:238
agora::rtc::ILocalVideoTrackEx::MANUAL
@ MANUAL
Definition video_track_i.h:238
agora::rtc::ILocalVideoTrackEx::AddVideoAvailabilityIndicatorEvents
virtual void AddVideoAvailabilityIndicatorEvents(VideoAvailabilityIndicator event)
Definition video_track_i.h:331
agora::rtc::ILocalVideoTrackEx::getCodecType
virtual int getCodecType()=0
agora::rtc::ILocalVideoTrackEx::Width
virtual int32_t Width() const =0
agora::rtc::ILocalVideoTrackEx::attach
virtual bool attach(const AttachInfo &info)=0
agora::rtc::ILocalVideoTrackEx::getFilterPropertyLLApiInternal
virtual int getFilterPropertyLLApiInternal(const char *id, const char *key, char *json_value, size_t buf_size)
Definition video_track_i.h:434
agora::rtc::ILocalVideoTrack
Definition NGIAgoraVideoTrack.h:366
agora::rtc::IMediaPacketReceiver
Definition NGIAgoraMediaNode.h:606
agora::rtc::IRemoteVideoTrackEx::registerVideoTrackStatsMetrics
virtual void registerVideoTrackStatsMetrics(const std::shared_ptr< IVideoStatsMetrics > &metrics)
Definition video_track_i.h:516
agora::rtc::IRemoteVideoTrackEx::getRemoteSsrc
virtual uint32_t getRemoteSsrc()=0
agora::rtc::IRemoteVideoTrackEx::registerTrackObserver
virtual bool registerTrackObserver(std::shared_ptr< IVideoTrackObserver > observer)
Definition video_track_i.h:508
agora::rtc::IRemoteVideoTrackEx::RemoteVideoEvents
StateEvents< REMOTE_VIDEO_STATE, REMOTE_VIDEO_STATE_REASON > RemoteVideoEvents
Definition video_track_i.h:474
agora::rtc::IRemoteVideoTrackEx::unregisterProactiveCaller
virtual void unregisterProactiveCaller()
Definition video_track_i.h:515
agora::rtc::IRemoteVideoTrackEx::setFilterPropertyLLApiInternal
virtual int setFilterPropertyLLApiInternal(const char *id, const char *key, const char *json_value)
Definition video_track_i.h:531
agora::rtc::IRemoteVideoTrackEx::getStatisticsEx
virtual bool getStatisticsEx(RemoteVideoTrackStatsEx &statsex)
Definition video_track_i.h:506
agora::rtc::IRemoteVideoTrackEx::~IRemoteVideoTrackEx
virtual ~IRemoteVideoTrackEx()
Definition video_track_i.h:499
agora::rtc::IRemoteVideoTrackEx::registerMediaPacketReceiverLLApiInternal
virtual int registerMediaPacketReceiverLLApiInternal(IMediaPacketReceiver *packetReceiver)=0
agora::rtc::IRemoteVideoTrackEx::removeVideoFilterLLApiInternal
virtual bool removeVideoFilterLLApiInternal(agora_refptr< IVideoFilter > filter, media::base::VIDEO_MODULE_POSITION position=media::base::POSITION_POST_CAPTURER, const char *id=NULL)=0
agora::rtc::IRemoteVideoTrackEx::getStatisticsLLApiInternal
virtual bool getStatisticsLLApiInternal(RemoteVideoTrackStats &stats)=0
agora::rtc::IRemoteVideoTrackEx::attach
virtual bool attach(const AttachInfo &info, REMOTE_VIDEO_STATE_REASON reason)=0
agora::rtc::IRemoteVideoTrackEx::DetachReason
DetachReason
Definition video_track_i.h:473
agora::rtc::IRemoteVideoTrackEx::MANUAL
@ MANUAL
Definition video_track_i.h:473
agora::rtc::IRemoteVideoTrackEx::TRACK_DESTROY
@ TRACK_DESTROY
Definition video_track_i.h:473
agora::rtc::IRemoteVideoTrackEx::NETWORK_DESTROY
@ NETWORK_DESTROY
Definition video_track_i.h:473
agora::rtc::IRemoteVideoTrackEx::IRemoteVideoTrackEx
IRemoteVideoTrackEx()=default
agora::rtc::IRemoteVideoTrackEx::OnUserRoleStatusUpdate
virtual void OnUserRoleStatusUpdate(UserRoleStatus user_role_status)
Definition video_track_i.h:534
agora::rtc::IRemoteVideoTrackEx::unregisterVideoEncodedFrameObserverLLApiInternal
virtual int unregisterVideoEncodedFrameObserverLLApiInternal(agora::media::IVideoEncodedFrameObserver *encodedObserver)=0
agora::rtc::IRemoteVideoTrackEx::addRendererLLApiInternal
virtual bool addRendererLLApiInternal(agora_refptr< IVideoSinkBase > videoRenderer, media::base::VIDEO_MODULE_POSITION position=media::base::POSITION_PRE_RENDERER)=0
agora::rtc::IRemoteVideoTrackEx::unregisterTrackObserver
virtual bool unregisterTrackObserver(IVideoTrackObserver *observer)
Definition video_track_i.h:511
agora::rtc::IRemoteVideoTrackEx::getTrackInfoLLApiInternal
virtual bool getTrackInfoLLApiInternal(VideoTrackInfo &info)=0
agora::rtc::IRemoteVideoTrackEx::hasVideoFilterLLApiInternal
virtual bool hasVideoFilterLLApiInternal(const char *id, media::base::VIDEO_MODULE_POSITION position)=0
agora::rtc::IRemoteVideoTrackEx::registerProactiveCaller
virtual void registerProactiveCaller(const std::shared_ptr< ProactiveCaller > &)
Definition video_track_i.h:514
agora::rtc::IRemoteVideoTrackEx::addVideoFilterLLApiInternal
virtual bool addVideoFilterLLApiInternal(agora_refptr< IVideoFilter > filter, media::base::VIDEO_MODULE_POSITION position=media::base::POSITION_POST_CAPTURER, const char *id=NULL)=0
agora::rtc::IRemoteVideoTrackEx::unregisterVideoTrackStatsMetrics
virtual void unregisterVideoTrackStatsMetrics(const std::shared_ptr< IVideoStatsMetrics > &metrics)
Definition video_track_i.h:517
agora::rtc::IRemoteVideoTrackEx::registerVideoEncodedFrameObserverLLApiInternal
virtual int registerVideoEncodedFrameObserverLLApiInternal(agora::media::IVideoEncodedFrameObserver *encodedObserver)=0
agora::rtc::IRemoteVideoTrackEx::removeRendererLLApiInternal
virtual bool removeRendererLLApiInternal(agora_refptr< IVideoSinkBase > videoRenderer, media::base::VIDEO_MODULE_POSITION position)=0
agora::rtc::IRemoteVideoTrackEx::track_observers_
utils::WeakObserversFacility< IVideoTrackObserver > track_observers_
Definition video_track_i.h:537
agora::rtc::IRemoteVideoTrackEx::getStateLLApiInternal
virtual REMOTE_VIDEO_STATE getStateLLApiInternal()=0
agora::rtc::IRemoteVideoTrackEx::enableVideoFilterLLApiInternal
virtual int enableVideoFilterLLApiInternal(const char *id, bool enable)
Definition video_track_i.h:530
agora::rtc::IRemoteVideoTrackEx::detach
virtual bool detach(const DetachInfo &info, REMOTE_VIDEO_STATE_REASON reason)=0
agora::rtc::IRemoteVideoTrackEx::unregisterMediaPacketReceiverLLApiInternal
virtual int unregisterMediaPacketReceiverLLApiInternal(IMediaPacketReceiver *packetReceiver)=0
agora::rtc::IRemoteVideoTrack
Definition NGIAgoraVideoTrack.h:546
agora::rtc::IVideoTrackObserver
Definition video_track_i.h:165
agora::rtc::IVideoTrackObserver::onFirstVideoFrameDecoded
virtual void onFirstVideoFrameDecoded(std::string cid, uid_t uid, uint32_t ssrc, int width, int height, int timestamp_ms)
Definition video_track_i.h:181
agora::rtc::IVideoTrackObserver::onRemoteVideoStateChanged
virtual void onRemoteVideoStateChanged(uid_t uid, REMOTE_VIDEO_STATE state, REMOTE_VIDEO_STATE_REASON reason, int timestamp_ms)
Definition video_track_i.h:174
agora::rtc::IVideoTrackObserver::onEncoderConfigurationChanged
virtual void onEncoderConfigurationChanged(const std::unordered_map< int, VideoConfigurationEx > &config)
Definition video_track_i.h:191
agora::rtc::IVideoTrackObserver::onVideoRenderMirrorChanged
virtual void onVideoRenderMirrorChanged(bool mirror)
Definition video_track_i.h:223
agora::rtc::IVideoTrackObserver::OnRexferStatusUpdated
virtual void OnRexferStatusUpdated(bool status, int32_t target_bitrate)
Definition video_track_i.h:201
agora::rtc::IVideoTrackObserver::OnNotifyDepartedFrame
virtual void OnNotifyDepartedFrame(uid_t uid, int picture_id)
Definition video_track_i.h:202
agora::rtc::IVideoTrackObserver::OnVideoCodingModuleInfosUpdated
virtual void OnVideoCodingModuleInfosUpdated(webrtc::VideoCodingModuleInfos info)
Definition video_track_i.h:222
agora::rtc::IVideoTrackObserver::onViewSizeChanged
virtual void onViewSizeChanged(uid_t uid, view_t view, int width, int height)
Definition video_track_i.h:199
agora::rtc::IVideoTrackObserver::onVideoHWCodecSpecEvent
virtual void onVideoHWCodecSpecEvent(agora::rtc::VideoHWCodecSpec codecSpec)
Definition video_track_i.h:209
agora::rtc::IVideoTrackObserver::onRemoteFilterStatusChanged
virtual void onRemoteFilterStatusChanged(std::string cid, uid_t uid, uint32_t ssrc, std::string filter_name, bool enabled, bool isDisableMe=false)
Definition video_track_i.h:216
agora::rtc::IVideoTrackObserver::onFirstVideoKeyFrameReceived
virtual void onFirstVideoKeyFrameReceived(uid_t uid, uint64_t timestamp, const webrtc::FirstVideoFrameStreamInfo &streamInfo)
Definition video_track_i.h:183
agora::rtc::IVideoTrackObserver::onRecvSideFps
virtual void onRecvSideFps(uid_t uid, int fps)
Definition video_track_i.h:190
agora::rtc::IVideoTrackObserver::OnEncoderStatusUpdate
virtual void OnEncoderStatusUpdate(webrtc::VideoCodecType codec_type, webrtc::HW_ENCODER_ACCELERATING_STATUS hw_accelerate_status)
Definition video_track_i.h:205
agora::rtc::IVideoTrackObserver::onSendSideDelay
virtual void onSendSideDelay(int id, int send_delay)
Definition video_track_i.h:188
agora::rtc::IVideoTrackObserver::onRecvSideDelay
virtual void onRecvSideDelay(uid_t uid, int recv_delay)
Definition video_track_i.h:189
agora::rtc::IVideoTrackObserver::onRemoteAddVideoFilter
virtual void onRemoteAddVideoFilter(std::string cid, uid_t uid, uint32_t ssrc, std::string filter_name, bool enabled)
Definition video_track_i.h:215
agora::rtc::IVideoTrackObserver::OnSetRexferParams
virtual void OnSetRexferParams(bool fec_rexfer, float rexfer_alpha, int max_rexfer_times)
Definition video_track_i.h:200
agora::rtc::IVideoTrackObserver::~IVideoTrackObserver
virtual ~IVideoTrackObserver()=default
agora::rtc::IVideoTrackObserver::onLocalVideoStateChanged
virtual void onLocalVideoStateChanged(int id, LOCAL_VIDEO_STREAM_STATE state, LOCAL_VIDEO_STREAM_REASON reason, int timestamp_ms)
Definition video_track_i.h:169
agora::rtc::IVideoTrackObserver::onCameraInfoListChanged
virtual void onCameraInfoListChanged(CameraInfoList cameraInfoList)
Definition video_track_i.h:203
agora::rtc::IVideoTrackObserver::onCameraCharacteristicProfileChanged
virtual void onCameraCharacteristicProfileChanged(agora::rtc::CameraCharacteristicProfile profile)
Definition video_track_i.h:204
agora::rtc::IVideoTrackObserver::onCameraFacingChanged
virtual void onCameraFacingChanged(int facing)
Definition video_track_i.h:198
agora::rtc::IVideoTrackObserver::OnRequestKeyFrame
virtual void OnRequestKeyFrame(uid_t uid, VIDEO_STREAM_TYPE type)
Definition video_track_i.h:219
agora::rtc::IVideoTrackObserver::onVideoPipelineDataFormatChanged
virtual void onVideoPipelineDataFormatChanged(int format)
Definition video_track_i.h:197
agora::rtc::IVideoTrackObserver::onFirstVideoFrameRendered
virtual void onFirstVideoFrameRendered(int id, uid_t uid, int width, int height, int timestamp_ms)
Definition video_track_i.h:179
agora::rtc::IVideoTrackObserver::onVideoAvailabilityIndicatorEvent
virtual void onVideoAvailabilityIndicatorEvent(VideoAvailabilityIndicator indicator)
Definition video_track_i.h:208
agora::rtc::IVideoTrackObserver::onLocalFilterStatusChanged
virtual void onLocalFilterStatusChanged(int track_id, std::string filter_name, bool enabled)
Definition video_track_i.h:214
agora::rtc::IVideoTrackObserver::onLocalAddVideoFilter
virtual void onLocalAddVideoFilter(int track_id, std::string filter_name, bool enabled)
Definition video_track_i.h:213
agora::rtc::IVideoTrackObserver::OnFirstDecodableFrameReceived
virtual void OnFirstDecodableFrameReceived(uint8_t stream_id)
Definition video_track_i.h:220
agora::rtc::IVideoTrackObserver::onVideoSizeChanged
virtual void onVideoSizeChanged(int id, uid_t uid, int width, int height, int rotation)
Definition video_track_i.h:210
agora::rtc::IVideoTrackObserver::onVideoContentChanged
virtual void onVideoContentChanged(uid_t uid, agora::VideoContentType newType, agora::VideoContentSubType newSubtype)
Definition video_track_i.h:217
agora::rtc::IVideoTrackObserver::onSvcLayerUpdated
virtual void onSvcLayerUpdated(SvcAABandwidthReportInfo info, int supported_max_layers, AdaptiveScenarioType scenario_type, int channel_size, const std::map< VideoStreamCreator::StreamIndex, int > &be_subscribed_streams, const std::vector< int > &svc_layer_bitrate, SvcAASourceType source, const std::vector< SvcAAStrategyResult > &svc_aa_strategy_result_vec)
Definition video_track_i.h:192
agora::rtc::IVideoTrackObserver::OnVideoStatusUpdated
virtual void OnVideoStatusUpdated(int status)
Definition video_track_i.h:207
agora::rtc::IVideoTrackObserver::onLocalVideoEvent
virtual void onLocalVideoEvent(int id, LOCAL_VIDEO_EVENT_TYPE event)
Definition video_track_i.h:168
agora::rtc::IVideoTrackObserver::onYuvConvertStats
virtual void onYuvConvertStats(const YuvConvertStats &stats)
Definition video_track_i.h:211
agora::rtc::IVideoTrackObserver::OnVideoEncodeStrategyUpdated
virtual void OnVideoEncodeStrategyUpdated(VideoEncodeStrategyInfo strategy)
Definition video_track_i.h:221
agora::rtc::IVideoTrackObserver::onSourceVideoSizeChanged
virtual void onSourceVideoSizeChanged(uid_t uid, int width, int height, int rotation, int timestamp_ms)
Definition video_track_i.h:185
agora::internal
Definition AgoraOptional.h:54
agora::media::base::VIDEO_MODULE_POSITION
VIDEO_MODULE_POSITION
Definition AgoraMediaBase.h:1142
agora::media::base::POSITION_PRE_RENDERER
@ POSITION_PRE_RENDERER
Definition AgoraMediaBase.h:1144
agora::media::base::POSITION_POST_CAPTURER
@ POSITION_POST_CAPTURER
Definition AgoraMediaBase.h:1143
agora::rtc
Definition AgoraExtensionVersion.h:12
agora::rtc::CongestionControlType
CongestionControlType
Definition rtc_connection_i.h:85
agora::rtc::SIMULCAST_STREAM_MODE
SIMULCAST_STREAM_MODE
Definition AgoraBase.h:2120
agora::rtc::VideoDumpMode
VideoDumpMode
Definition video_track_i.h:122
agora::rtc::VIDEO_DUMP_DECODED_YUV
@ VIDEO_DUMP_DECODED_YUV
Definition video_track_i.h:129
agora::rtc::VIDEO_DUMP_ENCODED_STREAM
@ VIDEO_DUMP_ENCODED_STREAM
Definition video_track_i.h:127
agora::rtc::VIDEO_DUMP_ALL
@ VIDEO_DUMP_ALL
Definition video_track_i.h:124
agora::rtc::VIDEO_DUMP_FILTERED_YUV
@ VIDEO_DUMP_FILTERED_YUV
Definition video_track_i.h:126
agora::rtc::VIDEO_DUMP_PRE_ENCODER_YUV
@ VIDEO_DUMP_PRE_ENCODER_YUV
Definition video_track_i.h:131
agora::rtc::VIDEO_DUMP_DEFAULT
@ VIDEO_DUMP_DEFAULT
Definition video_track_i.h:123
agora::rtc::VIDEO_DUMP_RENDERED_YUV
@ VIDEO_DUMP_RENDERED_YUV
Definition video_track_i.h:130
agora::rtc::VIDEO_DUMP_RECEIVED_STREAM
@ VIDEO_DUMP_RECEIVED_STREAM
Definition video_track_i.h:128
agora::rtc::VIDEO_DUMP_CAPTURED_YUV
@ VIDEO_DUMP_CAPTURED_YUV
Definition video_track_i.h:125
agora::rtc::VideoModuleId
VideoModuleId
Definition video_track_i.h:72
agora::rtc::VideoModulePostprocess
@ VideoModulePostprocess
Definition video_track_i.h:78
agora::rtc::VideoModuleQoE
@ VideoModuleQoE
Definition video_track_i.h:81
agora::rtc::VideoModuleEncode
@ VideoModuleEncode
Definition video_track_i.h:75
agora::rtc::VideoModuleNetwork
@ VideoModuleNetwork
Definition video_track_i.h:76
agora::rtc::VideoModulePipeline
@ VideoModulePipeline
Definition video_track_i.h:80
agora::rtc::VideoModuleDecode
@ VideoModuleDecode
Definition video_track_i.h:77
agora::rtc::VideoModuleRender
@ VideoModuleRender
Definition video_track_i.h:79
agora::rtc::VideoModulePreprocess
@ VideoModulePreprocess
Definition video_track_i.h:74
agora::rtc::VideoModuleCapture
@ VideoModuleCapture
Definition video_track_i.h:73
agora::rtc::VIDEO_CONTENT_HINT
VIDEO_CONTENT_HINT
Definition AgoraBase.h:2878
agora::rtc::WeakPipelineBuilder
std::weak_ptr< webrtc::Call > WeakPipelineBuilder
Definition common_defines.h:26
agora::rtc::VIDEO_STREAM_TYPE
VIDEO_STREAM_TYPE
Definition AgoraBase.h:1578
agora::rtc::StateEvents
std::vector< StateEvent< STATE_TYPE, REASON_TYPE > > StateEvents
Definition track_stat_i.h:21
agora::rtc::VideoQoeEvent
VideoQoeEvent
Definition video_track_i.h:95
agora::rtc::kVideoGlitchDetection
@ kVideoGlitchDetection
Definition video_track_i.h:102
agora::rtc::kVideoQoe200msFreezeDrop
@ kVideoQoe200msFreezeDrop
Definition video_track_i.h:98
agora::rtc::kVideoQoe600msFreezeDrop
@ kVideoQoe600msFreezeDrop
Definition video_track_i.h:97
agora::rtc::kVideoQoeCriticalDrop
@ kVideoQoeCriticalDrop
Definition video_track_i.h:96
agora::rtc::kVideoTimestampException
@ kVideoTimestampException
Definition video_track_i.h:100
agora::rtc::kVideoQoeFpsSubstandard
@ kVideoQoeFpsSubstandard
Definition video_track_i.h:99
agora::rtc::kVideoQoePipelineException
@ kVideoQoePipelineException
Definition video_track_i.h:101
agora::rtc::LOCAL_VIDEO_EVENT_TYPE
LOCAL_VIDEO_EVENT_TYPE
The local video event type.
Definition AgoraBase.h:3109
agora::rtc::VideoProcessEvent
VideoProcessEvent
Definition video_track_i.h:106
agora::rtc::kVideoProcessEventPreprocessEnqueueFailure
@ kVideoProcessEventPreprocessEnqueueFailure
Definition video_track_i.h:110
agora::rtc::kVideoProcessEventPreprocessFrameFailure
@ kVideoProcessEventPreprocessFrameFailure
Definition video_track_i.h:111
agora::rtc::kVideoProcessEventPreprocessCongested
@ kVideoProcessEventPreprocessCongested
Definition video_track_i.h:113
agora::rtc::kVideoProcessEventNone
@ kVideoProcessEventNone
Definition video_track_i.h:107
agora::rtc::kVideoProcessEventPreprocessNoIncomingFrame
@ kVideoProcessEventPreprocessNoIncomingFrame
Definition video_track_i.h:112
agora::rtc::LOCAL_VIDEO_STREAM_STATE
LOCAL_VIDEO_STREAM_STATE
Definition AgoraBase.h:3085
agora::rtc::REMOTE_VIDEO_STATE
REMOTE_VIDEO_STATE
Definition AgoraBase.h:3346
agora::rtc::SCREEN_SCENARIO_TYPE
SCREEN_SCENARIO_TYPE
Definition AgoraBase.h:2900
agora::rtc::LOCAL_VIDEO_STREAM_REASON
LOCAL_VIDEO_STREAM_REASON
Definition AgoraBase.h:3131
agora::rtc::CameraInfoList
std::vector< CameraInfo > CameraInfoList
Definition video_node_i.h:430
agora::rtc::InternalVideoSourceType
InternalVideoSourceType
Definition video_track_i.h:60
agora::rtc::InternalVideoSourceType::MixedSource
@ MixedSource
Definition video_track_i.h:68
agora::rtc::InternalVideoSourceType::Screen
@ Screen
Definition video_track_i.h:64
agora::rtc::InternalVideoSourceType::CustomPacketSource
@ CustomPacketSource
Definition video_track_i.h:67
agora::rtc::InternalVideoSourceType::CustomYuvSource
@ CustomYuvSource
Definition video_track_i.h:65
agora::rtc::InternalVideoSourceType::CustomEncodedImageSource
@ CustomEncodedImageSource
Definition video_track_i.h:66
agora::rtc::InternalVideoSourceType::TranscodedSource
@ TranscodedSource
Definition video_track_i.h:69
agora::rtc::InternalVideoSourceType::None
@ None
Definition video_track_i.h:61
agora::rtc::InternalVideoSourceType::Custom
@ Custom
Definition video_track_i.h:63
agora::rtc::InternalVideoSourceType::Camera
@ Camera
Definition video_track_i.h:62
agora::rtc::VideoAvailabilityLevel
VideoAvailabilityLevel
Definition video_track_i.h:84
agora::rtc::VideoAvailabilityLevel3
@ VideoAvailabilityLevel3
Definition video_track_i.h:87
agora::rtc::VideoAvailabilityLevel2
@ VideoAvailabilityLevel2
Definition video_track_i.h:86
agora::rtc::VideoAvailabilityLevel1
@ VideoAvailabilityLevel1
Definition video_track_i.h:85
agora::rtc::uid_t
unsigned int uid_t
Definition AgoraMediaBase.h:28
agora::rtc::VideoPipelineEvent
VideoPipelineEvent
Definition video_track_i.h:91
agora::rtc::kVideoUplinkEventStaticFrames
@ kVideoUplinkEventStaticFrames
Definition video_track_i.h:92
agora::rtc::VideoCodecAvailableEvent
VideoCodecAvailableEvent
Definition video_track_i.h:117
agora::rtc::kVideoHwH264EncoderHighProfileAvailable
@ kVideoHwH264EncoderHighProfileAvailable
Definition video_track_i.h:119
agora::rtc::kVideoHwH265EncoderAvailable
@ kVideoHwH265EncoderAvailable
Definition video_track_i.h:118
agora::rtc::REMOTE_VIDEO_STATE_REASON
REMOTE_VIDEO_STATE_REASON
Definition AgoraBase.h:3377
agora
Definition AgoraAtomicOps.h:21
agora::view_t
void * view_t
Definition AgoraBase.h:819
agora::ERR_NOT_SUPPORTED
@ ERR_NOT_SUPPORTED
Definition AgoraBase.h:485
webrtc
Definition common_defines.h:18
agora::rtc::CameraCharacteristicProfile
Definition video_node_i.h:392
agora::rtc::ILocalVideoTrackEx::AttachInfo
Definition video_track_i.h:255
agora::rtc::ILocalVideoTrackEx::AttachInfo::auto_adjust_harq
std::shared_ptr< webrtc::IAutoAdjustHarq > auto_adjust_harq
Definition video_track_i.h:270
agora::rtc::ILocalVideoTrackEx::AttachInfo::fec_outside_bandwidth_ratio
int32_t fec_outside_bandwidth_ratio
Definition video_track_i.h:272
agora::rtc::ILocalVideoTrackEx::AttachInfo::enable_minor_stream_vqc
bool enable_minor_stream_vqc
Definition video_track_i.h:273
agora::rtc::ILocalVideoTrackEx::AttachInfo::enable_minor_stream_fec_outside_ratio
bool enable_minor_stream_fec_outside_ratio
Definition video_track_i.h:275
agora::rtc::ILocalVideoTrackEx::AttachInfo::sync_peer_uid
uint32_t sync_peer_uid
Definition video_track_i.h:297
agora::rtc::ILocalVideoTrackEx::AttachInfo::enable_hw_encoder
std::string enable_hw_encoder
Definition video_track_i.h:266
agora::rtc::ILocalVideoTrackEx::AttachInfo::minimum_fec_level
int32_t minimum_fec_level
Definition video_track_i.h:285
agora::rtc::ILocalVideoTrackEx::AttachInfo::dm_lowred
bool dm_lowred
Definition video_track_i.h:282
agora::rtc::ILocalVideoTrackEx::AttachInfo::negotiated_video_codec_caps
VideoNegotiatedCodecCaps negotiated_video_codec_caps
Definition video_track_i.h:294
agora::rtc::ILocalVideoTrackEx::AttachInfo::dm_wsize
int dm_wsize
Definition video_track_i.h:279
agora::rtc::ILocalVideoTrackEx::AttachInfo::hw_capture_delay
int hw_capture_delay
Definition video_track_i.h:296
agora::rtc::ILocalVideoTrackEx::AttachInfo::network
VideoNodeRtpSink * network
Definition video_track_i.h:258
agora::rtc::ILocalVideoTrackEx::AttachInfo::max_inflight_frame_count_pre_processsing
absl::optional< int > max_inflight_frame_count_pre_processsing
Definition video_track_i.h:289
agora::rtc::ILocalVideoTrackEx::AttachInfo::switch_to_rq
std::string switch_to_rq
Definition video_track_i.h:281
agora::rtc::ILocalVideoTrackEx::AttachInfo::fec_capabilities
std::unordered_map< uint8_t, std::string > fec_capabilities
Definition video_track_i.h:302
agora::rtc::ILocalVideoTrackEx::AttachInfo::support_higher_standard_bitrate
bool support_higher_standard_bitrate
Definition video_track_i.h:300
agora::rtc::ILocalVideoTrackEx::AttachInfo::enable_two_bytes_extension
bool enable_two_bytes_extension
Definition video_track_i.h:262
agora::rtc::ILocalVideoTrackEx::AttachInfo::cfg_simulcast_stream_mode
Optional< SIMULCAST_STREAM_MODE > cfg_simulcast_stream_mode
Definition video_track_i.h:299
agora::rtc::ILocalVideoTrackEx::AttachInfo::enable_minor_stream_intra_request
bool enable_minor_stream_intra_request
Definition video_track_i.h:276
agora::rtc::ILocalVideoTrackEx::AttachInfo::rsfec_config
webrtc::RsfecConfig rsfec_config
Definition video_track_i.h:263
agora::rtc::ILocalVideoTrackEx::AttachInfo::enable_rq_classic_method
bool enable_rq_classic_method
Definition video_track_i.h:283
agora::rtc::ILocalVideoTrackEx::AttachInfo::uid
uint32_t uid
Definition video_track_i.h:256
agora::rtc::ILocalVideoTrackEx::AttachInfo::enable_quick_intra_high_fec
bool enable_quick_intra_high_fec
Definition video_track_i.h:288
agora::rtc::ILocalVideoTrackEx::AttachInfo::stats_space
uint64_t stats_space
Definition video_track_i.h:260
agora::rtc::ILocalVideoTrackEx::AttachInfo::fec_fix_rate
int fec_fix_rate
Definition video_track_i.h:286
agora::rtc::ILocalVideoTrackEx::AttachInfo::enable_minor_stream_fec
bool enable_minor_stream_fec
Definition video_track_i.h:274
agora::rtc::ILocalVideoTrackEx::AttachInfo::fec_method
int fec_method
Definition video_track_i.h:278
agora::rtc::ILocalVideoTrackEx::AttachInfo::enable_video_send_diagnose
bool enable_video_send_diagnose
Definition video_track_i.h:292
agora::rtc::ILocalVideoTrackEx::AttachInfo::qoe_analyzer_parameters
VideoQoEAnalyzerParameter qoe_analyzer_parameters
Definition video_track_i.h:301
agora::rtc::ILocalVideoTrackEx::AttachInfo::ops_parameters
VideoNodeEncoderEx::OPSParametersCollection ops_parameters
Definition video_track_i.h:269
agora::rtc::ILocalVideoTrackEx::AttachInfo::builder
WeakPipelineBuilder builder
Definition video_track_i.h:259
agora::rtc::ILocalVideoTrackEx::AttachInfo::svc_aa_config
SvcAAConfig svc_aa_config
Definition video_track_i.h:304
agora::rtc::ILocalVideoTrackEx::AttachInfo::harq_version
int harq_version
Definition video_track_i.h:271
agora::rtc::ILocalVideoTrackEx::AttachInfo::cc_type
CongestionControlType cc_type
Definition video_track_i.h:261
agora::rtc::ILocalVideoTrackEx::AttachInfo::cid
uint32_t cid
Definition video_track_i.h:257
agora::rtc::ILocalVideoTrackEx::AttachInfo::dm_maxgc
int dm_maxgc
Definition video_track_i.h:280
agora::rtc::ILocalVideoTrackEx::AttachInfo::prefer_fec_method
int prefer_fec_method
Definition video_track_i.h:303
agora::rtc::ILocalVideoTrackEx::AttachInfo::enable_check_for_disable_fec
bool enable_check_for_disable_fec
Definition video_track_i.h:287
agora::rtc::ILocalVideoTrackEx::CaptureModeItem
Definition video_track_i.h:248
agora::rtc::ILocalVideoTrackEx::CaptureModeItem::mode
int32_t mode
Definition video_track_i.h:249
agora::rtc::ILocalVideoTrackEx::CaptureModeItem::policy
int32_t policy
Definition video_track_i.h:251
agora::rtc::ILocalVideoTrackEx::CaptureModeItem::scene
int32_t scene
Definition video_track_i.h:250
agora::rtc::ILocalVideoTrackEx::CaptureModeItem::type
std::string type
Definition video_track_i.h:252
agora::rtc::ILocalVideoTrackEx::DetachInfo
Definition video_track_i.h:307
agora::rtc::ILocalVideoTrackEx::DetachInfo::reason
DetachReason reason
Definition video_track_i.h:309
agora::rtc::ILocalVideoTrackEx::DetachInfo::network
VideoNodeRtpSink * network
Definition video_track_i.h:308
agora::rtc::ILocalVideoTrackEx::RsfecConfig
Definition video_track_i.h:241
agora::rtc::ILocalVideoTrackEx::RsfecConfig::fec_ratioLevel
std::vector< std::vector< int > > fec_ratioLevel
Definition video_track_i.h:243
agora::rtc::ILocalVideoTrackEx::RsfecConfig::fec_rttThreshold
std::vector< int > fec_rttThreshold
Definition video_track_i.h:244
agora::rtc::ILocalVideoTrackEx::RsfecConfig::fec_protection_factor
std::vector< int > fec_protection_factor
Definition video_track_i.h:242
agora::rtc::ILocalVideoTrackEx::RsfecConfig::pec_enabled
bool pec_enabled
Definition video_track_i.h:245
agora::rtc::IRemoteVideoTrackEx::AttachInfo
Definition video_track_i.h:476
agora::rtc::IRemoteVideoTrackEx::AttachInfo::enable_stash_frames_when_disable_vpr
bool enable_stash_frames_when_disable_vpr
Definition video_track_i.h:483
agora::rtc::IRemoteVideoTrackEx::AttachInfo::drop_old_frame_thres_ms
int drop_old_frame_thres_ms
Definition video_track_i.h:484
agora::rtc::IRemoteVideoTrackEx::AttachInfo::rtcp_sender
VideoNodeRtpSink * rtcp_sender
Definition video_track_i.h:478
agora::rtc::IRemoteVideoTrackEx::AttachInfo::vpr_max_frames_limit
int vpr_max_frames_limit
Definition video_track_i.h:488
agora::rtc::IRemoteVideoTrackEx::AttachInfo::builder
WeakPipelineBuilder builder
Definition video_track_i.h:479
agora::rtc::IRemoteVideoTrackEx::AttachInfo::rsfec_codec_factory
std::shared_ptr< webrtc::IRsfecCodecFactoryInterface > rsfec_codec_factory
Definition video_track_i.h:485
agora::rtc::IRemoteVideoTrackEx::AttachInfo::recv_media_packet
bool recv_media_packet
Definition video_track_i.h:480
agora::rtc::IRemoteVideoTrackEx::AttachInfo::qoe_analyzer_parameters
VideoQoEAnalyzerParameter qoe_analyzer_parameters
Definition video_track_i.h:487
agora::rtc::IRemoteVideoTrackEx::AttachInfo::source
VideoNodeRtpSource * source
Definition video_track_i.h:477
agora::rtc::IRemoteVideoTrackEx::AttachInfo::stats_space
uint64_t stats_space
Definition video_track_i.h:481
agora::rtc::IRemoteVideoTrackEx::AttachInfo::video_threshhold_ms
uint32_t video_threshhold_ms
Definition video_track_i.h:486
agora::rtc::IRemoteVideoTrackEx::AttachInfo::enable_vpr
bool enable_vpr
Definition video_track_i.h:482
agora::rtc::IRemoteVideoTrackEx::DetachInfo
Definition video_track_i.h:491
agora::rtc::IRemoteVideoTrackEx::DetachInfo::reason
DetachReason reason
Definition video_track_i.h:494
agora::rtc::IRemoteVideoTrackEx::DetachInfo::rtcp_sender
VideoNodeRtpSink * rtcp_sender
Definition video_track_i.h:493
agora::rtc::IRemoteVideoTrackEx::DetachInfo::source
VideoNodeRtpSource * source
Definition video_track_i.h:492
agora::rtc::LocalVideoTrackStatsEx
Definition video_track_i.h:226
agora::rtc::LocalVideoTrackStatsEx::sent_loss_ratio
int sent_loss_ratio
Definition video_track_i.h:228
agora::rtc::LocalVideoTrackStatsEx::total_bwe_bps
uint32_t total_bwe_bps
Definition video_track_i.h:229
agora::rtc::LocalVideoTrackStatsEx::media_send_bps
uint32_t media_send_bps
Definition video_track_i.h:231
agora::rtc::LocalVideoTrackStatsEx::total_video_send_target_bps
uint32_t total_video_send_target_bps
Definition video_track_i.h:230
agora::rtc::LocalVideoTrackStatsEx::local_video_stats
LocalVideoTrackStats local_video_stats
Definition video_track_i.h:227
agora::rtc::LocalVideoTrackStatsEx::qp
uint32_t qp
Definition video_track_i.h:232
agora::rtc::LocalVideoTrackStats
Definition NGIAgoraVideoTrack.h:220
agora::rtc::RemoteVideoTrackStatsEx
Definition video_track_i.h:452
agora::rtc::RemoteVideoTrackStatsEx::video_availability
std::vector< VideoAvailabilityIndicator > video_availability
Definition video_track_i.h:467
agora::rtc::RemoteVideoTrackStatsEx::render_in_num
uint32_t render_in_num
Definition video_track_i.h:459
agora::rtc::RemoteVideoTrackStatsEx::jitter_offset_ms
int jitter_offset_ms
Definition video_track_i.h:463
agora::rtc::RemoteVideoTrackStatsEx::content_type
VideoContentType content_type
Definition video_track_i.h:466
agora::rtc::RemoteVideoTrackStatsEx::firstVideoFrameRendered
uint64_t firstVideoFrameRendered
Definition video_track_i.h:454
agora::rtc::RemoteVideoTrackStatsEx::qp_sum
uint64_t qp_sum
Definition video_track_i.h:465
agora::rtc::RemoteVideoTrackStatsEx::loss_af_fec
uint32_t loss_af_fec
Definition video_track_i.h:462
agora::rtc::RemoteVideoTrackStatsEx::render_out_num
uint32_t render_out_num
Definition video_track_i.h:460
agora::rtc::RemoteVideoTrackStatsEx::dec_in_num
uint32_t dec_in_num
Definition video_track_i.h:458
agora::rtc::RemoteVideoTrackStatsEx::isHardwareCodec
bool isHardwareCodec
Definition video_track_i.h:455
agora::rtc::RemoteVideoTrackStatsEx::totalFrozen200ms
int64_t totalFrozen200ms
Definition video_track_i.h:456
agora::rtc::RemoteVideoTrackStatsEx::decode_level
int decode_level[10]
Definition video_track_i.h:464
agora::rtc::RemoteVideoTrackStatsEx::last_frame_max
uint32_t last_frame_max
Definition video_track_i.h:457
agora::rtc::RemoteVideoTrackStatsEx::firstDecodingTimeTickMs
uint64_t firstDecodingTimeTickMs
Definition video_track_i.h:453
agora::rtc::RemoteVideoTrackStatsEx::fec_pkts_num
uint32_t fec_pkts_num
Definition video_track_i.h:461
agora::rtc::RemoteVideoTrackStats
Definition NGIAgoraVideoTrack.h:433
agora::rtc::RemoteVideoTrackStats::RemoteVideoTrackStats
RemoteVideoTrackStats()
Definition NGIAgoraVideoTrack.h:535
agora::rtc::SimulcastConfigInternal
Definition NGIAgoraVideoTrack.h:67
agora::rtc::VideoAvailabilityIndicator
Definition video_track_i.h:134
agora::rtc::VideoAvailabilityIndicator::code
int code
Definition video_track_i.h:137
agora::rtc::VideoAvailabilityIndicator::ts_exception_info
std::vector< agora::rtc::VideoTimestampExceptionInfo > ts_exception_info
Definition video_track_i.h:141
agora::rtc::VideoAvailabilityIndicator::extra2
std::vector< agora::rtc::QoEDropInfo > extra2
Definition video_track_i.h:140
agora::rtc::VideoAvailabilityIndicator::glitch_detection_infos
std::vector< GlitchDetectionInfo > glitch_detection_infos
Definition video_track_i.h:142
agora::rtc::VideoAvailabilityIndicator::module
VideoModuleId module
Definition video_track_i.h:136
agora::rtc::VideoAvailabilityIndicator::uid
uid_t uid
Definition video_track_i.h:138
agora::rtc::VideoAvailabilityIndicator::extra
int extra
Definition video_track_i.h:139
agora::rtc::VideoAvailabilityIndicator::level
VideoAvailabilityLevel level
Definition video_track_i.h:135
agora::rtc::VideoConfigurationEx
Definition video_config_i.h:25
agora::rtc::VideoEncoderConfiguration
Definition AgoraBase.h:1925
agora::rtc::VideoHWCodecSpec
Definition video_node_i.h:406
agora::rtc::VideoQoEAnalyzerParameter
Definition video_track_i.h:145
agora::rtc::VideoQoEAnalyzerParameter::qoe_normal_report_max_times
int qoe_normal_report_max_times
Definition video_track_i.h:150
agora::rtc::VideoQoEAnalyzerParameter::qoe_timing_strategy_report_period
int qoe_timing_strategy_report_period
Definition video_track_i.h:152
agora::rtc::VideoQoEAnalyzerParameter::enable_video_diagnose_logger
bool enable_video_diagnose_logger
Definition video_track_i.h:147
agora::rtc::VideoQoEAnalyzerParameter::qoe_critical_report_max_times
int qoe_critical_report_max_times
Definition video_track_i.h:148
agora::rtc::VideoQoEAnalyzerParameter::qoe_analyzer_enable
bool qoe_analyzer_enable
Definition video_track_i.h:146
agora::rtc::VideoQoEAnalyzerParameter::qoe_report_strategy
int qoe_report_strategy
Definition video_track_i.h:151
agora::rtc::VideoQoEAnalyzerParameter::qoe_high_report_max_times
int qoe_high_report_max_times
Definition video_track_i.h:149
agora::rtc::VideoTrackInfo
Definition AgoraBase.h:3460
agora::rtc::WatermarkOptions
Definition AgoraBase.h:2285
agora::rtc::YuvConvertStats
Definition video_track_i.h:155
agora::rtc::YuvConvertStats::fallback
int fallback
Definition video_track_i.h:159
agora::rtc::YuvConvertStats::width
int width
Definition video_track_i.h:156
agora::rtc::YuvConvertStats::maxUs
int maxUs
Definition video_track_i.h:161
agora::rtc::YuvConvertStats::height
int height
Definition video_track_i.h:157
agora::rtc::YuvConvertStats::deviceId
std::string deviceId
Definition video_track_i.h:162
agora::rtc::YuvConvertStats::method
int method
Definition video_track_i.h:158
agora::rtc::YuvConvertStats::avgUs
int avgUs
Definition video_track_i.h:160