queryRecordings static method
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,
},
});
}