ios_IAudioFrameObserver 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
-
onCaptureMixedAudioFrame(dynamic audioFrame)
→ FutureOr<void>
-
@detail callback
@brief Return the mixed audio data of the data recorded by local microphone and the audio data of
MediaPlayer and EffectPlayer.
@param audioFrame Mixed audio data, see ByteRTCAudioFrame{@link #ByteRTCAudioFrame}
override
-
onMixedAudioFrame(dynamic audioFrame)
→ FutureOr<void>
-
@detail callback
@author wangjunzheng
@brief Returns mixed audio data including both data recorded by the local microphone and data from all subscribed remote users
@param audioFrame Mixed audio data, see ByteRTCAudioFrame{@link #ByteRTCAudioFrame}
override
-
onPlaybackAudioFrame(dynamic audioFrame)
→ FutureOr<void>
-
@detail callback
@author wangjunzheng
@brief Returns the mixed audio data of all subscribed remote users
@param audioFrame Mixed audio data, see ByteRTCAudioFrame{@link #ByteRTCAudioFrame}
override
-
onRecordAudioFrame(dynamic audioFrame)
→ FutureOr<void>
-
@detail callback
@author wangjunzheng
@brief Returns audio data recorded by microphone
@param audioFrame Audio data recorded by microphone, see ByteRTCAudioFrame{@link #ByteRTCAudioFrame}
override
-
onRemoteUserAudioFrame$info$audioFrame(dynamic streamId, dynamic info, dynamic audioFrame)
→ FutureOr<void>
-
@detail callback
@author wangjunzheng
@brief Returns the audio data of one remote user.
@param streamId The unique identifier of the remote stream.
@param info Detailed information of the remote stream. See ByteRTCStreamInfo{@link #ByteRTCStreamInfo}.
@param audioFrame Audio data. See ByteRTCAudioFrame{@link #ByteRTCAudioFrame}.
@note This callback works on the playback thread. Don't do anything time-consuming in this callback, or it may affect the entire audio playback chain.
override
-
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