zencoder / go-dash

A Go library for generating MPEG-DASH manifests.
Other
221 stars 61 forks source link

implement unmarshalling for cenc, widevine, playready contentprotection #48

Closed robertoamici closed 5 years ago

robertoamici commented 6 years ago

It requires custom marshalling code due to bugs/limitation of the standard golang xml package with namespaced elements and attributes Also add a test for #23, because now we can

It is not backward compatible (had to slightly change the public structs structure to make the unmarshalling work). I understand if this isn't merge-able, but I'm putting in the PR so you can evaluate it

stuarthicks commented 5 years ago

Thanks for submitting the change, and sorry for not looking sooner. This has been superseded by https://github.com/zencoder/go-dash/pull/53. If there are any further changes you want to make, please request to re-open this, or submit a new PR. Thanks!