resetFrameBuffer()
Tells the broadcast video output to reset the frame buffer and drop all currently buffered frames.
Declaration
func resetFrameBuffer()Discussion
This method can be called when buffered video frames should be dropped. This will force all those frames to be dropped and reset the buffered frame count to 0.
Use this method in scenarios where you need to clear pending frames, such as:
Pausing or stopping broadcast: Drop pending frames that should not be transmitted
Reducing accumulated latency: If buffering has built up significant delay, reset to return to real-time output