mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2024-12-26 23:25:55 -05:00
478323ec62
As required for live view (#59) to work on Safari. Safari has some "interesting" expectations: * There must be a non-empty list of compatible brands. The major brand is not automatically included. (Looks like ISO/IEC 14496-12 doesn't spell out which is correct.) * The tfdt box must be before the trun boxes. Moonfire NVR was not compliant with ISO/IEC 14496-12:2015 section 8.8.12.1 before. Chrome and Firefox didn't care, but Safari does. * The mdat must be written with the small format. Safari is not implementing the spec properly. I figured these out by painstakingly comparing Moonfire NVR's output with gpac's, making it match almost byte-for-byte until it worked, then backing out changes one at a time to check which were relevant. Ugh! |
||
---|---|---|
.. | ||
base | ||
db | ||
src | ||
Cargo.lock | ||
Cargo.toml |