You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when set _recorder to nil, the KFH264Encoder member is not being released since there is a reference to it.
When instantiating the KFH264Encoder object (in KFH264Encoder::initWithBitrate) you pass a completion handler to _encoder.
my (simple) solution was to add a "shutdown" method to KFH264Encoder and remove the references to the completion handlers.
-(void) shutdown
{
[_encoder encodeWithBlock:nil onParams:nil];
}
call it before set _h264Encoder = nil;
this solution will free the encoder object
The text was updated successfully, but these errors were encountered:
when set _recorder to nil, the KFH264Encoder member is not being released since there is a reference to it.
When instantiating the KFH264Encoder object (in KFH264Encoder::initWithBitrate) you pass a completion handler to _encoder.
my (simple) solution was to add a "shutdown" method to KFH264Encoder and remove the references to the completion handlers.
-(void) shutdown
{
[_encoder encodeWithBlock:nil onParams:nil];
}
call it before set _h264Encoder = nil;
this solution will free the encoder object
The text was updated successfully, but these errors were encountered: