实时音视频

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

    QNRoomMediaRelayConfiguration

    最近更新时间:2021-12-21 16:56:09

    跨房媒体转发的配置类
    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。

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

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