Video avatar fixes

This commit is contained in:
Ilya Laktyushin
2020-06-25 18:20:36 +03:00
parent 9d435f3f25
commit 4fadec2ff3
31 changed files with 3070 additions and 2974 deletions

View File

@@ -373,8 +373,10 @@ const NSInteger TGVideoCameraRetainedBufferCount = 16;
{
if (self.outputVideoFormatDescription == NULL)
[self setupVideoPipelineWithInputFormatDescription:formatDescription];
else
[self renderVideoSampleBuffer:sampleBuffer];
else {
[_recorder appendVideoSampleBuffer:sampleBuffer];
// [self renderVideoSampleBuffer:sampleBuffer];
}
}
else if (connection == _audioConnection)
{