Description
When I’m using onPreProcessRawData, I am doing an animation effect but there is a memory leak when using it which leads to app crash. I’m using iOS example app.
Which Web Video SDK version?
1.5.3
Video SDK Code Snippets
- (void)onPreProcessRawData:(ZoomVideoSDKPreProcessRawData *)rawData {
waterImage = [PreProcessHelper imageWithColor:[PreProcessHelper randomColor]];
wateri420 = [PreProcessHelper imageToi420:waterImage];
[PreProcessHelper addWaterMark:rawData
waterImage:waterImage
wateri420:wateri420
offX:rawData.size.width/2
offY:rawData.size.height/2
enableTransparent:YES];
}
Device
- Device: iPhone 7
- OS: iOS 15.34.1