Gestiada / google-api-java-client

Automatically exported from code.google.com/p/google-api-java-client
0 stars 0 forks source link

Resumable media upload #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
It should provide API to upload Video on youtube from Android platform

What version of the product are you using? On what operating system?
Android 2.1

Please provide any additional information below.

Original issue reported on code.google.com by paragpat...@gmail.com on 5 Aug 2010 at 1:59

GoogleCodeExporter commented 9 years ago
Two methods of uploading that need support:

http://code.google.com/apis/youtube/2.0/developers_guide_protocol_direct_uploadi
ng.html

http://code.google.com/apis/youtube/2.0/developers_guide_protocol_resumable_uplo
ads.html

Original comment by yan...@google.com on 6 Aug 2010 at 1:40

GoogleCodeExporter commented 9 years ago
Direct upload has been implemented as of 1.1.0-alpha.  Keeping this issue open 
for resumable upload.

Original comment by yan...@google.com on 10 Sep 2010 at 3:42

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 11 Sep 2010 at 1:32

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 11 Sep 2010 at 1:35

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 13 Sep 2010 at 4:02

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 24 Sep 2010 at 3:45

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 24 Dec 2010 at 1:37

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 8 Jan 2011 at 6:26

GoogleCodeExporter commented 9 years ago

I tried to use the Youtube resumable upload API as described here: 
http://code.google.com/apis/youtube/2.0/developers_guide_jsonc.html#Add_Video 
and it seems that it's working: http://pastebin.com/rfkB7Rgf

I'm not sure if this is the right place to ask this question but I was 
wondering if there are any plans to add proxy server support to the API.
I know that this is aready possible using system properties as described here: 
http://code.google.com/apis/gdata/articles/proxy_setup.html but the problem 
with that is that they are system wide.

I was thinking if it was possible to provide an interface which would set the 
proxy only for the Apache HttpClient requests. I've checked the source code and 
I've seen that the api already uses (in some cases) the Apache HttpClient to 
make the web requests so this shouldn't be hard to implement.

I could try and implement this myself and submit a patch but I'm not sure if 
this is a feature that google-api-java-client is willing to provide.

Original comment by vially.i...@gmail.com on 4 Feb 2011 at 10:45

GoogleCodeExporter commented 9 years ago
Just in case anyone else is interested in this feature I've created a clone of 
this project and implemented it here: 
http://code.google.com/r/viallyichb-google-api-proxy-support/

Original comment by vially.i...@gmail.com on 9 Feb 2011 at 3:29

GoogleCodeExporter commented 9 years ago
Looks very interesting, thanks!  I think we can definitely consider adding 
direct proxy support into the official library.  The process you've taken to 
clone the project seems like a good one.

However, would you kindly start a new Issue for this since this particular 
Issue is focused on resumable upload?  Here's the link:

http://code.google.com/p/google-api-java-client/issues/entry?template=Request%20
a%20Feature

Original comment by yan...@google.com on 9 Feb 2011 at 3:41

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 30 Mar 2011 at 7:49

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 7 May 2011 at 12:52

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 11 May 2011 at 3:29

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 20 Jun 2011 at 9:06

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 8 Aug 2011 at 10:15

GoogleCodeExporter commented 9 years ago
Good reference:
http://code.google.com/apis/gdata/docs/resumable_upload.html

Original comment by yan...@google.com on 29 Aug 2011 at 3:56

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 28 Oct 2011 at 6:19

GoogleCodeExporter commented 9 years ago

Original comment by rmis...@google.com on 30 Nov 2011 at 4:38

GoogleCodeExporter commented 9 years ago
Support for Resumable media upload has been added to the base libraries:
http://codereview.appspot.com/5482047/
http://codereview.appspot.com/5450097/
http://codereview.appspot.com/5650063/

Support has also been added to the generated service specific libraries.

Original comment by rmis...@google.com on 15 Feb 2012 at 9:05

GoogleCodeExporter commented 9 years ago
It should also work with Google Data APIs like Google Docs and YouTube.

Original comment by yan...@google.com on 16 Feb 2012 at 4:13