RemoteControl constructor
RemoteControl({})
Implementation
RemoteControl({
required this.serverUrl,
required this.deviceMac,
required this.token,
this.turnServerIP,
this.turnServerPort,
this.turnServerUsername,
this.turnServerCredential,
this.inactivityDuration = const Duration(minutes: 1),
}) {
// Inicializar el StreamController inmediatamente
_ensureCommandController();
log('🎯 RemoteControl inicializado (inactivityDuration=${inactivityDuration.inMinutes}m)');
}