I am currently working on an application that manipulates enormous streams of videos and I currently implement a "share on youtube" button so a user ( any user of the application that provided my app with an access token for his youtube account ) can share small parts ( lets say 2 to 7 minutes ) videos on their personal accounts.
In my understanding I require an application from youtube along the user's access key to upload anything. The problem is the application "general" quota is 10k units. Each video upload costs 1605 ( calculated ) units. Meaning that my application can upload up to 6 videos per day because it adds up on the general quota. Is there a way for those units to add up on the per-user quota basis?
If I request an increase to my quota ( lets say 1mil / approved ) that means I can upload ~623 videos.. What would happened if 100 users try to upload a video in their personal accounts ( using my application, thus my application key ) as this response is not reassuring but is also 2 years old.
The code is as straight forward as userSpecificConnection.uploadVideo(video)
which creates a userConnection to youtube using the user access token and the application key.
This question seems similar to my question but is 3y/o without a clear answer on the problem that I am currently facing
To clear out my questions :
- Is there a way to upload videos on the per-user quota?
- As the application is just an intermediate for the users to upload videos to their personal accounts I will not be monitoring how many videos each user uploads to their personal accounts ( as they are personal ) BUT if a user uploads 50 the rest of the users will not be able to upload anything?
- Is there a way to avoid this? ( blocking a user from uploading due to an other user reaching the limit ). The users are independent and should not limit each other.
I am not avoiding opening a request for increased quota. Just do not want to start a process that may not help me and will only consume someones time to review my application.