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

Add IVS output to exported configuration files #135

Open
alextyner opened this issue Jul 27, 2020 · 0 comments
Open

Add IVS output to exported configuration files #135

alextyner opened this issue Jul 27, 2020 · 0 comments

Comments

@alextyner
Copy link
Contributor

alextyner commented Jul 27, 2020

Is your feature request related to a problem? Please describe.
Configuration files write livestream and video-on-demand resource properties, but do not support ivs resources yet.

Describe the solution you'd like
Similarly to the other resource types, write the IVS output URL to configuration files on each platform.

Possible JavaScript project configuration:

% cat src/aws-video-exports.js 
// WARNING: DO NOT EDIT. This file is automatically generated by AWS Amplify. It will be overwritten.

const awsvideoconfig = {
    "myinteractivestream": {
        "aws_video_outputUrl": "https://###"
    }
};

export default awsvideoconfig;

Possible iOS/Android project configuration:

% cat app/src/main/res/raw/amplifyvideoconfiguration.json
{
    "video": {
        "plugins": {
            "awsVideoPlugin": {
                "myinteractivestream": {
                    "type": "INTERACTIVE",
                    "outputUrl": "https://###"
                }
            }
        }
    }
}

A concern: it could potentially be difficult to tell when reading the JS config whether a resource is On-Demand or Interactive. As a result, it would be the responsibility of the user to know what their video resources are named.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant