invalidatePlayAddress method
Invalidate/disable a live stream address.
deviceSerial: The device serial number
channelNo: Channel number (optional)
urlId: Specific URL ID to invalidate (optional)
Implementation
Future<Map<String, dynamic>> invalidatePlayAddress(
String deviceSerial, {
int? channelNo,
String? urlId,
}) async {
final body = <String, dynamic>{'deviceSerial': deviceSerial};
if (channelNo != null) body['channelNo'] = channelNo;
if (urlId != null) body['urlId'] = urlId;
return _client.post('/api/lapp/live/address/disable', body);
}