android_IAudioFrameProcessor class
Properties
-
$instance
↔ dynamic
-
getter/setter pairinherited
-
$resource
→ NativeResource
-
no setterinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
ready
→ Future<void>
-
Whether the instance is initialized
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
destroy()
→ void
-
inherited
-
emit(String name, List args)
→ dynamic
-
inherited
-
nativeCall<T>(String method, [List? args, NativeMethodMeta? meta])
→ Future<T>
-
Call instance method
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
onProcessEarMonitorAudioFrame(IAudioFrame audioFrame)
→ FutureOr<int>
-
@valid since 3.50
@detail callback
@author songxiaomeng.19
@brief You will receive the address of SDK-level in-ear monitoring audio frames for custom processing.
The audio effects set by setVoiceReverbType and setVoiceChangerType are included.
@param audioFrame The address of the SDK-level in-ear monitoring audio frames. See IAudioFrame{@link #IAudioFrame}.
@return
- 0: Success.
- <0: Failure.
@note
- Modifying the data affects only SDK-level in-ear monitoring audio.
- To enable this callback, call enableAudioProcessor{@link #RTCEngine#enableAudioProcessor}. You will receive this callback every 10 ms.
inherited
-
onProcessPlayBackAudioFrame(IAudioFrame audioFrame)
→ FutureOr<int>
-
@detail callback
@author majun.lvhiei
@brief Returns the address of the locally captured audio frame for custom processing.
@param audioFrame The address of the audio frame. See IAudioFrame{@link #IAudioFrame}
@note After calling enableAudioProcessor{@link #RTCEngine#enableAudioProcessor} with mixed remote audio, you will receive this callback every 10 ms.
inherited
-
onProcessRecordAudioFrame(IAudioFrame audioFrame)
→ FutureOr<int>
-
@detail callback
@author majun.lvhiei
@brief Returns the address of the locally captured audio frame for custom processing.
@param audioFrame The address of the audio frame. See IAudioFrame{@link #IAudioFrame}.
@return
- 0: Success.
- <0: Failure.
@note
- After custom processing, SDK will encode the processed audio frames and transmit to the remote user. The processing does not affect the SDK-level ear-monitoring audio.
- To enable this callback, call enableAudioProcessor{@link #RTCEngine#enableAudioProcessor}. You will receive this callback every 10 ms.
inherited
-
onProcessRemoteUserAudioFrame(String streamId, StreamInfo streamInfo, IAudioFrame audioFrame)
→ FutureOr<int>
-
@detail callback
@author majun.lvhiei
@brief Returns the address of the locally captured audio frame for custom processing.
@param streamId Remote stream ID.
@param streamInfo Remote stream information. See StreamInfo{@link #StreamInfo}.
@param audioFrame The address of the audio frame. See IAudioFrame{@link #IAudioFrame}
@note After calling enableAudioProcessor{@link #RTCEngine#enableAudioProcessor} with remote audio streams, you will receive this callback every 10 ms.
inherited
-
onProcessScreenAudioFrame(IAudioFrame audioFrame)
→ FutureOr<int>
-
@detail callback
@author zhangcaining
@brief Returns the address of the shared-screen audio frames for custom processing.
@param audioFrame The address of audio frames. See IAudioFrame{@link #IAudioFrame}.
@note After calling enableAudioProcessor{@link #RTCEngine#enableAudioProcessor} to set the audio input to the shared-screen audio, you will receive this callback every 10 ms.
inherited
-
registerEvent(String name, dynamic method)
→ void
-
inherited
-
sendInstanceGet<T>(String property)
→ Future<T>
-
Get instance property
inherited
-
sendInstancePropertiesGet(dynamic nativeClass)
→ Future<Map<String, dynamic>>
-
Get instance properties
inherited
-
sendInstanceSet(String property, dynamic value)
→ Future<void>
-
Set instance property
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateInstance(dynamic instance)
→ void
-
inherited
-
updateResource(NativeResource resource)
→ void
-
inherited