Revert "feat: pip for metal renderer"

This reverts commit fa7710ce44.
This commit is contained in:
Acaki
2025-07-19 20:05:03 +08:00
parent f368076aaf
commit 4d45c538cc
5 changed files with 89 additions and 185 deletions
+1 -1
View File
@@ -106,7 +106,7 @@
// Initializing the renderer must be done on the main thread
dispatch_async(dispatch_get_main_queue(), ^{
self->_videoRenderer = [[VideoDecoderRenderer alloc] initWithView:self->_renderView callbacks:self->_callbacks streamAspectRatio:(float)self->_config.width / (float)self->_config.height];
self->_videoRenderer.pipLayer = self.pipLayer;
self->_connection = [[Connection alloc] initWithConfig:self->_config renderer:self->_videoRenderer connectionCallbacks:self->_callbacks];
NSOperationQueue* opQueue = [[NSOperationQueue alloc] init];
[opQueue addOperation:self->_connection];