queryRecordings static method

Future<OverMediaResponse> queryRecordings(
  1. P2PStream stream, {
  2. int? limit,
  3. int? offset,
  4. bool? premium,
  5. String? hostPeerId,
  6. String? sortBy,
})

Query recordings

Implementation

static Future<OverMediaResponse> queryRecordings(
  P2PStream stream, {
  int? limit,
  int? offset,
  bool? premium,
  String? hostPeerId,
  String? sortBy,
}) async {
  return _send(stream, {
    'action': 'recordings',
    'params': {
      if (limit != null) 'limit': limit,
      if (offset != null) 'offset': offset,
      if (premium != null) 'premium': premium,
      if (hostPeerId != null) 'hostPeerId': hostPeerId,
      if (sortBy != null) 'sortBy': sortBy,
    },
  });
}