ubuntu-hangups icon indicating copy to clipboard operation
ubuntu-hangups copied to clipboard

Video Hangouts

Open timsueberkrueb opened this issue 8 years ago • 14 comments

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

timsueberkrueb avatar Oct 16 '15 20:10 timsueberkrueb

Does this also apply to Audio Hangouts?

f0o avatar Oct 29 '15 12:10 f0o

@f0o yes.

timsueberkrueb avatar Oct 29 '15 14:10 timsueberkrueb

Blocked by this bugs:

  • https://bugs.launchpad.net/oxide/+bug/1509256
  • https://bugs.launchpad.net/oxide/+bug/1441465

timsueberkrueb avatar Nov 04 '15 16:11 timsueberkrueb

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)?

bittner avatar Nov 04 '15 17:11 bittner

@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 avatar Nov 04 '15 17:11 timsueberkrueb

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

timsueberkrueb avatar Feb 04 '16 12:02 timsueberkrueb

\o/ will try it out in a jiffy

On 4 February 2016 13:00:42 CET, "Tim Süberkrüb" [email protected] 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.

f0o avatar Feb 04 '16 12:02 f0o

@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 :)

timsueberkrueb avatar Feb 04 '16 12:02 timsueberkrueb

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 avatar Feb 05 '16 03:02 tdryer

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.

tdryer avatar Feb 05 '16 04:02 tdryer

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

timsueberkrueb avatar Feb 05 '16 16:02 timsueberkrueb

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.

tdryer avatar Feb 06 '16 02:02 tdryer

@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.

timsueberkrueb avatar Feb 06 '16 12:02 timsueberkrueb

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

tdryer avatar Feb 06 '16 19:02 tdryer