Skip to content
This repository has been archived by the owner on Apr 11, 2021. It is now read-only.

Video Uploads #25

Open
stachu540 opened this issue Nov 28, 2018 · 0 comments
Open

Video Uploads #25

stachu540 opened this issue Nov 28, 2018 · 0 comments
Assignees
Labels
feature: kraken New feature or request
Projects
Milestone

Comments

@stachu540
Copy link
Collaborator

stachu540 commented Nov 28, 2018

Description

Video uploads is a service using Kraken API to create upload sequence, commence and upload your video with returns video data.


Steps to Reproduce

  1. Create uploads using VideoService#createUpload(<credential/video_file>)
  2. with using method createUpload building some queries for API to initiate uploading, using parameters below
    • Title (Important thing to commence upload)
    • Channel - if is not specify, will start uploading to your own authorized user channel
    • Description
    • Game
    • Language
    • Tags (character restrictions)
    • Viewable Type - specify if you want videos Public or Private (Enums here)
    • Viewable At - When will be Available to Public (if viewable type is Private)
  3. To start upload file we must specify video file or credential with available authorized scope channel_editor. There is some condition must be met:
    • If channel is specified, authorized user must have a Channel Editor plivigers into specific channel.
    • File must be a Video Format
    • If video doesn't match following formats below will convert into FLV or MP4 (discuss required)
      Following formats required by Twitch:
      • MP4, MOV, AVI and FLV file formats
      • AAC audio
      • h264 codec
      • Up to 10Mbps bitrate - important
      • Up to 1080p/60FPS - important
  4. Following Video Upload Guide we reproducing uploading Thread with Cancelable actions (Yes, will be reactive). Video parts must contains a byte[] parts with 5-25MB. All parts cannot be exceed to 10GB (throwing LimitExceededException)
  5. Complete uploads with receive Video data information received from Twitch.

Expected behavior: Most parts will allows to uploading any videos converting discussed file format.
Actual behavior: TODO
Stacktrace (if applicable):

  • ScopeIsMissingException - if authorized user doesn't have channel_editor scope
  • AccessDeniedException - authorized user is not channel editor on specific channel
  • LimitExceededException - if uploaded file is to big (max. 10GB)
  • IllegalFormatException - if file is not video, doesn't met requirements with bitrate or it is higher than 1080p/60FPS
  • IOException - other way will be thrown while initialize uploads creates thread.
    Version affected: v1 - this is a feature

Additional Information

Because this is a feature, I want to hear you ideas. First one to proceed uploading file will be check if it is a video. Next step is checking metadada using this library is some parts doesn't following formats will be converted to appropriate file format. And final step is start upload with progression.

@stachu540 stachu540 added feature: helix New feature or request feature: kraken New feature or request labels Nov 28, 2018
@stachu540 stachu540 added this to the v1 milestone Nov 28, 2018
@stachu540 stachu540 self-assigned this Nov 28, 2018
@stachu540 stachu540 added this to To do in v1.0.0 via automation Nov 28, 2018
@stachu540 stachu540 mentioned this issue Nov 28, 2018
16 tasks
@stachu540 stachu540 removed the feature: helix New feature or request label Nov 28, 2018
@stachu540 stachu540 added this to To do in v1.x via automation Dec 2, 2018
@stachu540 stachu540 removed this from To do in v1.0.0 Dec 2, 2018
@stachu540 stachu540 modified the milestones: v1.0.0, v1.x Dec 2, 2018
@stachu540 stachu540 pinned this issue Jan 22, 2019
@stachu540 stachu540 modified the milestones: v1.x, v0.7.0 Jul 9, 2019
@stachu540 stachu540 mentioned this issue Jul 9, 2020
32 tasks
@stachu540 stachu540 removed this from To do in v1.x Jul 9, 2020
@stachu540 stachu540 modified the milestones: v0.7.0, v1.0.0 Jul 9, 2020
@stachu540 stachu540 added this to To do in v1.0.0 via automation Jul 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature: kraken New feature or request
Projects
v1.0.0
  
To do
Development

No branches or pull requests

1 participant