7 #ifndef NERTC_ENGINE_EX_H
8 #define NERTC_ENGINE_EX_H
11 #include "nertc_base_types.h"
1733 virtual const char*
getParameters(
const char* parameters,
const char* extra_info) = 0;
6200 virtual int reportCustomEvent(
const char* event_name,
const char* custom_identify,
const char* parameters) = 0;
6239 int conversational_distance,
Definition: nertc_engine_defines.h:4850
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 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 enableSpatializer(bool enable)=0
virtual int setVideoConfig(NERtcVideoStreamType type, const NERtcVideoConfig &config)=0
virtual IScreenCaptureSourceList * getScreenCaptureSources(const NERtcSize &thumbSize, const NERtcSize &iconSize, const bool includeScreen)=0
virtual int getAudioMixingSendVolume(uint32_t *volume)=0
virtual int setAudioMixingPlaybackVolume(uint32_t volume)=0
virtual int startScreenCaptureByScreenRect(const NERtcRectangle &screen_rect, const NERtcRectangle ®ion_rect, const NERtcScreenCaptureParameters &capture_params)=0
virtual int setLocalVideoMirrorMode(NERtcVideoStreamType type, NERtcVideoMirrorMode mirror_mode)=0
virtual int setLocalVoiceReverbParam(NERtcReverbParam ¶m)=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 ®ion_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 const char * getParameters(const char *parameters, const char *extra_info)=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 setParameters(const char *parameters)=0
virtual int startAudioMixing(NERtcCreateAudioMixingOption *option)=0
virtual int updateScreenCaptureRegion(const NERtcRectangle ®ion_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 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 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 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 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 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 ®ion_rect, const NERtcScreenCaptureParameters &capture_params)=0
virtual const char * getErrorDescription(int error_code)=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 setLocalRenderMode(NERtcVideoScalingMode scaling_mode)=0
virtual int enableMediaPub(bool enabled, NERtcMediaPubType media_type)=0
virtual int pushExternalVideoFrame(NERtcVideoStreamType type, NERtcVideoFrame *frame)=0
virtual IRtcChannel * createChannel(const char *channel_name)=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 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 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 ®ion_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 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 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 const char * getVersion(int *build)=0
virtual int updateSpatializerAudioRecvRange(int audible_distance, int conversational_distance, NERtcDistanceRolloffModel roll_off)=0
virtual int sendSEIMsg(const char *data, int length)=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 updateSpatializerSelfPosition(const NERtcSpatializerPositionInfo &info)=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 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:137
Definition: nertc_engine_defines.h:8255
Definition: nertc_engine_defines.h:6809
NERtcBeautyEffectType
Definition: nertc_engine_defines.h:7882
NERtcAudioProfileType
Definition: nertc_engine_defines.h:1143
NERtcStreamFallbackOption
Definition: nertc_engine_defines.h:7254
NERtcVideoScalingMode
Definition: nertc_engine_defines.h:2074
NERtcVideoStreamType
Definition: nertc_engine_defines.h:5677
NERtcVoiceChangerType
Definition: nertc_engine_defines.h:1260
NERtcMediaPriorityType
Definition: nertc_engine_defines.h:306
NERtcAudioDumpType
Definition: nertc_engine_defines.h:7751
NERtcConnectionStateType
Definition: nertc_engine_defines.h:2205
uint64_t uid_t
Definition: nertc_engine_defines.h:183
NERtcVoiceEqualizationBand
Definition: nertc_engine_defines.h:1471
NERtcSpatializerRenderMode
Definition: nertc_engine_defines.h:8426
NERtcAudioRecordingQuality
Definition: nertc_engine_defines.h:7108
NERtcAudioScenarioType
Definition: nertc_engine_defines.h:1218
void * source_id_t
Definition: nertc_engine_defines.h:204
NERtcVideoMirrorMode
Definition: nertc_engine_defines.h:2116
NERtcMediaPubType
Definition: nertc_engine_defines.h:7862
NERtcDistanceRolloffModel
Definition: nertc_engine_defines.h:8452
NERtcVoiceBeautifierType
Definition: nertc_engine_defines.h:1352
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....
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:4746
Definition: nertc_engine_defines.h:4685
Definition: nertc_engine_defines.h:7160
Definition: nertc_engine_defines.h:1572
Definition: nertc_engine_defines.h:5553
Definition: nertc_engine_defines.h:5428
Definition: nertc_engine_defines.h:7327
Definition: nertc_engine_defines.h:7359
Definition: nertc_engine_defines.h:964
Definition: nertc_engine_defines.h:3942
Definition: nertc_engine_defines.h:7761
Definition: nertc_engine_defines.h:4193
Definition: nertc_engine_defines.h:8205
Definition: nertc_engine_defines.h:8159
Definition: nertc_engine_defines.h:8470
Definition: nertc_engine_defines.h:8492
Definition: nertc_engine_defines.h:4416
Definition: nertc_engine_defines.h:3561
Definition: nertc_engine_defines.h:5259
Definition: nertc_engine_defines.h:5128
Definition: nertc_engine_defines.h:6717
Definition: nertc_engine_defines.h:7673