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

Buddy client extensions #101

Open
bic-user opened this issue Jun 27, 2013 · 2 comments
Open

Buddy client extensions #101

bic-user opened this issue Jun 27, 2013 · 2 comments

Comments

@bic-user
Copy link

I'm trying to use webrtc-jingle as google talk client. Not all buddies can receive calls. I want to distinguish them. The only place with such info (that I found) is node "caps:c" in raw xml that is handled by XmppRosterContactImpl from libjingle. There is "ext" over there and it contains "voice" if call is possible. Is there a simpler way to get that than modify third-party lib and drag extension through all native client part?

@lukeweber
Copy link
Owner

Nope, you'd need to drag it through. Probably the most straight forward would be to modify android/voice-client-native/jni/voiceclient_main.cc -> OnSignalPresenceChanged

Probably include a boolean, or int of caps, depending on how much you want to encode. In the end, it will be quite a few files to change, but that's the bridge method between java and libjingle.

@bic-user
Copy link
Author

bic-user commented Aug 2, 2013

thanks! worked for me. the one should search for "voice-v1" in extensions. But it doesn't work for new hangouts. I'll start separate thread for that.

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

No branches or pull requests

2 participants