feat(recording): add output format options and MP4 conversion support
- Introduced `outputFormat` state in `WccRecordingPanel` for selecting between MP4 and WebM formats. - Updated `RecorderService` to handle MP4 conversion using mediabunny. - Added type stubs for `MediaStreamAudioTrack` and `MediaStreamVideoTrack` to ensure type safety. - Updated documentation to reflect changes in output format handling.
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ import type { TTemplateFactory } from './elements/wcctools.helpers.js';
|
||||
import type { IWccConfig, IWccSection } from './wcctools.interfaces.js';
|
||||
|
||||
// Export recording components and service
|
||||
export { RecorderService, type IRecorderEvents, type IRecordingOptions } from './services/recorder.service.js';
|
||||
export { RecorderService, type IRecorderEvents, type IRecordingOptions, type TOutputFormat } from './services/recorder.service.js';
|
||||
export { WccRecordButton } from './elements/wcc-record-button.js';
|
||||
export { WccRecordingPanel } from './elements/wcc-recording-panel.js';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user