decrreased frameinflight for raw packet output

This commit is contained in:
Mohit Saroha 2022-05-10 13:17:57 +05:30
parent 4a20e9909d
commit 6017df8b50

View File

@ -108,6 +108,7 @@ void CallFrameDelegate(void* wrapperVoid, const std::string& streamName,
MPPGraph* wrapper = (__bridge MPPGraph*)wrapperVoid;
@autoreleasepool {
if (packetType == MPPPacketTypeRaw) {
wrapper->_framesInFlight--;
[wrapper.delegate mediapipeGraph:wrapper
didOutputPacket:packet
fromStream:streamName];