-
Notifications
You must be signed in to change notification settings - Fork 17
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
"failed: 404 Not Found" on Stream Startup #4
Comments
I raised an issue on StackOverflow about this: https://stackoverflow.com/questions/70086032/rtsp-streams-often-fail-with-404-on-describe-method |
@bradhs Are you still getting this? I haven't noticed it for several days now since I created that StackOverlow issue (maybe somebody really is listening). |
I havent been able to get the cameras to work. Here are the latest logs: [11/29/2021, 11:46:18 PM] [homebridge-google-nest-sdm] Request for trait sdm.devices.traits.CameraLiveStream had value {"maxVideoResolution":{"width":640,"height":480},"videoCodecs":["H264"],"audioCodecs":["AAC"],"supportedProtocols":["RTSP"]} Garage Camera |
I saw this: Unknown encoder 'libvpx-720p' and removed it so that there are is no encoder defined but it still fails. |
Here are the logs: [11/29/2021, 11:54:39 PM] [homebridge-google-nest-sdm] Triggered GET CurrentTemperature Hallway Thermostat |
Never seen that one before, I'm honestly not sure what it means. |
@bradhs: Latest version changes the way it uses ffmpeg, give it a try. You may need to reinstall the plugin, not sure. If so mind this section: https://github.com/potmat/homebridge-google-nest-sdm#installation. If you do it through the Homebridge UI then you probably don't need to worry. |
Garage Camera:20:48 AM] [homebridge-google-nest-sdm] [info] Metadata: |
@bradhs: There's no audio stream. Do you have the microphone/audio off on the camera? |
I do have the audio stream turned off. |
@bradhs : You will have to turn it on. The SDM API does not give any way to determine if the audio is enabled or not. So I'm afraid that it will have to be on for streams to work. I've updated the README about it. |
Thanks @potmat, that worked. Is there any way to add an option in the plugin so I can specify? I dont want to record audio. |
@bradhs : Glad that worked. Unfortunately I don't see how this could happen. If you have multiple cameras and audio is on for some but off for others there would be no reliable way to specify this in a config file, as the devices are created dynamically from the results of the SDM API device "list" command. I looked into probing the stream first to see what it provides, unfortunately this takes some seconds to complete, and probing the stream, then connecting to it, can take so much time that the Apple Home app reports the camera as not responding by the time it's done. |
[2/14/2024, 6:51:44 PM] [homebridge-google-nest-sdm] Plugin initialization failed, there was a failure with event subscription. Did you read the readme: https://github.com/potmat/homebridge-google-nest-sdm#where-do-the-config-values-come-from StatusError: Invalid resource name given (name=projects/sdm-prod/topics/enterprise-e49afb10-63e8-40c8-9ce2-b3bf758a89dc). Refer to https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names for more information. |
Sometimes when attempting to view a camera stream an error like
[homebridge-google-nest-sdm] [rtsp @ 00000280aed0e780] [error] method DESCRIBE failed: 404 Not Found
Or something like:
[homebridge-google-nest-sdm] [error] rtsps://<stream url>: Server returned 404 Not Found Camera [23/11/2021, 08:57:34] [homebridge-google-nest-sdm] Camera [23/11/2021, 08:57:34] [homebridge-google-nest-sdm] FFmpeg exited with code: 1 and signal: null (Error) Camera
Intermittently the SDM API seems to return 404 when attempting to access the DESCRIBE method of RTSPS streams. The cause and resolution are unknown at this time.
I am attempting to contact Google about the issue.
If there are any fffmpeg experts out there who could help it would be appreciated.
The text was updated successfully, but these errors were encountered: