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

Possible to statically link gstreamer? #306

Open
ForksCoolStuff opened this issue Oct 12, 2024 · 3 comments
Open

Possible to statically link gstreamer? #306

ForksCoolStuff opened this issue Oct 12, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@ForksCoolStuff
Copy link

I'm trying to use neolink with the Frigate home assistant addon.

I can install gstreamer libs and get neolink working BUT the changes are lost on restart.

Is it possible gstreamer could be statically linked in with neolink?

If not, any other methods you can think of? I've tried setting LD_LIBRARY_PATH to pwd and sticking the libs in there. That makes neolink stop complaining about gstreamer but introduces new errors like unknown symbol something something. Maybe I forgot a lib but I would have thought it'd continue complaining about libs until they were all satisfied.

Any help is appreciated. Technically I could pipe Frigate's back channel audio through netcat to a server that DOES have gstreamer libs, but that's not really a super elegant way to go about it.

@ForksCoolStuff ForksCoolStuff added the enhancement New feature or request label Oct 12, 2024
@QuantumEntangledAndy
Copy link
Owner

No gstreamer is used through a plugin system and doesn't really support statics in that way.

It sounds like you are using a frigate container, any changes made to a container will always be lost on restart. The way around this is to make a new base image with the libraries you need. We provide a base image for neolink and there is a separate project which integrates that image into a HA plugin. You should use that and do container to container networking and not modify the frigate container at all

@ForksCoolStuff
Copy link
Author

Do I need to use the talk subcommand to do the two way audio or does 2 way audio also work through the RTSP stream neolink provides? That's mainly what I'm after.

@QuantumEntangledAndy
Copy link
Owner

Has to be though the talk. The ONVIF protocol in gatreamer dosent really exposed the back-audio for us to use

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants