zencoder/zencoder-java

SegmentingType problems

Closed this issue · 1 comments

There are two different issues when creating a ZencoderOutput, as it relates to the SegmentingType.

  1. The SegmentingType only includes an enum value for hls and mms, but there is no dash, which is available in the prepare_for_segmenting JSON attribute for an output.
  2. When creating a ZencoderOutput object, I should be able to specify multiple output types, either as a comma separated string (as shown here), or as an array (as shown here). Perhaps an addPrepareForSegmenting() method should be added, instead of just setPrepareForSegmenting().

Thank you.

Pull-request #21 has been merged, marking as closed. Thank you for filing an issue and providing a fix!