Cli
Stream CLI
CLI reference for Stream
Stream CLI
A serverless video platform for uploading, storing, encoding, and delivering live and on-demand video content globally.
Commands
create
Create a new video stream.
do stream create [options]Options:
--help- Show help--json- Output as JSON--quiet- Suppress output
upload
Upload video content to the stream.
do stream upload [options]Options:
--help- Show help--json- Output as JSON--quiet- Suppress output
delete
Permanently remove the video stream.
do stream delete [options]Options:
--help- Show help--json- Output as JSON--quiet- Suppress output
getUploadUrl
Generate one-time upload URL for end users.
do stream getUploadUrl [options]Options:
--help- Show help--json- Output as JSON--quiet- Suppress output
getSignedUrl
Generate signed URL for restricted access.
do stream getSignedUrl [options]Options:
--help- Show help--json- Output as JSON--quiet- Suppress output
updateAccess
Change access control settings.
do stream updateAccess [options]Options:
--help- Show help--json- Output as JSON--quiet- Suppress output
addCaptions
Add subtitle or caption track to video.
do stream addCaptions [options]Options:
--help- Show help--json- Output as JSON--quiet- Suppress output
removeCaptions
Remove subtitle or caption track from video.
do stream removeCaptions [options]Options:
--help- Show help--json- Output as JSON--quiet- Suppress output
startLive
Begin live streaming session.
do stream startLive [options]Options:
--help- Show help--json- Output as JSON--quiet- Suppress output
stopLive
End live streaming session.
do stream stopLive [options]Options:
--help- Show help--json- Output as JSON--quiet- Suppress output
getAnalytics
Retrieve viewing metrics and performance data.
do stream getAnalytics [options]Options:
--help- Show help--json- Output as JSON--quiet- Suppress output
getThumbnail
Get or generate video thumbnail.
do stream getThumbnail [options]Options:
--help- Show help--json- Output as JSON--quiet- Suppress output
Examples
# create
do stream create
# With JSON output
do stream create --json
# Quiet mode
do stream create --quiet