实时音视频

  • 实时音视频 > API 文档 > iOS >QNRoomMediaRelayConfiguration

    QNRoomMediaRelayConfiguration

    最近更新时间: 2022-06-30 15:54:15

    跨房媒体转发的配置类
    Index
    Core Properties
    Core methods
    Core Properties
    srcRoomInfo
    destRoomInfos
    • @property (strong, nonatomic, readonly) NSMutableDictionary *destRoomInfos;
    • 目标房间信息 QNRoomMediaRelayInfo 列表

    Core methods
    setDestRoomInfo
    • - (BOOL)setDestRoomInfo:(QNRoomMediaRelayInfo *_Nonnull)destRoomInfo forRoomName:(NSString *_Nonnull)roomName;
    • 设置目标房间信息

      若需将流转发到多个目标房间,可多次调用该方法,设置多个房间的 QNRoomMediaRelayInfo

    removeDestRoomInfo
    • - (BOOL)removeDestRoomInfo:(NSString *_Nonnull)roomName;
    • 删除目标房间的信息

    以上内容是否对您有帮助?
  • Qvm free helper
    Close