Camera is glitch on iOS 15.4
noho501 opened this issue · 16 comments
Anyone can help me how to resolve this issue on iOS 15.4? here is the test video https://www.youtube.com/watch?v=i8nthuST464
Having the same issue on iOS 15.4. Tried several changes in the videoMaxBitRate, videoBitRate, videoFrameRate, videoMaxKeyframeInterval but nothing seems to work. Any help would be greatly appreciated.
I found the solution, below is the fix for iOS 14.5 for those who need it.
Open file LFHardwareVideoEncoder, search function resetCompressionSession then change kVTCompressionPropertyKey_AllowFrameReordering to
if([[UIDevice currentDevice].systemVersion floatValue] >= 15.4f){ VTSessionSetProperty(compressionSession, kVTCompressionPropertyKey_AllowFrameReordering, kCFBooleanFalse); } else { VTSessionSetProperty(compressionSession, kVTCompressionPropertyKey_AllowFrameReordering, kCFBooleanTrue); }
It will work. Good luck
@noho501 If I added this changes in LFHardwareVideoEncoder.m file then water mark view is not visible to viewers. Is there any solution for this ?
@noho501 If I added this changes in LFHardwareVideoEncoder.m file then water mark view is not visible to viewers. Is there any solution for this ?
@vignesh2340 The watermark still working for me.
Any help here on this issue ?
@rajdegpeg could you show me the problem? I don't have this problem on ios 15.5 and 15.6
Working now
thanks for help
This is great and it seems to still work.