mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-11-13 07:11:44 -05:00
store rfc6381_codec in the database
This avoids having codec-specific logic to synthesize it in db.rs. It's not too much of a problem now with only H.264 support, but it'd be a pain when supporting H.265 and other codecs.
This commit is contained in:
@@ -194,7 +194,11 @@ The general upgrade procedure applies to this upgrade.
|
||||
|
||||
### Version 1 to version 2
|
||||
|
||||
Version 2 adds support for recording of sub streams. It adds a new table for
|
||||
this purpose.
|
||||
Version 2 adds:
|
||||
|
||||
* recording of sub streams (splits a new `stream` table out of `camera`)
|
||||
* records the RFC-6381 codec associated with a video sample entry, so that
|
||||
logic for determining this is no longer needed as part of the database
|
||||
layer.
|
||||
|
||||
The general upgrade procedure applies to this upgrade.
|
||||
|
||||
Reference in New Issue
Block a user