Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use timeout instead of stimeout for RTSP. #1758

Merged
merged 3 commits into from
Feb 22, 2022

Conversation

d00malun
Copy link
Contributor

In FFmpeg 5.0 (bundled with javacv 1.5.7) the option for timeout has been renamed from stimeout to timeout when using the RTSP protocol. stimeout is not a valid option for the RTSP protocol anymore.

  • Using it with FFmpegFrameGrabber has no effect.
  • Using it with ffmpeg program results in error:
    • Unrecognized option 'stimeout'

This PR updates the sample FFmpegStreamingTimeout to reflect this change and to make use of the option timeout instead.
Using timeout with javacv 1.5.7 works as expected for the RTSP sources I have tested with.

For reference:
FFmpeg/FFmpeg@6f34f03

@saudet saudet merged commit 34aa118 into bytedeco:master Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants