Comcast / mamba

Mamba is a Swift iOS, tvOS and macOS framework to parse, validate and write HTTP Live Streaming (HLS) data.
Apache License 2.0
180 stars 40 forks source link

Add support for Pantos tag EXT-X-BITRATE. #36

Closed youngkin closed 5 years ago

youngkin commented 5 years ago

There was also a minor change to mamba.xcworkspace/contents.xcworkspacedata to remove a hardcoded path to the mambaPlayground.


Description

This PR implements support for a new Pantos tag, EXT_X_BITRATE (see the HLS Spec for details).

Change Notes

Pre-submission Checklist

CLAassistant commented 5 years ago

CLA assistant check
All committers have signed the CLA.

youngkin commented 5 years ago

Both suggestions sound good to me. I'll take care of that so @dcoufal has less to complain about ;)

youngkin commented 5 years ago

I didn't add a negative test to cover values that couldn't be converted to a Double since there's already a test for that for another tag (EXT-X-TARGETDURATION). It would just exercise the same (validator) code with the added expense of more test code to maintain.