Enable cleanup after first client connects
(self)
| 294 | logging.info(f"Stream manager stopped for channel {self.channel_id}") |
| 295 | |
| 296 | def enable_cleanup(self): |
| 297 | """Enable cleanup after first client connects""" |
| 298 | if not self.first_client_connected: |
| 299 | self.first_client_connected = True |
| 300 | logging.info(f"First client connected to channel {self.channel_id}") |
| 301 | |
| 302 | def start_cleanup_thread(self): |
| 303 | """Start background thread for client activity monitoring""" |