timsueberkrueb / ubuntu-hangups

:red_circle: Unmaintained: Unofficial Google Hangouts client for Ubuntu Touch
GNU General Public License v3.0
28 stars 8 forks source link

Video Hangouts #32

Open timsueberkrueb opened 9 years ago

timsueberkrueb commented 9 years ago

This will be possible when Oxide 1.11 is released (https://launchpad.net/oxide).

f0o commented 9 years ago

Does this also apply to Audio Hangouts?

timsueberkrueb commented 9 years ago

@f0o yes.

timsueberkrueb commented 9 years ago

Blocked by this bugs:

bittner commented 9 years ago

Just for curiosity's sake: The camera app, what implementation does it use? Why does the camera app work, and still it's so difficult to make this feature available to the rest of the platform (i.e. integrated in the web browser)?

timsueberkrueb commented 9 years ago

@bittner Yeah, good question. The problem is not that I can't use the camera using QML (which should be simple) but I'm waiting for the webbrowser implementation as I basically will just embed the Video Hangouts websites and tweak it a bit (maybe custom, touch-friendly call/chat/etc buttons using qml). But I don't know why they're stuck implementing the web api.

timsueberkrueb commented 8 years ago

Update: Oxide now allows video and microphone access and I already tried it, Video Hangouts are now possible! \0/

f0o commented 8 years ago

\o/ will try it out in a jiffy

On 4 February 2016 13:00:42 CET, "Tim Süberkrüb" notifications@github.com wrote:

Update: Oxide now allows video and microphone access and I already tried it, Video Hangouts are now possible! \0/


Reply to this email directly or view it on GitHub: https://github.com/tim-sueberkrueb/ubuntu-hangups/issues/32#issuecomment-179790313

Sent from my Android device with K-9 Mail. Please excuse my brevity.

timsueberkrueb commented 8 years ago

@tdryer do you know which API calls Hangouts does in order to receive the url to a new video hangout and how can I handle the messages sent when an Hangout comes in? Thanks in advance :)

tdryer commented 8 years ago

I took a quick look, and these two APIs seem related to opening a call:

https://clients6.google.com/hangouts/v1/hangouts/query
https://clients6.google.com/hangouts/v1/hangouts/resolve

I'll try getting them added to hangups when I have time.

For handling events, hangups already exposes the Hangout call events.

tdryer commented 8 years ago

I tried calling resolve using hangups and it failed with this error:

Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.

I suspect this is an issue with the OAuth access token. The iOS client ID used by hangups may not have access to these APIs.

timsueberkrueb commented 8 years ago

@tdryer thanks! Wouldn't it be possible to extract the OAuth token the web version uses?

tdryer commented 8 years ago

The web client doesn't use OAuth, but since you have a web view, you may be able to have the user log in through the normal web form and just pass the cookies to hangups.

timsueberkrueb commented 8 years ago

@tdryer thanks, I'll try that. The cookies would then have to be refreshed each start though, right? Would make startup probably slower but we'll see.

tdryer commented 8 years ago

No, you should be able to reuse the cookies. I'm not sure how long they would be valid for though.