-
Notifications
You must be signed in to change notification settings - Fork 34
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
Additional Callbacks #5
Comments
there is a on-padadded callback. Line 270 in e023dcb
you can try something similar. |
|
Yes, I was going to implement the same thing just with a different string, but I cannot access the callbackStore or private fields like Element.callbackID. btw: i'm also taking a look at media-server-go, trying to see where i can integrate easier. |
Thanks, if you can make a pr. |
Arbitrary callbacks signals and sending go functions through for gstreamer to call is proving challenging. Was trying to use this as a reference: https://eli.thegreenplace.net/2019/passing-callbacks-and-pointers-to-cgo/ |
I was going to give this library a try and implement this in Go:
http://blog.nirbheek.in/2018/02/gstreamer-webrtc.html
But quickly ran into the limited callback functions and private callbackID on Element. I'm experimenting with adding things like SetOnNegotiationNeededCallback and SetOnICECandidateCallback, or something a little more general allowing arbitrary callbacks, but I thought I'd register this issue to see if adding something like this upstream would be possible.
The text was updated successfully, but these errors were encountered: