NERoomRtcController class Null safety
- Inheritance
-
- Object
- NERoomBaseController
- NEPreviewRoomRtcController
- NERoomRtcController
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-only, inherited
- isSupported → bool
-
功能是否支持
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
addAttachment(
String name, dynamic attachment) → void -
inherited
-
clearAttachments(
) → void -
inherited
-
enableAudioVolumeIndication(
bool enable, int interval) → Future< VoidResult> -
启用说话者音量提示。
该方法允许 SDK 定期向 App 反馈本地发流用户和瞬时音量最高的远端用户(最多 3 位)的音量相关信息,
即当前谁在说话以及说话者的音量。启用该方法后,只要房间内有发流用户,无论是否有人说话,
SDK 都会在加入房间后根据预设的时间间隔触发 onRemoteAudioVolumeIndication 回调
enable
是否启用说话者音量提示。interval
指定音量提示的时间间隔。单位为毫秒。必须设置为 100 毫秒的整数倍值,建议设置为 200 毫秒以上。 -
getAttachment(
String name) → dynamic -
inherited
-
getScreenSharingUserUuid(
) → String? - 获取当前正在进行屏幕共享的成员
-
isSpeakerphoneOn(
) → Future< bool> - 查询扬声器是否开启
-
joinRtcChannel(
) → Future< VoidResult> - 加入音视频房间
-
leaveRtcChannel(
) → Future< VoidResult> - 离开音视频房间
-
muteMemberAudio(
String uuid) → Future< VoidResult> - 尝试关闭成员音频,会进行权限校验
-
muteMemberVideo(
String uuid) → Future< VoidResult> - 尝试关闭成员视频,会进行权限校验
-
muteMyAudio(
) → Future< VoidResult> - 关闭本端音频
-
muteMyVideo(
) → Future< VoidResult> - 关闭本端视频
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
removeAttachment(
String name) → void -
inherited
-
setSpeakerphoneOn(
bool on) → Future< VoidResult> - 打开或关闭扬声器
-
startAudioDump(
NEAudioDumpType type) → Future< VoidResult> - 打开音频dump
-
startPreview(
) → Future< VoidResult> -
开启预览
inherited
- 开启屏幕共享
-
stopAudioDump(
) → Future< VoidResult> - 停止音频dump
- 尝试关闭房间内成员的屏幕共享,会进行权限校验。
-
stopPreview(
) → Future< VoidResult> -
关闭预览
inherited
- 关闭屏幕共享
-
subscribeRemoteSubStreamVideo(
String userUuid) → Future< VoidResult> -
订阅指定远端用户辅流视频
userUuid
用户id -
subscribeRemoteVideoStream(
String userUuid, NEVideoStreamType streamType) → Future< VoidResult> -
订阅指定远端用户的视频流
userUuid
用户idsubscribe
是否取消订阅视频流 -
switchCamera(
) → Future< VoidResult> -
切换摄像头
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
unmuteMemberAudio(
String uuid) → Future< VoidResult> - 尝试打开成员音频,会进行权限校验
-
unmuteMemberVideo(
String uuid) → Future< VoidResult> - 尝试打开成员视频,会进行权限校验
-
unmuteMyAudio(
) → Future< VoidResult> - 打开本端音频
-
unmuteMyVideo(
) → Future< VoidResult> - 打开本端视频
-
unsubscribeRemoteSubStreamVideo(
String userUuid) → Future< VoidResult> -
取消订阅指定远端用户辅流视频
userUuid
用户idsubscribe
是否取消订阅视频流 -
unsubscribeRemoteVideoStream(
String userUuid, NEVideoStreamType streamType) → Future< VoidResult> -
取消订阅指定远端用户的视频流
userUuid
用户idsubscribe
是否取消订阅视频流
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited