NERtc macOS SDK V5.6.20
载入中...
搜索中...
未找到
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
1100
1144 virtual int setLocalRenderMode(NERtcVideoScalingMode scaling_mode) = 0;
1145
1146
1172 virtual int setLocalVideoMirrorMode(NERtcVideoMirrorMode mirror_mode) = 0;
1173
1226
1248 virtual int setRemoteRenderMode(uid_t uid, NERtcVideoScalingMode scaling_mode) = 0;
1249
1314
1377 virtual int subscribeRemoteVideoSubStream(uid_t uid, bool subscribe) = 0;
1378
1401 virtual int setRemoteSubSteamRenderMode(uid_t uid, NERtcVideoScalingMode scaling_mode) = 0;
1402
1443 virtual int startVideoPreview() = 0;
1444
1493
1528 virtual int stopVideoPreview() = 0;
1529
1572
1630 virtual int muteLocalVideoStream(bool mute) = 0;
1631
1690 virtual int muteLocalVideoStream(NERtcVideoStreamType type, bool mute) = 0;
1691
1748 virtual int setLocalMediaPriority(NERtcMediaPriorityType priority, bool is_preemptive) = 0;
1749
1796 virtual int setParameters(const char* parameters) = 0;
1797
1833 virtual const char* getParameters(const char* parameters, const char* extra_info) = 0;
1834
1886
1938
1939
1990 virtual int setMixedAudioFrameParameters(int sample_rate) = 0;
1991
2058
2073 virtual int startAudioDump() = 0;
2074
2083 virtual int startAudioDump(NERtcAudioDumpType type) = 0;
2084
2109 virtual int stopAudioDump() = 0;
2110
2173
2200 virtual int stopAudioMixing() = 0;
2201
2235 virtual int pauseAudioMixing() = 0;
2236
2266 virtual int resumeAudioMixing() = 0;
2267
2286 virtual int setAudioMixingSendVolume(uint32_t volume) = 0;
2287
2306 virtual int getAudioMixingSendVolume(uint32_t *volume) = 0;
2307
2326 virtual int setAudioMixingPlaybackVolume(uint32_t volume) = 0;
2327
2346 virtual int getAudioMixingPlaybackVolume(uint32_t *volume) = 0;
2347
2366 virtual int getAudioMixingDuration(uint64_t *duration) = 0;
2367
2386 virtual int getAudioMixingCurrentPosition(uint64_t *position) = 0;
2387
2406 virtual int setAudioMixingPosition(uint64_t seek_position) = 0;
2407
2474 virtual int playEffect(uint32_t effect_id, NERtcCreateAudioEffectOption *option) = 0;
2475
2517 virtual int stopEffect(uint32_t effect_id) = 0;
2518
2547 virtual int stopAllEffects() = 0;
2548
2567 virtual int pauseEffect(uint32_t effect_id) = 0;
2568
2587 virtual int resumeEffect(uint32_t effect_id) = 0;
2588
2605 virtual int pauseAllEffects() = 0;
2606
2623 virtual int resumeAllEffects() = 0;
2624
2645 virtual int setEffectSendVolume(uint32_t effect_id, uint32_t volume) = 0;
2666 virtual int getEffectSendVolume(uint32_t effect_id, uint32_t *volume) = 0;
2667
2688 virtual int setEffectPlaybackVolume(uint32_t effect_id, uint32_t volume) = 0;
2689
2710 virtual int getEffectPlaybackVolume(uint32_t effect_id, uint32_t *volume) = 0;
2711
2753 virtual int setAudioMixingPitch(int32_t pitch) = 0;
2754
2788 virtual int getAudioMixingPitch(int32_t* pitch) = 0;
2789
2837 virtual int setEffectPitch(uint32_t effect_id, int32_t pitch) = 0;
2838
2878 virtual int getEffectPitch(uint32_t effect_id, int32_t* pitch) = 0;
2879
2915 virtual int enableLoopbackRecording(bool enabled, const char *device_name) = 0;
2916
2937 virtual int adjustLoopbackRecordingSignalVolume(int volume) = 0;
2938
2992 virtual int enableEarback(bool enabled, uint32_t volume) = 0;
2993
3012 virtual int setEarbackVolume(uint32_t volume) = 0;
3013
3030 virtual int setStatsObserver(IRtcMediaStatsObserver *observer) = 0;
3031
3032
3083
3134
3191 virtual int enableAudioVolumeIndication(bool enable, uint64_t interval) = 0;
3192
3257 virtual int enableAudioVolumeIndication(bool enable, uint64_t interval, bool enable_vad) = 0;
3258
3285 virtual IScreenCaptureSourceList* getScreenCaptureSources(const NERtcSize& thumbSize, const NERtcSize& iconSize, const bool includeScreen) = 0;
3286
3363 virtual int startScreenCaptureByScreenRect(const NERtcRectangle& screen_rect, const NERtcRectangle& region_rect, const NERtcScreenCaptureParameters& capture_params) = 0;
3364
3437 virtual int startScreenCaptureByDisplayId(source_id_t display_id, const NERtcRectangle& region_rect, const NERtcScreenCaptureParameters& capture_params) = 0;
3438
3512 virtual int startScreenCaptureByWindowId(source_id_t window_id, const NERtcRectangle& region_rect, const NERtcScreenCaptureParameters& capture_params) = 0;
3513
3528 virtual int32_t setScreenCaptureSource(const NERtcScreenCaptureSourceInfo& source, const NERtcRectangle& region_rect, const NERtcScreenCaptureParameters& capture_params) = 0;
3529
3548 virtual int updateScreenCaptureRegion(const NERtcRectangle& region_rect) = 0;
3549
3572 virtual int setScreenCaptureMouseCursor(bool capture_cursor) = 0;
3573
3608 virtual int stopScreenCapture() = 0;
3609
3627 virtual int pauseScreenCapture() = 0;
3628
3644 virtual int resumeScreenCapture() = 0;
3645
3646
3673 virtual int setExcludeWindowList(source_id_t* window_list, int count) = 0;
3674
3718
3771 virtual int setExternalVideoSource(bool enabled) = 0;
3772
3825 virtual int setExternalVideoSource(NERtcVideoStreamType type, bool enabled) = 0;
3826
3850
3903
3978
4052 virtual int setExternalAudioSource(bool enabled, int sample_rate, int channels) = 0;
4053
4083
4153
4227 virtual int setExternalSubStreamAudioSource(bool enabled, int sample_rate, int channels) = 0;
4228
4258
4328
4399 virtual int setExternalAudioRender(bool enabled, int sample_rate, int channels) = 0;
4400
4433 virtual int pullExternalAudioFrame(void* data, int len) = 0;
4434
4449 virtual const char* getVersion(int* build) = 0;
4450
4465 virtual const char* getErrorDescription(int error_code) = 0;
4466
4481 virtual void uploadSdkInfo() = 0;
4482
4566 virtual int addLiveStreamTask(const NERtcLiveStreamTaskInfo& info) = 0;
4567
4619 virtual int updateLiveStreamTask(const NERtcLiveStreamTaskInfo& info) = 0;
4620
4674 virtual int removeLiveStreamTask(const char* task_id) = 0;
4675
4712 virtual int sendSEIMsg(const char* data, int length, NERtcVideoStreamType type) = 0;
4713
4750 virtual int sendSEIMsg(const char* data, int length) = 0;
4751
4779
4809
4838 virtual int takeRemoteSnapshot(uid_t uid, NERtcVideoStreamType stream_type, NERtcTakeSnapshotCallback *callback) = 0;
4839
4840
4910 virtual int startAudioRecording(const char* file_path, int sample_rate, NERtcAudioRecordingQuality quality) = 0;
4911
4958
4992 virtual int stopAudioRecording() = 0;
4993
5051 virtual int adjustUserPlaybackSignalVolume(uid_t uid, int volume) = 0;
5052
5082 virtual int adjustChannelPlaybackSignalVolume(uint32_t volume) = 0;
5083
5112
5136
5166 virtual int stopChannelMediaRelay() = 0;
5167
5193
5219
5249 virtual int enableSuperResolution(bool enable) = 0;
5250
5285 virtual int enableEncryption(bool enable, NERtcEncryptionConfig config) = 0;
5286
5316 virtual int startLastmileProbeTest(const NERtcLastmileProbeConfig& config) = 0;
5317
5334 virtual int stopLastmileProbeTest() = 0;
5335
5368 virtual int setRemoteHighPriorityAudioStream(bool enabled, uid_t uid) = 0;
5369
5388 virtual int checkNECastAudioDriver() = 0;
5389
5436 virtual int enableVirtualBackground(bool enabled, VirtualBackgroundSource backgroundSource) = 0;
5437
5486 virtual int isFeatureSupported(NERtcFeatureType featureType, bool* support) = 0;
5487
5508 virtual int setCloudProxy(int proxyType) = 0;
5509
5538 virtual int enableLocalData(bool enabled) = 0;
5539
5568 virtual int subscribeRemoteData(uid_t uid, bool subscribe) = 0;
5569
5590 virtual int sendData(void* pData, uint64_t size) = 0;
5591
5622 virtual int startBeauty(const char* file_path) = 0;
5623
5644 virtual void stopBeauty() = 0;
5645
5692 virtual void enableBeauty(bool enabled) = 0;
5693
5709 virtual void enableBeautyMirrorMode(bool enabled) = 0;
5710
5734
5792 virtual int setBeautyEffect(NERtcBeautyEffectType type, float level) = 0;
5793
5848 virtual int addBeautyFilter(const char* file_path) = 0;
5849
5868 virtual int removeBeautyFilter() = 0;
5869
5896 virtual int setBeautyFilterLevel(float level) = 0;
5897
5926 virtual int addBeautySticker(const char* file_path) = 0;
5927
5946 virtual int removeBeautySticker() = 0;
5947
5976 virtual int addBeautyMakeup(const char* file_path) = 0;
5977
5996 virtual int removeBeautyMakeup() = 0;
5997
6019
6060 virtual int enableMediaPub(bool enabled, NERtcMediaPubType media_type) = 0;
6061
6109 virtual int updatePermissionKey(const char* key) = 0;
6110
6165 virtual int setEffectPosition(uint32_t effect_id, uint64_t timestamp_ms) = 0;
6166
6217 virtual int getEffectCurrentPosition(uint64_t effect_id, uint64_t* timestamp_ms) = 0;
6218
6269 virtual int getEffectDuration(uint64_t effect_id, uint64_t* duration_ms) = 0;
6270
6271 virtual int reportCustomEvent(const char* event_name, const char* custom_identify, const char* parameters) = 0;
6272
6287
6303 virtual int setRangeAudioTeamID(int32_t team_id) = 0;
6304
6321 virtual int setAudioRecvRange(int audible_distance, int conversational_distance, NERtcDistanceRolloffModel roll_off) = 0;
6322
6356 virtual int updateSelfPosition(const NERtcPositionInfo& info) = 0;
6357
6371 virtual int enableSpatializerRoomEffects(bool enable) = 0;
6372
6386 virtual int setSpatializerRoomProperty(const NERtcSpatializerRoomProperty& room_property) = 0;
6387
6402
6412 virtual int initSpatializer() = 0;
6413
6433 virtual int enableSpatializer(bool enable, bool apply_to_team) = 0;
6434
6511 virtual int startPushStreaming(const NERtcPushStreamingConfig& config) = 0;
6512
6553 virtual int stopPushStreaming() = 0;
6554
6555};
6556
6557} //namespace nertc
6558
6559#endif
Definition nertc_engine_defines.h:5008
Definition nertc_engine_predecode_observer.h:224
Definition nertc_engine_video_encoder_qos_observer.h:28
Definition nertc_channel.h:33
Definition 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 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 setLocalVoiceReverbParam(NERtcReverbParam &param)=0
virtual int subscribeRemoteVideoSubStream(uid_t uid, bool subscribe)=0
virtual int pullExternalAudioFrame(void *data, int len)=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 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 muteLocalAudioStream(bool mute)=0
virtual int enableLoopbackRecording(bool enabled, const char *device_name)=0
virtual int setLocalVideoWatermarkConfigs(bool enabled, NERtcVideoStreamType type, NERtcVideoWatermarkConfig &config)=0
virtual int startBeauty(const char *file_path)=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 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 enableVirtualBackground(bool enabled, VirtualBackgroundSource backgroundSource)=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 setLocalRenderMode(NERtcVideoScalingMode scaling_mode)=0
virtual int setAudioRecvRange(int audible_distance, int conversational_distance, NERtcDistanceRolloffModel roll_off)=0
virtual int enableMediaPub(bool enabled, NERtcMediaPubType media_type)=0
virtual int pushExternalVideoFrame(NERtcVideoStreamType type, NERtcVideoFrame *frame)=0
virtual int removeBeautyFilter()=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 setAudioFrameObserver(INERtcAudioFrameObserver *observer)=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 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 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
Definition nertc_engine.h:144
Definition nertc_engine_media_stats_observer.h:30
Definition nertc_engine_defines.h:8233
Definition nertc_engine_defines.h:6613
namespace nertc
NERtcBeautyEffectType
Definition nertc_engine_defines.h:7860
NERtcAudioProfileType
Definition nertc_engine_defines.h:1214
NERtcStreamFallbackOption
Definition nertc_engine_defines.h:7101
NERtcVideoScalingMode
Definition nertc_engine_defines.h:2168
NERtcVideoStreamType
Definition nertc_engine_defines.h:5835
NERtcVoiceChangerType
Definition nertc_engine_defines.h:1331
NERtcMediaPriorityType
Definition nertc_engine_defines.h:377
NERtcAudioDumpType
Definition nertc_engine_defines.h:7637
NERtcConnectionStateType
Definition nertc_engine_defines.h:2299
NERtcRangeAudioMode
Definition nertc_engine_defines.h:7763
uint64_t uid_t
Definition nertc_engine_defines.h:183
NERtcVoiceEqualizationBand
Definition nertc_engine_defines.h:1542
NERtcSpatializerRenderMode
Definition nertc_engine_defines.h:8404
NERtcAudioStreamType
Definition nertc_engine_defines.h:3142
NERtcAudioRecordingQuality
Definition nertc_engine_defines.h:6955
NERtcAudioScenarioType
Definition nertc_engine_defines.h:1289
void * source_id_t
Definition nertc_engine_defines.h:204
NERtcVideoMirrorMode
Definition nertc_engine_defines.h:2210
NERtcMediaPubType
Definition nertc_engine_defines.h:7840
NERtcFeatureType
Definition nertc_engine_defines.h:5865
NERtcDistanceRolloffModel
Definition nertc_engine_defines.h:8430
NERtcVoiceBeautifierType
Definition nertc_engine_defines.h:1423
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...
Definition nertc_engine_defines.h:4904
Definition nertc_engine_defines.h:4843
Definition nertc_engine_defines.h:4744
Definition nertc_engine_defines.h:7007
Definition nertc_engine_defines.h:1643
Definition nertc_engine_defines.h:6060
Definition nertc_engine_defines.h:5711
Definition nertc_engine_defines.h:5586
Definition nertc_engine_defines.h:7209
Definition nertc_engine_defines.h:7245
Definition nertc_engine_defines.h:1035
Definition nertc_engine_defines.h:8455
Definition nertc_engine_defines.h:8537
Definition nertc_engine_defines.h:4064
Definition nertc_engine_defines.h:7647
Definition nertc_engine_defines.h:4315
Definition nertc_engine_defines.h:8183
Definition nertc_engine_defines.h:8137
Definition nertc_engine_defines.h:8477
Definition nertc_engine_defines.h:4573
Definition nertc_engine_defines.h:3683
Definition nertc_engine_defines.h:5417
Definition nertc_engine_defines.h:5286
Definition nertc_engine_defines.h:6521
Definition nertc_engine_defines.h:7559