Agora C++ API Reference for All Platforms
|
12 #include <unordered_map>
15 #include "AgoraBase.h"
16 #include "AgoraMediaBase.h"
17 #include "AgoraOptional.h"
18 #include "NGIAgoraVideoTrack.h"
19 #include <api/cpp/aosl_ares_class.h>
20 #include "api/transport/network_types.h"
21 #include "api/video/video_content_type.h"
22 #include "call/rtp_config.h"
24 #include "rtc_connection_i.h"
25 #include "track_stat_i.h"
26 #include "video_config_i.h"
27 #include "common_defines.h"
28 #include "video_node_i.h"
30 #include "main/core/video/multi_stream_subscribe_interface.h"
31 #include "facilities/media_config/policy_chain/media_config_policy_chain.h"
32 #include "facilities/tools/weak_observers.h"
33 #include "facilities/media_config/policy_chain/general_val_policy_chain.h"
34 #include "main/core/video/strategy_framework/module_controller/video_module_control_aspect.h"
35 #include "main/core/video/stats_and_events/video_stats_events_base.h"
37 class IFecMethodFactoryInterface;
39 class IRsfecCodecFactoryInterface;
40 class IAutoAdjustHarq;
46 class VideoNodeRtpSink;
47 class VideoNodeRtpSource;
48 class ProactiveCaller;
49 class IModuleControlPanel;
131 std::vector<agora::rtc::QoEDropInfo>
extra2;
166 int width,
int height,
167 int rotation,
int timestamp_ms) {}
181 webrtc::HW_ENCODER_ACCELERATING_STATUS hw_accelerate_status) {};
192 agora::VideoContentSubType newSubtype) {}
202 public VideoLocalTrackControlAspect {
305 virtual int GetConfigExs(std::unordered_map<int, VideoConfigurationEx>& configs,
bool include_disable_config =
false) = 0;
371 virtual bool NegotiateCodec(uint8_t negotiated_video_decode_caps) {
return false; }
402 const char*
id = NULL) = 0;
404 const char*
id = NULL) = 0;
419 static std::atomic<int> id_generator_;
441 public VideoRemoteTrackControlAspect {
486 const char*
id = NULL) = 0;
488 const char*
id = NULL) = 0;
virtual int getCodecType()=0
VideoNodeRtpSink * rtcp_sender
Definition: video_track_i.h:461
VideoNodeEncoderEx::OPSParametersCollection ops_parameters
Definition: video_track_i.h:238
virtual bool removeVideoFilterLLApiInternal(agora_refptr< IVideoFilter > filter, media::base::VIDEO_MODULE_POSITION position=media::base::POSITION_POST_CAPTURER, const char *id=NULL)=0
InternalVideoSourceType
Definition: video_track_i.h:51
LOCAL_VIDEO_STREAM_STATE
Definition: AgoraBase.h:2899
Optional< bool > hw_enc_video_enable_dequeue_timeawait
Definition: video_track_i.h:272
int32_t fec_outside_bandwidth_ratio
Definition: video_track_i.h:241
std::string hw_encoder_fotmat_config
Definition: video_track_i.h:277
virtual int32_t Width() const =0
virtual LOCAL_VIDEO_STREAM_STATE getStateLLApiInternal()=0
int decode_level[10]
Definition: video_track_i.h:434
std::shared_ptr< webrtc::IAutoAdjustHarq > auto_adjust_harq
Definition: video_track_i.h:239
uint64_t firstDecodingTimeTickMs
Definition: video_track_i.h:423
int fec_fix_rate
Definition: video_track_i.h:255
virtual int registerVideoEncodedFrameObserverLLApiInternal(agora::media::IVideoEncodedFrameObserver *encodedObserver)=0
@ kVideoProcessEventPreprocessNoIncomingFrame
Definition: video_track_i.h:103
@ TRACK_DESTROY
Definition: video_track_i.h:204
virtual void getSimucastStreamStatus(SIMULCAST_STREAM_MODE &mode, bool &enable)
Definition: video_track_i.h:350
VideoProcessEvent
Definition: video_track_i.h:97
uint32_t render_out_num
Definition: video_track_i.h:430
virtual void onRemoteAddVideoFilter(std::string cid, uid_t uid, uint32_t ssrc, std::string filter_name, bool enabled)
Definition: video_track_i.h:189
@ VideoAvailabilityLevel1
Definition: video_track_i.h:76
uint32_t fec_pkts_num
Definition: video_track_i.h:431
virtual void unregisterModuleControlPanel()
Definition: video_track_i.h:395
@ NETWORK_DESTROY
Definition: video_track_i.h:443
SCREEN_SCENARIO_TYPE
Definition: AgoraBase.h:2719
Definition: AgoraRefPtr.h:44
@ kVideoProcessEventNone
Definition: video_track_i.h:98
Optional< uint32_t > hw_encoder_height_alignment
Definition: video_track_i.h:270
Definition: video_track_i.h:196
virtual void onVideoSizeChanged(int id, uid_t uid, int width, int height, int rotation)
Definition: video_track_i.h:185
virtual REMOTE_VIDEO_STATE getStateLLApiInternal()=0
VideoQoEAnalyzerParameter qoe_analyzer_parameters
Definition: video_track_i.h:456
int dm_maxgc
Definition: video_track_i.h:249
virtual void onViewSizeChanged(uid_t uid, view_t view, int width, int height)
Definition: video_track_i.h:174
Optional< SIMULCAST_STREAM_MODE > cfg_simulcast_stream_mode
Definition: video_track_i.h:283
VideoDumpMode
Definition: video_track_i.h:113
virtual bool getTrackInfoLLApiInternal(VideoTrackInfo &info)=0
Definition: common_defines.h:18
int TrackId() const
Definition: video_track_i.h:357
Optional< bool > low_stream_enable_hw_encoder
Definition: video_track_i.h:234
virtual void onVideoHWCodecSpecEvent(agora::rtc::VideoHWCodecSpec codecSpec)
Definition: video_track_i.h:184
virtual void OnRoleUpdate(CLIENT_ROLE_TYPE role)
Definition: video_track_i.h:500
@ MANUAL
Definition: video_track_i.h:204
bool enable_vpr
Definition: video_track_i.h:452
int32_t scene
Definition: video_track_i.h:216
@ kVideoProcessEventPreprocessFrameFailure
Definition: video_track_i.h:102
virtual int addVideoWatermark(const char *watermarkUrl, const WatermarkOptions &options)
Definition: video_track_i.h:340
virtual bool enableMinorStreamPeriodicKeyFrame()
Definition: video_track_i.h:389
WeakPipelineBuilder builder
Definition: video_track_i.h:449
SIMULCAST_STREAM_MODE
Definition: AgoraBase.h:2060
Optional< uint32_t > hw_enc_hevc_exceptions
Definition: video_track_i.h:278
VideoCodecAvailableEvent
Definition: video_track_i.h:108
virtual int registerVideoEncodedImageReceiver(media::IVideoEncodedFrameObserver *videoReceiver)
Definition: video_track_i.h:359
virtual int prepareNodes(const char *id=nullptr)=0
virtual void onSourceVideoSizeChanged(uid_t uid, int width, int height, int rotation, int timestamp_ms)
Definition: video_track_i.h:165
virtual void onVideoAvailabilityIndicatorEvent(VideoAvailabilityIndicator indicator)
Definition: video_track_i.h:183
virtual void AddVideoAvailabilityIndicatorEvents(VideoAvailabilityIndicator event)
Definition: video_track_i.h:313
void * view_t
Definition: AgoraBase.h:807
VideoAvailabilityLevel
Definition: video_track_i.h:75
virtual void unregisterProactiveCaller()
Definition: video_track_i.h:483
@ VIDEO_DUMP_RECEIVED_STREAM
Definition: video_track_i.h:119
virtual bool attach(const AttachInfo &info, REMOTE_VIDEO_STATE_REASON reason)=0
VideoContentType content_type
Definition: video_track_i.h:436
virtual bool getStatisticsLLApiInternal(RemoteVideoTrackStats &stats)=0
int sent_loss_ratio
Definition: video_track_i.h:198
virtual bool hasVideoFilterLLApiInternal(const char *id, media::base::VIDEO_MODULE_POSITION position)=0
virtual bool removeRendererLLApiInternal(agora_refptr< IVideoSinkBase > videoRenderer, media::base::VIDEO_MODULE_POSITION position)=0
IRemoteVideoTrackEx()=default
std::vector< GlitchDetectionInfo > glitch_detection_infos
Definition: video_track_i.h:133
Definition: AgoraBase.h:1868
Definition: video_track_i.h:136
bool enable_minor_stream_fec
Definition: video_track_i.h:243
@ VideoModuleEncode
Definition: video_track_i.h:66
virtual void onFirstVideoFrameRendered(int id, uid_t uid, int width, int height, int timestamp_ms)
Definition: video_track_i.h:159
std::vector< int > fec_protection_factor
Definition: video_track_i.h:208
bool enable_quick_intra_high_fec
Definition: video_track_i.h:258
StateEvents< REMOTE_VIDEO_STATE, REMOTE_VIDEO_STATE_REASON > RemoteVideoEvents
Definition: video_track_i.h:444
virtual void onVideoContentChanged(uid_t uid, agora::VideoContentType newType, agora::VideoContentSubType newSubtype)
Definition: video_track_i.h:191
int qoe_critical_report_max_times
Definition: video_track_i.h:139
REMOTE_VIDEO_STATE_REASON
Definition: AgoraBase.h:3165
@ VideoModuleRender
Definition: video_track_i.h:70
bool local_video_attached
Definition: video_track_i.h:286
@ VideoModuleQoE
Definition: video_track_i.h:72
virtual void onFirstVideoFrameDecoded(std::string cid, uid_t uid, uint32_t ssrc, int width, int height, int timestamp_ms)
Definition: video_track_i.h:161
virtual void OnRexferStatusUpdated(bool status, int32_t target_bitrate)
Definition: video_track_i.h:176
virtual void onRemoteVideoStateChanged(uid_t uid, REMOTE_VIDEO_STATE state, REMOTE_VIDEO_STATE_REASON reason, int timestamp_ms)
Definition: video_track_i.h:154
virtual void onRecvSideDelay(uid_t uid, int recv_delay)
Definition: video_track_i.h:169
virtual bool addVideoFilterLLApiInternal(agora_refptr< IVideoFilter > filter, media::base::VIDEO_MODULE_POSITION position=media::base::POSITION_POST_CAPTURER, const char *id=NULL)=0
bool enable_rq_classic_method
Definition: video_track_i.h:252
@ VideoAvailabilityLevel2
Definition: video_track_i.h:77
virtual void OnRequestKeyFrame(uid_t uid, VIDEO_STREAM_TYPE type)
Definition: video_track_i.h:193
virtual void onCameraCharacteristicProfileChanged(agora::rtc::CameraCharacteristicProfile profile)
Definition: video_track_i.h:179
absl::optional< int > max_inflight_frame_count_pre_processsing
Definition: video_track_i.h:259
Optional< int > minscore_for_swh265enc
Definition: video_track_i.h:235
@ VIDEO_DUMP_PRE_ENCODER_YUV
Definition: video_track_i.h:122
virtual void registerProactiveCaller(const std::shared_ptr< ProactiveCaller > &)
Definition: video_track_i.h:482
virtual int GetVideoProfileAutoAdjsut(std::string &config_video_profile, std::string &actual_video_profile)=0
bool enable_minor_stream_vqc
Definition: video_track_i.h:242
virtual bool registerTrackObserver(std::shared_ptr< IVideoTrackObserver > observer)
Definition: video_track_i.h:476
bool dm_lowred
Definition: video_track_i.h:251
Optional< uint32_t > av_enc_bitrate_adjustment_type
Definition: video_track_i.h:264
std::vector< std::vector< int > > fec_ratioLevel
Definition: video_track_i.h:209
std::vector< CameraInfo > CameraInfoList
Definition: video_node_i.h:418
Definition: AgoraAtomicOps.h:21
uid_t user_id_
Definition: video_track_i.h:416
std::string hw_encoder_provider
Definition: video_track_i.h:233
virtual int unregisterVideoEncodedImageReceiver(media::IVideoEncodedFrameObserver *videoReceiver)
Definition: video_track_i.h:361
@ kVideoProcessEventPreprocessEnqueueFailure
Definition: video_track_i.h:101
@ CustomEncodedImageSource
virtual bool NegotiateCodec(uint8_t negotiated_video_decode_caps)
Definition: video_track_i.h:371
virtual int setVideoEncoderConfigurationEx(const VideoEncoderConfiguration &config, utils::ConfigPriority priority=utils::CONFIG_PRIORITY_USER)=0
REMOTE_VIDEO_STATE
Definition: AgoraBase.h:3136
bool disable_rewrite_num_reorder_frame
Definition: video_track_i.h:453
int qoe_report_strategy
Definition: video_track_i.h:142
Definition: video_track_i.h:422
virtual void ReconfigureCaptureDelayMs(int video_capture_delay_ms)
Definition: video_track_i.h:383
virtual bool unregisterTrackObserver(IVideoTrackObserver *observer)
Definition: video_track_i.h:330
int32_t policy
Definition: video_track_i.h:217
uid_t uid
Definition: video_track_i.h:129
Definition: video_track_i.h:202
std::vector< agora::rtc::VideoTimestampExceptionInfo > ts_exception_info
Definition: video_track_i.h:132
Definition: video_track_i.h:459
VideoNodeRtpSource * source
Definition: video_track_i.h:447
uint32_t uid
Definition: video_track_i.h:222
virtual void GetVideoAvailabilityIndicatorEvents(std::vector< VideoAvailabilityIndicator > &events)
Definition: video_track_i.h:315
uint32_t cid
Definition: video_track_i.h:223
std::vector< int > fec_rttThreshold
Definition: video_track_i.h:210
uint32_t render_in_num
Definition: video_track_i.h:429
virtual ~IVideoTrackObserver()=default
uint64_t stats_space
Definition: video_track_i.h:226
virtual rtc::VideoEncoderConfiguration getVideoEncoderConfiguration()
Definition: video_track_i.h:345
bool qoe_analyzer_enable
Definition: video_track_i.h:137
@ kVideoQoe200msFreezeDrop
Definition: video_track_i.h:89
virtual void onRecvSideFps(uid_t uid, int fps)
Definition: video_track_i.h:170
@ VideoModulePipeline
Definition: video_track_i.h:71
Definition: video_track_i.h:446
@ VIDEO_DUMP_FILTERED_YUV
Definition: video_track_i.h:117
Definition: video_track_i.h:289
Optional< bool > hw_enc_video_adjustment_reset
Definition: video_track_i.h:273
virtual bool removeVideoFilterLLApiInternal(agora_refptr< IVideoFilter > filter, media::base::VIDEO_MODULE_POSITION position=media::base::POSITION_POST_CAPTURER, const char *id=NULL)=0
uint8_t negotiated_video_decode_caps
Definition: video_track_i.h:275
int extra
Definition: video_track_i.h:130
@ MANUAL
Definition: video_track_i.h:443
virtual bool setEncoderTemporlayers(int temporlayersNum)
Definition: video_track_i.h:385
DetachReason reason
Definition: video_track_i.h:291
virtual int setFilterPropertyLLApiInternal(const char *id, const char *key, const char *json_value)
Definition: video_track_i.h:410
virtual int getFilterPropertyLLApiInternal(const char *id, const char *key, char *json_value, size_t buf_size)
Definition: video_track_i.h:411
utils::WeakObserversFacility< IVideoTrackObserver > track_observers_
Definition: video_track_i.h:415
Definition: NGIAgoraVideoTrack.h:366
webrtc::RsfecConfig rsfec_config
Definition: video_track_i.h:229
@ VIDEO_DUMP_CAPTURED_YUV
Definition: video_track_i.h:116
WeakPipelineBuilder builder
Definition: video_track_i.h:225
virtual int setLocalVideoSend(bool send)=0
@ VIDEO_DUMP_RENDERED_YUV
Definition: video_track_i.h:121
virtual int onRequestEnableSimulcastStream()
Definition: video_track_i.h:375
@ NETWORK_DESTROY
Definition: video_track_i.h:204
virtual bool setH264BframeNumber(int bframeNum)
Definition: video_track_i.h:387
virtual void OnVideoStatusUpdated(int status)
Definition: video_track_i.h:182
@ VideoModuleDecode
Definition: video_track_i.h:68
@ kVideoTimestampException
Definition: video_track_i.h:91
virtual int ResetVideoConfigExByPriority(utils::ConfigPriority priority)=0
const int id_
Definition: video_track_i.h:411
virtual bool removeRendererLLApiInternal(agora_refptr< IVideoSinkBase > videoRenderer, media::base::VIDEO_MODULE_POSITION position)=0
virtual int setFilterPropertyLLApiInternal(const char *id, const char *key, const char *json_value)
Definition: video_track_i.h:497
int64_t totalFrozen200ms
Definition: video_track_i.h:426
std::string enable_hw_encoder
Definition: video_track_i.h:232
int jitter_offset_ms
Definition: video_track_i.h:433
std::shared_ptr< webrtc::IRsfecCodecFactoryInterface > rsfec_codec_factory
Definition: video_track_i.h:454
virtual int setUserId(uid_t uid)
Definition: video_track_i.h:317
std::string type
Definition: video_track_i.h:218
virtual int SetVideoConfigEx(int index, const VideoConfigurationEx &configEx, utils::ConfigPriority priority=utils::CONFIG_PRIORITY_USER)=0
virtual bool unregisterTrackObserver(IVideoTrackObserver *observer)
Definition: video_track_i.h:479
virtual bool getStatisticsLLApiInternal(LocalVideoTrackStats &stats)=0
VideoNodeRtpSink * network
Definition: video_track_i.h:290
@ kVideoQoe600msFreezeDrop
Definition: video_track_i.h:88
virtual bool addRendererLLApiInternal(agora_refptr< IVideoSinkBase > videoRenderer, media::base::VIDEO_MODULE_POSITION position)=0
virtual int setEnabledLLApiInternal(bool enable, bool action_droppable=true)=0
@ CODEC_CHANGE
Definition: video_track_i.h:204
int largest_ref_distance
Definition: video_track_i.h:256
@ kVideoHwH264EncoderHighProfileAvailable
Definition: video_track_i.h:110
VideoNodeRtpSink * rtcp_sender
Definition: video_track_i.h:448
bool enable_two_bytes_extension
Definition: video_track_i.h:228
Definition: video_track_i.h:214
Definition: video_config_i.h:25
Definition: video_node_i.h:394
bool enable_minor_stream_fec_outside_ratio
Definition: video_track_i.h:244
bool enable_video_diagnose_logger
Definition: video_track_i.h:138
virtual int unregisterMediaPacketReceiverLLApiInternal(IMediaPacketReceiver *packetReceiver)=0
std::vector< StateEvent< STATE_TYPE, REASON_TYPE > > StateEvents
Definition: track_stat_i.h:21
uint32_t dec_in_num
Definition: video_track_i.h:428
int32_t mode
Definition: video_track_i.h:215
LOCAL_VIDEO_STREAM_REASON
Definition: AgoraBase.h:2922
virtual void ReconfigureFecMethod(int fec_method, int dmec_version, int fec_mul_rdc)
Definition: video_track_i.h:381
@ kVideoQoePipelineException
Definition: video_track_i.h:92
virtual void getBillingVideoProfileWithSimulcast(bool &enable, SimulcastConfigInternal &simu_config)
Definition: video_track_i.h:351
virtual void onLocalFilterStatusChanged(int track_id, std::string filter_name, bool enabled)
Definition: video_track_i.h:188
virtual bool attach(const AttachInfo &info)=0
virtual void RequestKeyFrame(VIDEO_STREAM_TYPE type, bool is_quick_intra_request, bool internal)
Definition: video_track_i.h:311
Definition: NGIAgoraVideoTrack.h:67
Definition: video_track_i.h:441
virtual int unregisterVideoEncodedFrameObserverLLApiInternal(agora::media::IVideoEncodedFrameObserver *encodedObserver)=0
VideoModuleId
Definition: video_track_i.h:63
VideoAvailabilityLevel level
Definition: video_track_i.h:126
virtual int32_t Height() const =0
virtual void onEncoderConfigurationChanged(const std::unordered_map< int, VideoConfigurationEx > &config)
Definition: video_track_i.h:171
virtual InternalVideoSourceType getInternalVideoSourceType()
Definition: video_track_i.h:343
@ kVideoQoeFpsSubstandard
Definition: video_track_i.h:90
@ TRACK_DESTROY
Definition: video_track_i.h:443
VideoQoEAnalyzerParameter qoe_analyzer_parameters
Definition: video_track_i.h:285
virtual int updateContentHint(VIDEO_CONTENT_HINT contentHint)
Definition: video_track_i.h:353
virtual uid_t getUserId()
Definition: video_track_i.h:319
virtual bool Enabled() const =0
CongestionControlType cc_type
Definition: video_track_i.h:227
Optional< uint32_t > av_enc_intra_key_interval
Definition: video_track_i.h:262
int hw_capture_delay
Definition: video_track_i.h:280
@ VideoModulePostprocess
Definition: video_track_i.h:69
@ VIDEO_DUMP_ALL
Definition: video_track_i.h:115
@ ERR_NOT_SUPPORTED
Definition: AgoraBase.h:477
virtual ~ILocalVideoTrackEx()
Definition: video_track_i.h:295
virtual int registerMediaPacketReceiverLLApiInternal(IMediaPacketReceiver *packetReceiver)=0
virtual void registerModuleControlPanel(std::shared_ptr< rtc::IModuleControlPanel > panel)
Definition: video_track_i.h:394
virtual bool addRendererLLApiInternal(agora_refptr< IVideoSinkBase > videoRenderer, media::base::VIDEO_MODULE_POSITION position=media::base::POSITION_PRE_RENDERER)=0
Definition: NGIAgoraVideoTrack.h:546
@ kVideoQoeCriticalDrop
Definition: video_track_i.h:87
virtual void getBillingVideoProfile(int32_t &w, int32_t &h, int32_t &frame_rate)
Definition: video_track_i.h:337
std::string switch_to_rq
Definition: video_track_i.h:250
DetachReason
Definition: video_track_i.h:443
VideoModuleId module
Definition: video_track_i.h:127
virtual bool detach(const DetachInfo &info, REMOTE_VIDEO_STATE_REASON reason)=0
virtual void onLocalAddVideoFilter(int track_id, std::string filter_name, bool enabled)
Definition: video_track_i.h:187
virtual int GetConfigExs(std::unordered_map< int, VideoConfigurationEx > &configs, bool include_disable_config=false)=0
VideoQoeEvent
Definition: video_track_i.h:86
@ kVideoProcessEventPreprocessCongested
Definition: video_track_i.h:104
Definition: video_node_i.h:380
bool support_higher_standard_bitrate
Definition: video_track_i.h:284
virtual bool getVideoTextureCopyStatus(VideoTextureCopyParam ¶m)
Definition: video_track_i.h:347
CongestionControlType
Definition: rtc_connection_i.h:85
virtual void onVideoModuleStatus(std::string node_name, int type)
Definition: video_track_i.h:373
virtual int clearVideoWatermarks()
Definition: video_track_i.h:341
Definition: AgoraBase.h:2221
@ kVideoHwH265EncoderAvailable
Definition: video_track_i.h:109
Definition: NGIAgoraVideoTrack.h:433
@ kVideoUplinkEventStaticFrames
Definition: video_track_i.h:83
@ kVideoGlitchDetection
Definition: video_track_i.h:93
int fec_method
Definition: video_track_i.h:247
Definition: video_track_i.h:221
virtual bool isVideoFilterEnabled(const char *id)
Definition: video_track_i.h:379
virtual bool hasPublished()=0
utils::WeakObserversFacility< IVideoTrackObserver > track_observers_
Definition: video_track_i.h:500
virtual int setSimulcastStreamModeLLApiInternal(SIMULCAST_STREAM_MODE mode, const SimulcastConfigInternal &simu_config)=0
virtual void onVideoPipelineDataFormatChanged(int format)
Definition: video_track_i.h:172
bool recv_media_packet
Definition: video_track_i.h:450
virtual uint32_t getRemoteSsrc()=0
virtual void onLocalVideoStateChanged(int id, LOCAL_VIDEO_STREAM_STATE state, LOCAL_VIDEO_STREAM_REASON reason, int timestamp_ms)
Definition: video_track_i.h:149
virtual bool getStatisticsEx(LocalVideoTrackStatsEx &statsEx)
Definition: video_track_i.h:334
VIDEO_STREAM_TYPE
Definition: AgoraBase.h:1553
int harq_version
Definition: video_track_i.h:240
virtual void unregisterProactiveCaller()
Definition: video_track_i.h:392
@ VideoAvailabilityLevel3
Definition: video_track_i.h:78
LocalVideoTrackStats local_video_stats
Definition: video_track_i.h:197
virtual int GetCaptureMode(CaptureModeItem &captureModeOut)=0
int code
Definition: video_track_i.h:128
uint32_t video_threshhold_ms
Definition: video_track_i.h:455
virtual int GetActiveStreamsCount()=0
virtual int enableVideoFilterLLApiInternal(const char *id, bool enable)
Definition: video_track_i.h:496
DetachReason
Definition: video_track_i.h:204
VideoNodeRtpSource * source
Definition: video_track_i.h:460
uint64_t stats_space
Definition: video_track_i.h:451
int qoe_timing_strategy_report_period
Definition: video_track_i.h:143
virtual void OnNotifyDepartedFrame(uid_t uid, int picture_id)
Definition: video_track_i.h:177
virtual void registerProactiveCaller(const std::shared_ptr< rtc::ProactiveCaller > &configurator)
Definition: video_track_i.h:391
virtual bool ClearPriorityDeviceVideoConfigs()
Definition: video_track_i.h:365
Definition: AgoraBase.h:3248
bool isHardwareCodec
Definition: video_track_i.h:425
virtual bool addVideoFilterLLApiInternal(agora_refptr< IVideoFilter > filter, media::base::VIDEO_MODULE_POSITION position=media::base::POSITION_POST_CAPTURER, const char *id=NULL)=0
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:190
VIDEO_CONTENT_HINT
Definition: AgoraBase.h:2697
int qoe_high_report_max_times
Definition: video_track_i.h:140
virtual void onCameraFacingChanged(int facing)
Definition: video_track_i.h:173
uint32_t sync_peer_uid
Definition: video_track_i.h:281
unsigned int uid_t
Definition: AgoraMediaBase.h:28
bool pec_enabled
Definition: video_track_i.h:211
virtual void setVideoDumpMode(int mode, bool enabled, int frame_cnt=-1)
Definition: video_track_i.h:369
CLIENT_ROLE_TYPE
Definition: AgoraBase.h:2454
virtual bool getIsAttachedToNetwork()
Definition: video_track_i.h:377
@ VIDEO_DUMP_DECODED_YUV
Definition: video_track_i.h:120
bool enable_video_send_diagnose
Definition: video_track_i.h:267
uint32_t last_frame_max
Definition: video_track_i.h:427
virtual ~IRemoteVideoTrackEx()
Definition: video_track_i.h:467
Definition: video_track_i.h:146
VideoPipelineEvent
Definition: video_track_i.h:82
uint64_t firstVideoFrameRendered
Definition: video_track_i.h:424
virtual int enableVideoFilterLLApiInternal(const char *id, bool enable)
Definition: video_track_i.h:409
virtual void onCameraInfoListChanged(CameraInfoList cameraInfoList)
Definition: video_track_i.h:178
@ VIDEO_DUMP_DEFAULT
Definition: video_track_i.h:114
uint32_t loss_af_fec
Definition: video_track_i.h:432
VideoNodeRtpSink * network
Definition: video_track_i.h:224
std::vector< VideoAvailabilityIndicator > video_availability
Definition: video_track_i.h:437
int dm_wsize
Definition: video_track_i.h:248
ILocalVideoTrackEx()
Definition: video_track_i.h:294
virtual bool getStatisticsEx(RemoteVideoTrackStatsEx &statsex)
Definition: video_track_i.h:474
@ VIDEO_DUMP_ENCODED_STREAM
Definition: video_track_i.h:118
int32_t minimum_fec_level
Definition: video_track_i.h:254
virtual void OnSetRexferParams(bool fec_rexfer, float rexfer_alpha, int max_rexfer_times)
Definition: video_track_i.h:175
virtual void onSendSideDelay(int id, int send_delay)
Definition: video_track_i.h:168
uint64_t qp_sum
Definition: video_track_i.h:435
virtual bool registerTrackObserver(std::shared_ptr< IVideoTrackObserver > observer)
Definition: video_track_i.h:327
Definition: video_node_i.h:28
virtual void onFirstVideoKeyFrameReceived(uid_t uid, uint64_t timestamp, const webrtc::FirstVideoFrameStreamInfo &streamInfo)
Definition: video_track_i.h:163
@ VideoModulePreprocess
Definition: video_track_i.h:65
virtual bool hasVideoFilterLLApiInternal(const char *id, media::base::VIDEO_MODULE_POSITION position)=0
bool enable_check_for_disable_fec
Definition: video_track_i.h:257
Optional< bool > hw_encoder_force_alignment
Definition: video_track_i.h:271
bool enable_minor_stream_intra_request
Definition: video_track_i.h:245
virtual void getSimucastStreamConfig(SimulcastConfigInternal &simu_stream_config)
Definition: video_track_i.h:349
Definition: video_track_i.h:207
int qoe_normal_report_max_times
Definition: video_track_i.h:141
virtual int setVideoEncoderConfigurationLLApiInternal(const rtc::VideoEncoderConfiguration &config)=0
@ VideoModuleNetwork
Definition: video_track_i.h:67
Definition: NGIAgoraVideoTrack.h:220
virtual int updateScreenCaptureScenario(SCREEN_SCENARIO_TYPE screenScenario)
Definition: video_track_i.h:355
std::vector< agora::rtc::QoEDropInfo > extra2
Definition: video_track_i.h:131
virtual bool detach(const DetachInfo &info)=0
@ VideoModuleCapture
Definition: video_track_i.h:64
DetachReason reason
Definition: video_track_i.h:462
Optional< uint32_t > hw_encoder_width_alignment
Definition: video_track_i.h:269
Definition: video_track_i.h:125
std::weak_ptr< webrtc::Call > WeakPipelineBuilder
Definition: common_defines.h:26
virtual void OnEncoderStatusUpdate(webrtc::VideoCodecType codec_type, webrtc::HW_ENCODER_ACCELERATING_STATUS hw_accelerate_status)
Definition: video_track_i.h:180