MediaStoreRecorderSettings interface
Settings to configure a media store recorder see NorskMediaStore.recorder()
Signature:
export interface MediaStoreRecorderSettings extends SinkNodeSettings<MediaStoreRecorderNode>, StreamStatisticsMixin
Properties
| Property | Type | Description |
|---|---|---|
number |
(Optional) Optional: Target duration, in seconds, of the audio fragments the store records. The video fragments are GOP-driven and unaffected. Because a reader needs both audio and video to play near the live edge, the coarsest fragment size sets the floor on how far behind live it must sit, so a smaller value here lowers achievable latency at the cost of more, smaller objects. Omit (or 0) to keep the 11s default; sub-second values are honoured. |
|
number |
Required: Duration of the media store chunk files |
|
(Optional) Optional: Expiry settings - if not supplied, then data will not get expired so on long-running events you may exhaust available disk space |
||
string |
Required: Name of this media store instance. |
|
() ⇒ void |
(Optional) Optional: Called when the media store is fully initialised. Note that subscriptions can take place when the onCreate event is fired, just like all other nodes |
|
string |
Required: Path for the media store database. |
|
(Optional) Optional: Replicate recorded segments to a remote object store as an asynchronous background process. When set, each replicated segment’s remote URL is added to the TAMS get_urls. Does not block recording. |