NERTC macOS/Windows SDK V5.6.40
载入中...
搜索中...
未找到
nertc_engine_ex.h
浏览该文件的文档.
1
7#ifndef NERTC_ENGINE_EX_H
8#define NERTC_ENGINE_EX_H
9
10#include "nertc_base.h"
11#include "nertc_base_types.h"
15#include "nertc_engine.h"
16#include "nertc_channel.h"
19
24namespace nertc
25{
26
38{
39public:
40 virtual ~IRtcEngineEx() {}
41
56 virtual IRtcChannel* createChannel(const char* channel_name) = 0;
57
69
128 virtual int muteLocalAudioStream(bool mute) = 0;
129
156 virtual int enableLocalSubStreamAudio(bool enabled) = 0;
157
184 virtual int muteLocalSubStreamAudio(bool mute) = 0;
185
237
269 virtual int setAudioProfile(NERtcAudioProfileType profile) = 0;
270
302 virtual int setAudioScenario(NERtcAudioScenarioType scenario) = 0;
303
351
400
425 virtual int setLocalVoicePitch(double pitch) = 0;
426
447 virtual int setLocalVoiceEqualization(NERtcVoiceEqualizationBand band_frequency, int band_gain) = 0;
448
513 virtual int subscribeRemoteAudioStream(uid_t uid, bool subscribe) = 0;
514
574 virtual int subscribeRemoteSubStreamAudio(uid_t uid, bool subscribe) = 0;
575
626 virtual int subscribeAllRemoteAudioStream(bool subscribe) = 0;
627
658 virtual int setAudioSubscribeOnlyBy(uid_t* uid_array, uint32_t size) = 0;
659
675 virtual int setSubscribeAudioAllowlist(uid_t* uid_array, uint32_t size) = 0;
676
692 virtual int setSubscribeAudioBlocklist(NERtcAudioStreamType type, uid_t* uid_array, uint32_t size) = 0;
693
737 virtual void setStreamAlignmentProperty(bool enable) = 0;
738
753 virtual int64_t getNtpTimeOffset() = 0;
754
810 virtual int setCameraCaptureConfig(const NERtcCameraCaptureConfig& config) = 0;
811
863
925 virtual int setVideoConfig(const NERtcVideoConfig& config) = 0;
926
979 virtual int setVideoConfig(NERtcVideoStreamType type, const NERtcVideoConfig& config) = 0;
980
1029 virtual int enableDualStreamMode(bool enable) = 0;
1030
1076
1127
1151
1195 virtual int setLocalRenderMode(NERtcVideoScalingMode scaling_mode) = 0;
1196
1241 virtual int setLocalRenderMode(NERtcVideoScalingMode scaling_mode, NERtcVideoStreamType stream_type) = 0;
1242
1268 virtual int setLocalVideoMirrorMode(NERtcVideoMirrorMode mirror_mode) = 0;
1269
1322
1344 virtual int setRemoteRenderMode(uid_t uid, NERtcVideoScalingMode scaling_mode) = 0;
1345
1369 virtual int setRemoteRenderMode(uid_t uid, NERtcVideoScalingMode scaling_mode, NERtcVideoStreamType stream_type) = 0;
1370
1435
1505
1568 virtual int subscribeRemoteVideoSubStream(uid_t uid, bool subscribe) = 0;
1569
1592 virtual int setRemoteSubSteamRenderMode(uid_t uid, NERtcVideoScalingMode scaling_mode) = 0;
1593
1634 virtual int startVideoPreview() = 0;
1635
1684
1719 virtual int stopVideoPreview() = 0;
1720
1763
1821 virtual int muteLocalVideoStream(bool mute) = 0;
1822
1881 virtual int muteLocalVideoStream(NERtcVideoStreamType type, bool mute) = 0;
1882
1939 virtual int setLocalMediaPriority(NERtcMediaPriorityType priority, bool is_preemptive) = 0;
1940
1987 virtual int setParameters(const char* parameters) = 0;
1988
2024 virtual const char* getParameters(const char* parameters, const char* extra_info) = 0;
2025
2077
2129
2181
2182
2233 virtual int setMixedAudioFrameParameters(int sample_rate) = 0;
2234
2301
2316 virtual int startAudioDump() = 0;
2317
2326 virtual int startAudioDump(NERtcAudioDumpType type) = 0;
2327
2352 virtual int stopAudioDump() = 0;
2353
2416
2443 virtual int stopAudioMixing() = 0;
2444
2478 virtual int pauseAudioMixing() = 0;
2479
2509 virtual int resumeAudioMixing() = 0;
2510
2529 virtual int setAudioMixingSendVolume(uint32_t volume) = 0;
2530
2549 virtual int getAudioMixingSendVolume(uint32_t *volume) = 0;
2550
2569 virtual int setAudioMixingPlaybackVolume(uint32_t volume) = 0;
2570
2589 virtual int getAudioMixingPlaybackVolume(uint32_t *volume) = 0;
2590
2609 virtual int getAudioMixingDuration(uint64_t *duration) = 0;
2610
2629 virtual int getAudioMixingCurrentPosition(uint64_t *position) = 0;
2630
2649 virtual int setAudioMixingPosition(uint64_t seek_position) = 0;
2650
2717 virtual int playEffect(uint32_t effect_id, NERtcCreateAudioEffectOption *option) = 0;
2718
2760 virtual int stopEffect(uint32_t effect_id) = 0;
2761
2790 virtual int stopAllEffects() = 0;
2791
2810 virtual int pauseEffect(uint32_t effect_id) = 0;
2811
2830 virtual int resumeEffect(uint32_t effect_id) = 0;
2831
2848 virtual int pauseAllEffects() = 0;
2849
2866 virtual int resumeAllEffects() = 0;
2867
2888 virtual int setEffectSendVolume(uint32_t effect_id, uint32_t volume) = 0;
2909 virtual int getEffectSendVolume(uint32_t effect_id, uint32_t *volume) = 0;
2910
2931 virtual int setEffectPlaybackVolume(uint32_t effect_id, uint32_t volume) = 0;
2932
2953 virtual int getEffectPlaybackVolume(uint32_t effect_id, uint32_t *volume) = 0;
2954
2996 virtual int setAudioMixingPitch(int32_t pitch) = 0;
2997
3031 virtual int getAudioMixingPitch(int32_t* pitch) = 0;
3032
3080 virtual int setEffectPitch(uint32_t effect_id, int32_t pitch) = 0;
3081
3121 virtual int getEffectPitch(uint32_t effect_id, int32_t* pitch) = 0;
3122
3158 virtual int enableLoopbackRecording(bool enabled, const char *device_name) = 0;
3159
3180 virtual int adjustLoopbackRecordingSignalVolume(int volume) = 0;
3181
3235 virtual int enableEarback(bool enabled, uint32_t volume) = 0;
3236
3255 virtual int setEarbackVolume(uint32_t volume) = 0;
3256
3273 virtual int setStatsObserver(IRtcMediaStatsObserver *observer) = 0;
3274
3275
3326
3377
3434 virtual int enableAudioVolumeIndication(bool enable, uint64_t interval) = 0;
3435
3500 virtual int enableAudioVolumeIndication(bool enable, uint64_t interval, bool enable_vad) = 0;
3501
3528 virtual IScreenCaptureSourceList* getScreenCaptureSources(const NERtcSize& thumbSize, const NERtcSize& iconSize, const bool includeScreen) = 0;
3529
3606 virtual int startScreenCaptureByScreenRect(const NERtcRectangle& screen_rect, const NERtcRectangle& region_rect, const NERtcScreenCaptureParameters& capture_params) = 0;
3607
3680 virtual int startScreenCaptureByDisplayId(source_id_t display_id, const NERtcRectangle& region_rect, const NERtcScreenCaptureParameters& capture_params) = 0;
3681
3755 virtual int startScreenCaptureByWindowId(source_id_t window_id, const NERtcRectangle& region_rect, const NERtcScreenCaptureParameters& capture_params) = 0;
3756
3771 virtual int32_t setScreenCaptureSource(const NERtcScreenCaptureSourceInfo& source, const NERtcRectangle& region_rect, const NERtcScreenCaptureParameters& capture_params) = 0;
3772
3791 virtual int updateScreenCaptureRegion(const NERtcRectangle& region_rect) = 0;
3792
3815 virtual int setScreenCaptureMouseCursor(bool capture_cursor) = 0;
3816
3851 virtual int stopScreenCapture() = 0;
3852
3870 virtual int pauseScreenCapture() = 0;
3871
3887 virtual int resumeScreenCapture() = 0;
3888
3889
3916 virtual int setExcludeWindowList(source_id_t* window_list, int count) = 0;
3917
3961
4014 virtual int setExternalVideoSource(bool enabled) = 0;
4015
4068 virtual int setExternalVideoSource(NERtcVideoStreamType type, bool enabled) = 0;
4069
4093
4146
4221
4295 virtual int setExternalAudioSource(bool enabled, int sample_rate, int channels) = 0;
4296
4326
4396
4470 virtual int setExternalSubStreamAudioSource(bool enabled, int sample_rate, int channels) = 0;
4471
4501
4571
4642 virtual int setExternalAudioRender(bool enabled, int sample_rate, int channels) = 0;
4643
4676 virtual int pullExternalAudioFrame(void* data, int len) = 0;
4677
4692 virtual const char* getVersion(int* build) = 0;
4693
4708 virtual const char* getErrorDescription(int error_code) = 0;
4709
4724 virtual void uploadSdkInfo() = 0;
4725
4809 virtual int addLiveStreamTask(const NERtcLiveStreamTaskInfo& info) = 0;
4810
4862 virtual int updateLiveStreamTask(const NERtcLiveStreamTaskInfo& info) = 0;
4863
4917 virtual int removeLiveStreamTask(const char* task_id) = 0;
4918
4955 virtual int sendSEIMsg(const char* data, int length, NERtcVideoStreamType type) = 0;
4956
4993 virtual int sendSEIMsg(const char* data, int length) = 0;
4994
5022
5052
5081 virtual int takeRemoteSnapshot(uid_t uid, NERtcVideoStreamType stream_type, NERtcTakeSnapshotCallback *callback) = 0;
5082
5083
5153 virtual int startAudioRecording(const char* file_path, int sample_rate, NERtcAudioRecordingQuality quality) = 0;
5154
5201
5235 virtual int stopAudioRecording() = 0;
5236
5294 virtual int adjustUserPlaybackSignalVolume(uid_t uid, int volume) = 0;
5295
5325 virtual int adjustChannelPlaybackSignalVolume(uint32_t volume) = 0;
5326
5355
5379
5409 virtual int stopChannelMediaRelay() = 0;
5410
5436
5462
5492 virtual int enableSuperResolution(bool enable) = 0;
5493
5528 virtual int enableEncryption(bool enable, NERtcEncryptionConfig config) = 0;
5529
5559 virtual int startLastmileProbeTest(const NERtcLastmileProbeConfig& config) = 0;
5560
5577 virtual int stopLastmileProbeTest() = 0;
5578
5611 virtual int setRemoteHighPriorityAudioStream(bool enabled, uid_t uid) = 0;
5612
5631 virtual int checkNECastAudioDriver() = 0;
5632
5681 virtual int enableVirtualBackground(bool enabled, VirtualBackgroundSource backgroundSource, bool force = false) = 0;
5682
5731 virtual int isFeatureSupported(NERtcFeatureType featureType, bool* support) = 0;
5732
5758
5779
5800 virtual int setCloudProxy(int proxyType) = 0;
5801
5830 virtual int enableLocalData(bool enabled) = 0;
5831
5860 virtual int subscribeRemoteData(uid_t uid, bool subscribe) = 0;
5861
5882 virtual int sendData(void* pData, uint64_t size) = 0;
5883
5914 virtual int startBeauty(const char* file_path) = 0;
5915
5936 virtual void stopBeauty() = 0;
5937
5984 virtual void enableBeauty(bool enabled) = 0;
5985
6001 virtual void enableBeautyMirrorMode(bool enabled) = 0;
6002
6026
6084 virtual int setBeautyEffect(NERtcBeautyEffectType type, float level) = 0;
6085
6140 virtual int addBeautyFilter(const char* file_path) = 0;
6141
6160 virtual int removeBeautyFilter() = 0;
6161
6188 virtual int setBeautyFilterLevel(float level) = 0;
6189
6218 virtual int addBeautySticker(const char* file_path) = 0;
6219
6238 virtual int removeBeautySticker() = 0;
6239
6268 virtual int addBeautyMakeup(const char* file_path) = 0;
6269
6288 virtual int removeBeautyMakeup() = 0;
6289
6311
6352 virtual int enableMediaPub(bool enabled, NERtcMediaPubType media_type) = 0;
6353
6401 virtual int updatePermissionKey(const char* key) = 0;
6402
6457 virtual int setEffectPosition(uint32_t effect_id, uint64_t timestamp_ms) = 0;
6458
6509 virtual int getEffectCurrentPosition(uint64_t effect_id, uint64_t* timestamp_ms) = 0;
6510
6561 virtual int getEffectDuration(uint64_t effect_id, uint64_t* duration_ms) = 0;
6562
6563 virtual int reportCustomEvent(const char* event_name, const char* custom_identify, const char* parameters) = 0;
6564
6579
6595 virtual int setRangeAudioTeamID(int32_t team_id) = 0;
6596
6613 virtual int setAudioRecvRange(int audible_distance, int conversational_distance, NERtcDistanceRolloffModel roll_off) = 0;
6614
6648 virtual int updateSelfPosition(const NERtcPositionInfo& info) = 0;
6649
6663 virtual int enableSpatializerRoomEffects(bool enable) = 0;
6664
6678 virtual int setSpatializerRoomProperty(const NERtcSpatializerRoomProperty& room_property) = 0;
6679
6694
6704 virtual int initSpatializer() = 0;
6705
6725 virtual int enableSpatializer(bool enable, bool apply_to_team) = 0;
6726
6803 virtual int startPushStreaming(const NERtcPushStreamingConfig& config) = 0;
6804
6845 virtual int stopPushStreaming() = 0;
6846
6856 virtual int addLocalRecorderStreamForTask(const NERtcLocalRecordingConfig& config, const char* task_id) = 0;
6857
6866 virtual int removeLocalRecorderStreamForTask(const char* task_id) = 0;
6867
6881 uid_t uId,
6882 NERtcVideoStreamType streamType,
6883 int stream_layer,
6884 const char* task_id) = 0;
6885
6897 virtual int removeLocalRecorderStreamLayoutForTask(uid_t uId, NERtcVideoStreamType streamType, int stream_layer, const char* task_id) = 0;
6898
6910 int infos_count,
6911 const char* task_id) = 0;
6912
6924 int infos_count,
6925 const char* task_id) = 0;
6926
6939 virtual int pushLocalRecorderVideoFrameForTask(uid_t uId, NERtcVideoStreamType streamType, const int stream_layer, const char* task_id, NERtcVideoFrame* frame) = 0;
6940
6953 virtual int showLocalRecorderStreamDefaultCoverForTask(bool show_enabled,
6954 uid_t uId,
6955 NERtcVideoStreamType streamType,
6956 int stream_layer,
6957 const char* task_id) = 0;
6958
6967 virtual int stopLocalRecorderRemuxMp4(const char* task_id) = 0;
6968};
6969
6970} //namespace nertc
6971
6972#endif
定义 nertc_engine_defines.h:5114
定义 nertc_engine_predecode_observer.h:224
定义 nertc_engine_video_encoder_qos_observer.h:28
定义 nertc_channel.h:33
定义 nertc_engine_ex.h:38
virtual int setEffectPosition(uint32_t effect_id, uint64_t timestamp_ms)=0
virtual int setScreenCaptureMouseCursor(bool capture_cursor)=0
virtual void setStreamAlignmentProperty(bool enable)=0
virtual int setRangeAudioMode(NERtcRangeAudioMode mode)=0
virtual int subscribeRemoteSubStreamAudio(uid_t uid, bool subscribe)=0
virtual int setLocalPublishFallbackOption(NERtcStreamFallbackOption option)=0
virtual int pushExternalAudioEncodedFrame(NERtcAudioEncodedFrame *encoded_frame)=0
virtual int takeLocalSnapshot(NERtcVideoStreamType stream_type, NERtcTakeSnapshotCallback *callback)=0
virtual void stopBeauty()=0
virtual int pushExternalAudioFrame(NERtcAudioFrame *frame)=0
virtual int setVideoConfig(NERtcVideoStreamType type, const NERtcVideoConfig &config)=0
virtual int stopLocalRecorderRemuxMp4(const char *task_id)=0
virtual int getAudioMixingSendVolume(uint32_t *volume)=0
virtual int isFeatureSupported(NERtcFeatureType featureType, bool *support)=0
virtual int setAudioMixingPlaybackVolume(uint32_t volume)=0
virtual int startScreenCaptureByScreenRect(const NERtcRectangle &screen_rect, const NERtcRectangle &region_rect, const NERtcScreenCaptureParameters &capture_params)=0
virtual int setLocalVideoMirrorMode(NERtcVideoStreamType type, NERtcVideoMirrorMode mirror_mode)=0
virtual int removeLocalRecorderStreamForTask(const char *task_id)=0
virtual int setLocalVoiceReverbParam(NERtcReverbParam &param)=0
virtual int subscribeRemoteVideoSubStream(uid_t uid, bool subscribe)=0
virtual int pullExternalAudioFrame(void *data, int len)=0
virtual int addLocalRecorderStreamLayoutForTask(const NERtcLocalRecordingLayoutConfig &config, uid_t uId, NERtcVideoStreamType streamType, int stream_layer, const char *task_id)=0
virtual int getEffectCurrentPosition(uint64_t effect_id, uint64_t *timestamp_ms)=0
virtual int setBeautyFilterLevel(float level)=0
virtual int takeRemoteSnapshot(uid_t uid, NERtcVideoStreamType stream_type, NERtcTakeSnapshotCallback *callback)=0
virtual int addBeautyMakeup(const char *file_path)=0
virtual int getEffectDuration(uint64_t effect_id, uint64_t *duration_ms)=0
virtual int enableSuperResolution(bool enable)=0
virtual NERtcConnectionStateType getConnectionState()=0
virtual int checkNECastAudioDriver()=0
virtual int pushExternalSubStreamAudioFrame(NERtcAudioFrame *frame)=0
virtual int setLocalRenderMode(NERtcVideoScalingMode scaling_mode, NERtcVideoStreamType stream_type)=0
virtual int setCameraCaptureConfig(const NERtcCameraCaptureConfig &config)=0
virtual int setExternalAudioSource(bool enabled, int sample_rate, int channels)=0
virtual int setAudioProfile(NERtcAudioProfileType profile, NERtcAudioScenarioType scenario)=0
virtual int setEffectSendVolume(uint32_t effect_id, uint32_t volume)=0
virtual int64_t getNtpTimeOffset()=0
virtual int setExternalAudioRender(bool enabled, int sample_rate, int channels)=0
virtual int resumeEffect(uint32_t effect_id)=0
virtual int stopAudioRecording()=0
virtual int setVideoEncoderQosObserver(INERtcVideoEncoderQosObserver *observer)=0
virtual int32_t setScreenCaptureSource(const NERtcScreenCaptureSourceInfo &source, const NERtcRectangle &region_rect, const NERtcScreenCaptureParameters &capture_params)=0
virtual int setAudioSubscribeOnlyBy(uid_t *uid_array, uint32_t size)=0
virtual int stopEffect(uint32_t effect_id)=0
virtual int startChannelMediaRelay(NERtcChannelMediaRelayConfiguration *config)=0
virtual int sendData(void *pData, uint64_t size)=0
virtual int setRemoteSubSteamRenderMode(uid_t uid, NERtcVideoScalingMode scaling_mode)=0
virtual int getAudioMixingPitch(int32_t *pitch)=0
virtual int enableEncryption(bool enable, NERtcEncryptionConfig config)=0
virtual int addLocalRecorderStreamForTask(const NERtcLocalRecordingConfig &config, const char *task_id)=0
virtual int muteLocalAudioStream(bool mute)=0
virtual int enableVirtualBackground(bool enabled, VirtualBackgroundSource backgroundSource, bool force=false)=0
virtual int enableLoopbackRecording(bool enabled, const char *device_name)=0
virtual int showLocalRecorderStreamDefaultCoverForTask(bool show_enabled, uid_t uId, NERtcVideoStreamType streamType, int stream_layer, const char *task_id)=0
virtual int setLocalVideoWatermarkConfigs(bool enabled, NERtcVideoStreamType type, NERtcVideoWatermarkConfig &config)=0
virtual NERTCFeatureSupportType getFeatureSupportedType(NERtcFeatureType feature_type)=0
virtual int startBeauty(const char *file_path)=0
virtual int setupLocalVideoStreamCanvas(NERtcVideoCanvas *canvas, NERtcVideoStreamType stream_type)=0
virtual int updateChannelMediaRelay(NERtcChannelMediaRelayConfiguration *config)=0
virtual int setSpatializerRenderMode(NERtcSpatializerRenderMode mode)=0
virtual int initSpatializer()=0
virtual int setParameters(const char *parameters)=0
virtual int startAudioMixing(NERtcCreateAudioMixingOption *option)=0
virtual int updateScreenCaptureRegion(const NERtcRectangle &region_rect)=0
virtual int enableEarback(bool enabled, uint32_t volume)=0
virtual int stopChannelMediaRelay()=0
virtual int setStatsObserver(IRtcMediaStatsObserver *observer)=0
virtual int startAudioDump()=0
virtual int getEffectSendVolume(uint32_t effect_id, uint32_t *volume)=0
virtual int setRangeAudioTeamID(int32_t team_id)=0
virtual int setExternalSubStreamAudioSource(bool enabled, int sample_rate, int channels)=0
virtual int setRemoteSubscribeFallbackOption(NERtcStreamFallbackOption option)=0
virtual int startAudioDump(NERtcAudioDumpType type)=0
virtual int adjustLoopbackRecordingSignalVolume(int volume)=0
virtual IScreenCaptureSourceList * getScreenCaptureSources(const NERtcSize &thumbSize, const NERtcSize &iconSize, const bool includeScreen)=0
virtual int subscribeAllRemoteAudioStream(bool subscribe)=0
virtual int updateScreenCaptureParameters(const nertc::NERtcScreenCaptureParameters &captureParams)=0
virtual void uploadSdkInfo()=0
virtual int setExternalVideoSource(NERtcVideoStreamType type, bool enabled)=0
virtual void enableBeauty(bool enabled)=0
virtual int enableSpatializer(bool enable, bool apply_to_team)=0
virtual const char * getVersion(int *build)=0
virtual int setPreDecodeObserver(INERtcPreDecodeObserver *observer)=0
virtual int muteLocalSubStreamAudio(bool mute)=0
virtual int setSpatializerRoomProperty(const NERtcSpatializerRoomProperty &room_property)=0
virtual int getAudioMixingCurrentPosition(uint64_t *position)=0
virtual int stopScreenCapture()=0
virtual int setupRemoteSubStreamVideoCanvas(uid_t uid, NERtcVideoCanvas *canvas)=0
virtual int resumeScreenCapture()=0
virtual IRtcChannel * createChannel(const char *channel_name)=0
virtual int updatePermissionKey(const char *key)=0
virtual int pauseAudioMixing()=0
virtual float getBeautyEffect(NERtcBeautyEffectType type)=0
virtual int pauseEffect(uint32_t effect_id)=0
virtual int pauseScreenCapture()=0
virtual int subscribeRemoteData(uid_t uid, bool subscribe)=0
virtual int setPlaybackAudioFrameBeforeMixingParameters(NERtcAudioFrameRequestFormat *format)=0
virtual int updateSelfPosition(const NERtcPositionInfo &info)=0
virtual int startPushStreaming(const NERtcPushStreamingConfig &config)=0
virtual int resumeAllEffects()=0
virtual void enableBeautyMirrorMode(bool enabled)=0
virtual int addBeautyFilter(const char *file_path)=0
virtual int setVoiceBeautifierPreset(NERtcVoiceBeautifierType type)=0
virtual int enableAudioVolumeIndication(bool enable, uint64_t interval)=0
virtual int setEffectPlaybackVolume(uint32_t effect_id, uint32_t volume)=0
virtual int setMixedAudioFrameParameters(int sample_rate)=0
virtual int muteLocalVideoStream(bool mute)=0
virtual int stopAudioDump()=0
virtual int stopAudioMixing()=0
virtual int startAudioRecordingWithConfig(const NERtcAudioRecordingConfiguration &config)=0
virtual int resumeAudioMixing()=0
virtual int setLocalVideoMirrorMode(NERtcVideoMirrorMode mirror_mode)=0
virtual int setAudioMixingSendVolume(uint32_t volume)=0
virtual int startScreenCaptureByWindowId(source_id_t window_id, const NERtcRectangle &region_rect, const NERtcScreenCaptureParameters &capture_params)=0
virtual int sendSEIMsg(const char *data, int length, NERtcVideoStreamType type)=0
virtual int getAudioMixingPlaybackVolume(uint32_t *volume)=0
virtual int setupLocalSubStreamVideoCanvas(NERtcVideoCanvas *canvas)=0
virtual int stopVideoPreview()=0
virtual int startLastmileProbeTest(const NERtcLastmileProbeConfig &config)=0
virtual int playEffect(uint32_t effect_id, NERtcCreateAudioEffectOption *option)=0
virtual int adjustChannelPlaybackSignalVolume(uint32_t volume)=0
virtual int setAudioScenario(NERtcAudioScenarioType scenario)=0
virtual int updateLocalRecorderStreamLayoutForTask(const NERtcLocalRecordingStreamInfo *infos, int infos_count, const char *task_id)=0
virtual int setLocalRenderMode(NERtcVideoScalingMode scaling_mode)=0
virtual int setAudioRecvRange(int audible_distance, int conversational_distance, NERtcDistanceRolloffModel roll_off)=0
virtual int setupRemoteVideoStreamCanvas(uid_t uid, NERtcVideoCanvas *canvas, NERtcVideoStreamType stream_type)=0
virtual int enableMediaPub(bool enabled, NERtcMediaPubType media_type)=0
virtual int pushExternalVideoFrame(NERtcVideoStreamType type, NERtcVideoFrame *frame)=0
virtual int removeBeautyFilter()=0
virtual int pushLocalRecorderVideoFrameForTask(uid_t uId, NERtcVideoStreamType streamType, const int stream_layer, const char *task_id, NERtcVideoFrame *frame)=0
virtual int setRemoteRenderMode(uid_t uid, NERtcVideoScalingMode scaling_mode)=0
virtual int setLocalMediaPriority(NERtcMediaPriorityType priority, bool is_preemptive)=0
virtual int enableSpatializerRoomEffects(bool enable)=0
virtual const char * getParameters(const char *parameters, const char *extra_info)=0
virtual int setLocalVoicePitch(double pitch)=0
virtual int addBeautySticker(const char *file_path)=0
virtual int pushExternalVideoEncodedFrame(NERtcVideoStreamType type, NERtcVideoEncodedFrame *encoded_frame)=0
virtual int setRemoteRenderMode(uid_t uid, NERtcVideoScalingMode scaling_mode, NERtcVideoStreamType stream_type)=0
virtual int setAudioFrameObserver(INERtcAudioFrameObserver *observer)=0
virtual int replaceLocalRecorderStreamLayoutForTask(const NERtcLocalRecordingStreamInfo *infos, int infos_count, const char *task_id)=0
virtual int removeBeautyMakeup()=0
virtual int updateLiveStreamTask(const NERtcLiveStreamTaskInfo &info)=0
virtual int setAudioMixingPosition(uint64_t seek_position)=0
virtual int stopPushStreaming()=0
virtual int adjustUserPlaybackSignalVolume(uid_t uid, int volume)=0
virtual int setVideoConfig(const NERtcVideoConfig &config)=0
virtual int removeLocalRecorderStreamLayoutForTask(uid_t uId, NERtcVideoStreamType streamType, int stream_layer, const char *task_id)=0
virtual int enableLocalData(bool enabled)=0
virtual int enableDualStreamMode(bool enable)=0
virtual int removeBeautySticker()=0
virtual int startScreenCaptureByDisplayId(source_id_t display_id, const NERtcRectangle &region_rect, const NERtcScreenCaptureParameters &capture_params)=0
virtual int enableLocalSubStreamAudio(bool enabled)=0
virtual int subscribeRemoteAudioStream(uid_t uid, bool subscribe)=0
virtual int setCameraCaptureConfig(NERtcVideoStreamType type, const NERtcCameraCaptureConfig &config)=0
virtual int getEffectPitch(uint32_t effect_id, int32_t *pitch)=0
virtual const char * getErrorDescription(int error_code)=0
virtual int setPlaybackAudioFrameParameters(NERtcAudioFrameRequestFormat *format)=0
virtual int getEffectPlaybackVolume(uint32_t effect_id, uint32_t *volume)=0
virtual int setExternalVideoSource(bool enabled)=0
virtual int stopAllEffects()=0
virtual int setCloudProxy(int proxyType)=0
virtual int setEffectPitch(uint32_t effect_id, int32_t pitch)=0
virtual int setLocalVoiceEqualization(NERtcVoiceEqualizationBand band_frequency, int band_gain)=0
virtual int setSubscribeAudioBlocklist(NERtcAudioStreamType type, uid_t *uid_array, uint32_t size)=0
virtual int stopVideoPreview(NERtcVideoStreamType type)=0
virtual int removeLiveStreamTask(const char *task_id)=0
virtual int setRecordingAudioFrameParameters(NERtcAudioFrameRequestFormat *format)=0
virtual int addLiveStreamTask(const NERtcLiveStreamTaskInfo &info)=0
virtual int sendSEIMsg(const char *data, int length)=0
virtual int setSubscribeAudioAllowlist(uid_t *uid_array, uint32_t size)=0
virtual int stopLastmileProbeTest()=0
virtual int startAudioRecording(const char *file_path, int sample_rate, NERtcAudioRecordingQuality quality)=0
virtual NERtcNetworkConnectionType getNetworkType()=0
virtual int muteLocalVideoStream(NERtcVideoStreamType type, bool mute)=0
virtual int setRemoteHighPriorityAudioStream(bool enabled, uid_t uid)=0
virtual int setAudioEffectPreset(NERtcVoiceChangerType type)=0
virtual int setEarbackVolume(uint32_t volume)=0
virtual int setBeautyEffect(NERtcBeautyEffectType type, float level)=0
virtual int setExcludeWindowList(source_id_t *window_list, int count)=0
virtual int pushExternalSubStreamAudioEncodedFrame(NERtcAudioEncodedFrame *encoded_frame)=0
virtual int setLocalSubStreamRenderMode(NERtcVideoScalingMode scaling_mode)=0
virtual int setAudioMixingPitch(int32_t pitch)=0
virtual int enableAudioVolumeIndication(bool enable, uint64_t interval, bool enable_vad)=0
virtual int startVideoPreview()=0
virtual int setAudioProfile(NERtcAudioProfileType profile)=0
virtual int getAudioMixingDuration(uint64_t *duration)=0
virtual int pauseAllEffects()=0
virtual int pushExternalVideoFrame(NERtcVideoFrame *frame)=0
virtual int startVideoPreview(NERtcVideoStreamType type)=0
定义 nertc_engine.h:144
定义 nertc_engine_media_stats_observer.h:30
定义 nertc_engine_defines.h:8417
定义 nertc_engine_defines.h:6792
namespace nertc
NERtcBeautyEffectType
定义 nertc_engine_defines.h:8044
NERtcAudioProfileType
定义 nertc_engine_defines.h:1217
NERtcStreamFallbackOption
定义 nertc_engine_defines.h:7268
NERtcNetworkConnectionType
定义 nertc_engine_defines.h:2498
NERtcVideoScalingMode
定义 nertc_engine_defines.h:2171
NERtcVideoStreamType
定义 nertc_engine_defines.h:5959
NERtcVoiceChangerType
定义 nertc_engine_defines.h:1334
NERtcMediaPriorityType
定义 nertc_engine_defines.h:377
NERtcAudioDumpType
定义 nertc_engine_defines.h:7821
NERtcConnectionStateType
定义 nertc_engine_defines.h:2302
NERtcRangeAudioMode
定义 nertc_engine_defines.h:7947
uint64_t uid_t
定义 nertc_engine_defines.h:183
NERtcVoiceEqualizationBand
定义 nertc_engine_defines.h:1545
NERtcSpatializerRenderMode
定义 nertc_engine_defines.h:8588
NERtcAudioStreamType
定义 nertc_engine_defines.h:3248
NERtcAudioRecordingQuality
定义 nertc_engine_defines.h:7122
NERtcAudioScenarioType
定义 nertc_engine_defines.h:1292
void * source_id_t
定义 nertc_engine_defines.h:204
NERTCFeatureSupportType
定义 nertc_engine_defines.h:6026
NERtcVideoMirrorMode
定义 nertc_engine_defines.h:2213
NERtcMediaPubType
定义 nertc_engine_defines.h:8024
NERtcFeatureType
定义 nertc_engine_defines.h:6007
NERtcDistanceRolloffModel
定义 nertc_engine_defines.h:8614
NERtcVoiceBeautifierType
定义 nertc_engine_defines.h:1426
Defines macro output. The file only defines macro output instead of anything else.
NERTC SDK IRtcChannel 接口头文件。 NERTC SDK 所有接口参数说明: 所有与字符串相关的参数(char *)全部为 UTF-8 编码。
The interface header file of NERTC SDK. All parameter descriptions of the NERTC SDK....
NERtc SDK definitions.
The interface header file of expansion callback of the NERTC SDK. All parameter descriptions of the N...
The interface header file of expansion callback of the NERTC SDK. All parameter descriptions of the N...
The interface header file of expansion callback of the NERTC SDK. All parameter descriptions of the N...
The interface header file of expansion callback of the NERTC SDK. All parameter descriptions of the N...
定义 nertc_engine_defines.h:5010
定义 nertc_engine_defines.h:4949
定义 nertc_engine_defines.h:4850
定义 nertc_engine_defines.h:7174
定义 nertc_engine_defines.h:1646
定义 nertc_engine_defines.h:6239
定义 nertc_engine_defines.h:5835
定义 nertc_engine_defines.h:5710
定义 nertc_engine_defines.h:7376
定义 nertc_engine_defines.h:7412
定义 nertc_engine_defines.h:1035
定义 nertc_engine_defines.h:8796
定义 nertc_engine_defines.h:8831
定义 nertc_engine_defines.h:8850
定义 nertc_engine_defines.h:8639
定义 nertc_engine_defines.h:8721
定义 nertc_engine_defines.h:4170
定义 nertc_engine_defines.h:7831
定义 nertc_engine_defines.h:4421
定义 nertc_engine_defines.h:8367
定义 nertc_engine_defines.h:8321
定义 nertc_engine_defines.h:8661
定义 nertc_engine_defines.h:4679
定义 nertc_engine_defines.h:3789
定义 nertc_engine_defines.h:5541
定义 nertc_engine_defines.h:5410
定义 nertc_engine_defines.h:6700
定义 nertc_engine_defines.h:7732