eluv-io / elv-live-js

Eluvio Live JavaScript SDK
MIT License
4 stars 3 forks source link

Live stream insertion support #120

Closed elv-serban closed 1 year ago

elv-serban commented 1 year ago

Support for the new live stream capability - ad/content insertion.


./elv-stream insertion
 insertion <stream> <time> <duration> <target_hash>

Pauses the currently active live stream.

Positionals:
  stream       Stream name or QID (content ID)               [string] [required]
  time         Insertion time relative to stream start (seconds with 6 decimal
               precision)                                             [required]
  duration     Duration (seconds with 6 decimal precision)            [required]
  target_hash  Target content object hash (playable)         [string] [required]

Options:
      --version  Show version number                                   [boolean]
  -v, --verbose  Verbose mode                                          [boolean]
      --help     Show help                                             [boolean]
      --remove   Flag indicating the insertion is to be deleted```
elv-michelle commented 1 year ago

time is with respect to start of the stream?

The constant abr duration will presumably be read / determined from the content rather than hard coded, right?

This is AWESOME!!