forked from mirrors/gecko-dev
		
	Bug 1811641 - [libwebrtc] Unset output delegate before stopping. r=webrtc-reviewers,dbaker
This is similar to what the old backend does when stopping. Given that we do not fully understand the failure mode yet, this is a speculative fix. Differential Revision: https://phabricator.services.mozilla.com/D169448
This commit is contained in:
		
							parent
							
								
									ee5fcfbebe
								
							
						
					
					
						commit
						be514fa473
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -205,6 +205,7 @@ const int64_t kNanosecondsPerSecond = 1000000000; | |||
|                       for (AVCaptureDeviceInput *oldInput in [self.captureSession.inputs copy]) { | ||||
|                         [self.captureSession removeInput:oldInput]; | ||||
|                       } | ||||
|                       [_videoDataOutput setSampleBufferDelegate:nil queue:nil]; | ||||
|                       [self.captureSession stopRunning]; | ||||
| 
 | ||||
| #if TARGET_OS_IPHONE | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Andreas Pehrson
						Andreas Pehrson