-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
148 additions
and
23 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Services | ||
======== | ||
|
||
|
||
|
||
|
||
Contents: | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
services/auth | ||
services/plumber | ||
services/vault |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Auth (Authentication & Authorization provider) | ||
============================================== | ||
|
||
|
||
|
||
|
||
Contents: | ||
|
||
.. toctree:: | ||
:maxdepth: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Plumber (Live Audio Mixer) | ||
========================== | ||
|
||
|
||
|
||
|
||
Contents: | ||
|
||
.. toctree:: | ||
:maxdepth: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Vault (Repository of Media Files) | ||
================================= | ||
|
||
|
||
|
||
|
||
Contents: | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
vault/importing | ||
vault/uploading |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Importing | ||
========= | ||
|
||
TODO | ||
|
||
|
||
|
||
|
||
|
||
.. toctree:: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
Uploading | ||
========= | ||
|
||
There are several ways to upload media files into Vault. Depending on the context | ||
and desired integration with other applications you may want to push the whole | ||
file at once, ask service to pull it or upload it in chunks. Each of them has | ||
its benefits and drawbacks, described below. | ||
|
||
Please note that uploading refers to action initiated by user or another | ||
application. You also may want to take a look about importing features that | ||
can be used to automatically fetch content from existing applications without | ||
necessity to trigger such operation. | ||
|
||
Resumable.JS | ||
------------ | ||
|
||
Vault provides interface for uploading via `Resumable.JS <http://resumablejs.com/>`_ | ||
JavaScript library. This is the preferred way to import files through web browser. | ||
Resumable.JS provides ability to queue files, upload them in parallel, restart | ||
uploads and the most importantly, divide them into chunks. This is a quite reliable | ||
way to create uploader that handles large files even on weak network connections. | ||
|
||
The endpoint for uploading is https://vault.radiokitapp.org/api/upload/v1.0/resumablejs. | ||
Maximum chunk size is 4MB. You must pass some additional headers and parameters | ||
to the requests: | ||
|
||
* At least `Authorization` header (see: Authentication) | ||
* At least `record_repository_id` parameter (see: Repositories) | ||
|
||
Example using plain JavaScript | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
:: | ||
|
||
var r = new Resumable({ | ||
target: 'https://vault.radiokitapp.org/api/upload/v1.0/resumablejs', | ||
query: { | ||
radiokit: { | ||
record_repository_id: '80332F34-F903-11E5-A3E1-3E19FDC8A409' | ||
} | ||
}); | ||
|
||
if(!r.support) { | ||
alert('Chunked upload is not supported, upgrade your web browser.'); | ||
} | ||
|
||
.. toctree:: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Support | ||
======= | ||
|
||
If you need any support while developing services on top of the Engine and | ||
encounter any issues, our team of experts is ready to help. | ||
|
||
Don't hesitate to contact us at admin@radiokit.org | ||
|
||
.. toctree:: |