-
Notifications
You must be signed in to change notification settings - Fork 66
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
"waiting for keyframe" is printed for about 30 seconds. #57
Comments
Hello, I did a branch for it: |
Thank you for your effort. I am using VLC as RTSP Client.
|
VLC is closing connection, I can't see a success connection. I can't see a success connection and waiting for keyframe. |
I looked for a way to reproduce the error, but couldn't find it.. OS : Windows 10 |
What do you mean? You can't reproduce the error using the branch or it is working and now you can't reproduce the error? |
The branch you shared with me doesn't work. I wonder if I have misunderstood. |
Ok, I will try to reproduce it. |
I did a commit to fix error in i57 test it and let me know if it is wokring for you. |
I have two questions. Q1. Q2. thank you. |
Hello, Q1 - The difference is that in branch i57 when you connect a client you request to VideoEncoder class for a keyframe that is necessary to start video stream in player. If you don't do it normally a keyframe is generated each 2 second (value of iFrameInterval). |
Thank you for the reply. Here is the log you requested.
|
This is weird. The library send video packets so you should be able to reproduce it. |
Hello, I'm not sure if there is a console inside the server. I reinstalled vlc but the update still didn't work after the first frame. I'll give you vlc and ffpaly logs. Below is the log of vlc.
And below is the log of ffplay.
|
Hello,
Thanks for making such a great library.
I used this library to create a server application.
But I have one problem using the library...
When the RTSP client tries to connect to the server, it prints a log message saying "waiting for keyframe" for about 30 seconds and no video is sent to the client.
If I run the same application on my smartphone, there is no problem.
The client can receive the video data in about 2 seconds.
I think the server needs a proper setup, but I'm not sure how to do it.
I'm using OV5640 camera module.
Let me know if you have any ideas.
Thank you.
The text was updated successfully, but these errors were encountered: