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

Yahka 1.0.9 problem with RTSP stream cameras #502

Open
EugenEule opened this issue Oct 21, 2024 · 7 comments
Open

Yahka 1.0.9 problem with RTSP stream cameras #502

EugenEule opened this issue Oct 21, 2024 · 7 comments

Comments

@EugenEule
Copy link

I have an issue with the Yahka 1.0.9 iobroker adapter. After some time, I can't access my RTSP stream cameras anymore. Restarting the Yahka adapter fixes it for a few hours, but the 1.0.3 version works fine. I have the latest FFmpeg version installed.

I don't think version 1.0.9 should be released as stable yet because of this issue. Is this a known problem? Anyone else experiencing this?

@tarikweiss
Copy link
Contributor

Do you have some log-entries you may post here? It may be easier to fix then. Thank you!

@tarikweiss
Copy link
Contributor

Hey, still did not receive any logs yet. Do you have more information about the problem? Maybe I can create a test-stream to be able to even reproduce the problem. Thank you!

@EugenEule
Copy link
Author

Unfortunately, I don't have any log entries that capture the issue yet. The error occurs only after some time when using version 1.0.9. Are there any specific settings or additional debug options I could enable to gather more information? Thank you for your help!

@EugenEule
Copy link
Author

Here are the current log entries I have and it is still running:

yahka.0 | 2024-12-03 12:41:24.911 | info | publishing camera Camera1 on 0.0.0.0 using avahi
yahka.0 | 2024-12-03 12:41:24.904 | info | publishing camera Camera3 on 0.0.0.0 using avahi
yahka.0 | 2024-12-03 12:41:24.898 | info | publishing camera Camera4 on 0.0.0.0 using avahi
yahka.0 | 2024-12-03 12:41:24.723 | info | publishing camera Camera2 on 0.0.0.0 using avahi

@tarikweiss
Copy link
Contributor

Hmm, you may enable the "debug" level for the adapter (go to instances and change the "level" from info to "debug). Thank you!

@EugenEule
Copy link
Author

Thanks! I'll enable the "debug" level and share more detailed logs as soon as the error occurs again.

@EugenEule
Copy link
Author

EugenEule commented Dec 3, 2024

I encountered the issue again. I couldn't connect to the camera, and the log didn't show anything. On my iPhone, I got an error message saying that the camera was unavailable. On the second attempt, it worked, and the log showed the following:
yahka.0 | 2024-12-03 16:08:44.599 | debug | FFMPEG: received first frame yahka.0 | 2024-12-03 16:08:44.454 | debug | Session Request: { "sessionID": "07c5e99d-9807-4d75-b08c-c166dde87665", "type": "start", "video": { "codec": 0, "profile": 2, "level": 2, "packetizationMode": 0, "width": 640, "height": 360, "fps": 30, "pt": 99, "ssrc": 4164860024, "max_bit_rate": 132, "rtcp_interval": 0.5, "mtu": 1378 }, "audio": { "codec": "AAC-eld", "channel": 1, "bit_rate": 0, "sample_rate": 16, "packet_time": 30, "pt": 110, "ssrc": 3548643743, "max_bit_rate": 24, "rtcp_interval": 5, "comfort_pt": 13, "comfortNoiseEnabled": false } }

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

No branches or pull requests

2 participants