Allows developers to install and customize their connected camera and other devices to securely stream video, audio, and time-encoded data to Kinesis Video Streams
Apache License 2.0
78
stars
76
forks
source link
Use System.getProperty for stream name in PutMediaDemo #176
This updates the PutMediaDemo so that it uses the STREAM_NAME value that is set by the system property rather than being hardcoded to "my-stream". The documentation in the README indicates that this is how the PutMediaDemo should operate so this is just making the actual code consistent with what is already in the docs.
This tripped me up for a while before I noticed that the STREAM_NAME was actually hardcoded in this demo.
The relevant docs:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available:
Description of changes:
This updates the PutMediaDemo so that it uses the
STREAM_NAME
value that is set by the system property rather than being hardcoded to"my-stream"
. The documentation in the README indicates that this is how thePutMediaDemo
should operate so this is just making the actual code consistent with what is already in the docs.This tripped me up for a while before I noticed that the STREAM_NAME was actually hardcoded in this demo.
The relevant docs:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.