what is the method that can make the grabImage() method return null at the expected time in the event of a sudden network outage?
#2,032 opened on May 25, 2023
Repository metrics
- Stars
- (6,985 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
hi, I use FFmpegGrabber to pull the rtsp stream, with parameters timeout and stimeout set to 5 seconds. If the network is connected at the beginning, the program can obtain the decoded video frames And when the network suddenly disconnects while it is already running, is the timeout and stimeout above effective? Because the return value of the grabImage() method is null, but sometimes the running time of this method exceeds one minute before returning null, what is the method that can make the grabImage() method return null at the expected time in the event of a sudden network outage? thx!