Open wxz1211 opened 1 year ago
hi: My rtsp stream is sometimes disconnected, How to use javacv to determine whether the rtsp stream is online
En:Use grabber.start() and set timeout. if the frame returned is null. the stream is disconnected. Ch: 我记得grabber有个rw_timeout,这个参数可以设置为0,如果你提供的rtmp流不可用的话,就会直接返回null帧了
hi: My rtsp stream is sometimes disconnected, How to use javacv to determine whether the rtsp stream is online