-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Request: option to allow stream to be configurable #49
Comments
Awesome! Just a thought: stream profiles doesn't solve this? https://github.com/Kane610/axis/blob/master/axis/stream_profiles.py |
Unfortunately, no, you can't select a "view" for a profile. It seems that it's only for parameters such as resolutions, etc. I can use different URLs, such as |
I will look at this soon. The two integrations shouldn't affect each other |
@WhistleMaster could you share logs of this behavior? |
Have you configured stream profiles on the camera? I dont think there are any automatically created profiles but you have to do it yourself |
Yes there are already there on the camera and I can get them with the ONVIF integration. Which logs would you like ? |
So you mean you don't get the stream profiles from the camera with the axis integration? Are you perhaps using too low level of credentials? Enable debug logging for the axis integration and share what pops out of it :) |
Indeed. I've tried with the root user with the AXIS integration but I don't get any stream profiles either. I've created a ONVIF user in "administrator" user group, but it doesn't work with the AXIS integration (I cannot log in from the integration) but this user does work with the ONVIF integration and I get the stream profiles. I will enable debug logging and send the logs :) |
And here are the logs: |
According to the logs there are no configured stream profiles. And I'm working on adding proper view area support |
How are the different views for your 360 device presented? How do you know that you get a view which is not the 360° view? |
Parts of it is solved, but not yet in home assistant |
Well, the profiles are defined in the OVNIF section of the camera ("ONVIF media profiles"), that's maybe why I can see it with the OVNIF integration but not with the AXIS one. I don't have stream profiles defined in the "Stream profiles" section.
They are available with the "ONVIF media profiles" but not with the "Stream profiles". I have to use an OVNIF user to get them with the ONVIF integration. |
Ok, well I'm not utilizing any onvif functionality. Its all Vapix APIs I call |
That’s why then, so the only way to get the different views other than the 360 one is to use the ONVIF profiles and the ONVIF integration because the standard AXIS stream profiles through vapix calls don’t propose this option to choose the view. I guess we can close this issue. Thanks for your help ! |
Isn't it worth investigating more? |
You tell me :) As I see it, the only way would be to include some ONVIF functions in your AXIS integration to include the profiles but that would require two different users, one for the AXIS integration and one for the ONVIF. |
I don't know if that could be of any help, but Synology Surveillance Station allows to select a "Video Channel" and it is not using ONVIF. I can use different URLs, such as http://<AXIS_IP>/axis-cgi/jpg/image.cgi?camera={1-12} to get a still image, or rtsp://<AXIS_IP>/axis-media/media.amp?videocodec=h264&camera={1-12} for streaming. Maybe that's what is used in Synology Surveillance Station. |
I think those are view areas. I have that implemented. Just need to verify everything :) |
I think I found it, it is the root.Image parameters in param.cgi |
Haven't heard anything and functionality is available, closing this. Feedback would be appreciated. |
I've just updated HA this morning and tried the new AXIS integration and... it's working perfectly fine ! That's great, I can select the view now, thanks for the great work ! |
Thanks for the feedback! Happy i could solve it 😃 |
Thanks for the great work on this component !
It would be great to get an option to allow stream to be configurable. I have an AXIS M3058, and the default image with the component is the 360° fisheye view. It would be great to be able to select, as an example, the quad-view.
Thanks !
The text was updated successfully, but these errors were encountered: