Dash-Industry-Forum / livesim2

DASH Live Source Simulator v2 in Go
Other
36 stars 6 forks source link

fix: set contentType from mimeType or codecs #198

Closed tobbee closed 3 months ago

tobbee commented 3 months ago

If contentType and mimeType is not available on AdaptationSet level, the representations are scanned for the same field. If still not found, the codecs string is checked. This should allow for more content to be automatically detected.

The contentType is set on the adaptationSet level, so it should be visible in the output dynamic MPD.

Solves #197.