Giter Club home page Giter Club logo

Comments (13)

Kane610 avatar Kane610 commented on September 26, 2024

Thanks for reporting, would you mind enable debug for the library and share the raw data being parsed?

The way to mitigate the issue depends on what the raw data shows :)

from axis.

jonoberheide avatar jonoberheide commented on September 26, 2024

Here's the log file: log.txt

I'm able to skip that EventBuffer/Begin topic by tweaking some logic in decode()/decode_from_list() and then the event stream appears to start. However, I don't seem to get receive relay events from the A9188...which may be an independent issue.

from axis.

Kane610 avatar Kane610 commented on September 26, 2024

What access rights does the user have? For port control it needs to be admin, not sure if that affects the event stream itself though

from axis.

jonoberheide avatar jonoberheide commented on September 26, 2024

Yep, it's the admin user.

from axis.

Kane610 avatar Kane610 commented on September 26, 2024

Here's the log file: log.txt

I'm able to skip that EventBuffer/Begin topic by tweaking some logic in decode()/decode_from_list() and then the event stream appears to start. However, I don't seem to get receive relay events from the A9188...which may be an independent issue.

Main file does a few things extra and it seems to be broken, ignore the await device.vapix.initialize_event_instances() in the main.py and it should proceed

from axis.

jonoberheide avatar jonoberheide commented on September 26, 2024

Strangely, I can see the events coming from the device using the gstreamer rstpsrc client, but not the axis one. I'm not quite sure yet where the protocol sequence is differing though...

from axis.

Kane610 avatar Kane610 commented on September 26, 2024

Strangely, I can see the events coming from the device using the gstreamer rstpsrc client, but not the axis one. I'm not quite sure yet where the protocol sequence is differing though...

I did skip out and didn't implement the rtcp channel which has worked great for a long time and I think I even tried it on a 9188 once.

I appreciate you are looking at it!

from axis.

Kane610 avatar Kane610 commented on September 26, 2024

Here's the log file: log.txt

I'm able to skip that EventBuffer/Begin topic by tweaking some logic in decode()/decode_from_list() and then the event stream appears to start. However, I don't seem to get receive relay events from the A9188...which may be an independent issue.

Sorry didn't get to this until now, would you mind share the debug log output when you get that event over the rtsp stream

from axis.

jonoberheide avatar jonoberheide commented on September 26, 2024

I ended up going a different route for my use case, so I no longer need to consume the events from the A9188, so I'm ok to close this if it makes sense for you.

Also, maybe a separate issue (but again, no longer relevant), when I just tried re-adding my A9188 to the latest version of HA, it successfully set up the device, but did not create any entities for it, which I'd swear there were relay/IO switch entities set up in a past version (as I referenced in home-assistant/core#109345 )

from axis.

Kane610 avatar Kane610 commented on September 26, 2024

I ended up going a different route for my use case, so I no longer need to consume the events from the A9188, so I'm ok to close this if it makes sense for you.

No-one else has reported that issue so I guess if you're not concerned with it we can close it, even though I would like to see complete debug logs so I could solve it proactively :)

Also, maybe a separate issue (but again, no longer relevant), when I just tried re-adding my A9188 to the latest version of HA, it successfully set up the device, but did not create any entities for it, which I'd swear there were relay/IO switch entities set up in a past version (as I referenced in home-assistant/core#109345 )

Yes please create a new issue and we can look at it

from axis.

jonoberheide avatar jonoberheide commented on September 26, 2024

Ok, I suppose I will keep the issue open and we can revisit once I'm able to reproduce the issue.

I'll file a new issue...assuming the HA project is the right place for that as opposed to here.

from axis.

jonoberheide avatar jonoberheide commented on September 26, 2024

I would say this is safe to close now, given that the RTSP event streaming is working A-OK for the 9188 through HA.

from axis.

Kane610 avatar Kane610 commented on September 26, 2024

Allright! Thanks for the swift actions!

from axis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.