getRoomStreamList method

Future<ZegoRoomStreamList> getRoomStreamList(
  1. String roomID,
  2. ZegoRoomStreamListType streamListType
)

Get room stream list.

Available since: 3.12.0 Description: Get room stream list. Use cases: Get room stream list. When to call /Trigger: After logging in the room successful. Caution: This interface is to get a real-time internal stream list, which may be inaccurate when the room is disconnected from the service. Do not call this interface with high frequency. Related APIs: None.

  • roomID Room ID.
  • streamListType Get type
  • Returns return stream list

Implementation

Future<ZegoRoomStreamList> getRoomStreamList(
    String roomID, ZegoRoomStreamListType streamListType) async {
  return await ZegoExpressImpl.instance
      .getRoomStreamList(roomID, streamListType);
}