start method
Start processing frames from the given stream
Implementation
Future<void> start(MediaStream stream) async {
if (!_isInitialized) {
await initialize();
}
_sourceStream = stream;
// Only start processing if we have a background set
if (hasBackground) {
await _startProcessingInternal();
}
debugPrint('BackgroundProcessorService: Started with stream');
}