RoomProfile enum
房间模式
Values
- communication → const RoomProfile
- 
  通信模式(默认) 
- liveBroadCasting → const RoomProfile
- 
  @nodoc 
- game → const RoomProfile
- 
  游戏模式 低功耗、低流量消耗。 为低端机提供了额外的性能优化,并提升了游戏录屏对 iOS 其他进程的兼容性。 
- cloudGame → const RoomProfile
- 
  云游戏模式 适用于低延迟、高码率的业务场景。 该模式下,音视频通话延时会明显降低,但同时弱网抗性、通话音质等均会受到一定影响,因此在使用此模式前,强烈建议咨询技术支持同学。 
- lowLatency → const RoomProfile
- 
  云渲染模式 超低延时配置,适用于非游戏但又对延时要求较高的场景。 该模式下,音视频通话延时会明显降低,但同时弱网抗性、通话音质等均会受到一定影响。 
- chat → const RoomProfile
- 
  适用于 1 vs 1 音视频通话场景 
- chatRoom → const RoomProfile
- 
  适用于 3 人及以上纯语音通话 通话中,闭麦时为媒体模式,上麦后切换为通话模式。 
- lwTogether → const RoomProfile
- 
  实现多端同步播放音视频,适用于 “一起看” 或 “一起听” 场景 该场景中,使用 RTC 信令同步播放进度,共享的音频内容不通过 RTC 进行传输。 
- gameHD → const RoomProfile
- 
  适用于对音质要求较高的游戏场景,优化音频 3A 策略,只通过媒体模式播放音频 
- coHost → const RoomProfile
- 
  适用于直播中主播之间连麦的场景 该场景中,直播时使用 CDN,发起连麦 PK 时使用 RTC。 
- interactivePodcast → const RoomProfile
- 
  适用于单主播和观众进行音视频互动的直播 使用通话模式,并且上下麦不会有模式切换,避免音量突变现象。 
- ktv → const RoomProfile
- 
  线上 KTV 场景 音乐音质,低延迟。 使用 RTC 传输伴奏音乐、混音后的歌声,适合独唱或单通合唱。 
- chorus → const RoomProfile
- 
  适合在线实时合唱场景 高音质,超低延迟。 使用此模式前请联系技术支持协助完成其他配置。 
- vrChat → const RoomProfile
- 
  适用于 VR 场景 支持最高 192 KHz 音频采样率,可开启球形立体声。 346 及之后版本支持使用该模式。 
- gameStreaming → const RoomProfile
- 
  适用于 1 vs 1 游戏串流,支持公网或局域网 
- lanLiveStreaming → const RoomProfile
- 
  适用于局域网的 1 对多视频直播 最高支持分辨率为 8K,帧率为 60fps,码率为 100 Mbps。 需要在局域网配置私有化部署媒体服务器。 
- meeting → const RoomProfile
- 
  适用于云端会议中的个人设备 
- meetingRoom → const RoomProfile
- 
  适用于云端会议中的会议室终端设备 
- classroom → const RoomProfile
- 
  适用于课堂互动,房间内所有成员都可以进行音视频互动 当应用场景中超过 10 人需要同时进行互动时建议使用此模式。 
Properties
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- index → int
- 
  A numeric identifier for the enumerated value.
  no setterinherited
- name → String
- 
      Available on Enum, provided by the EnumName extension The name of the enum value.no setter
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
Methods
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited
Constants
- 
    values
  → const List<RoomProfile> 
- A constant List of the values in this enum, in order of their declaration.