Processing
All components come with built-in ability to process videos using @modfy/core
.
Learn more about how Auth is handled for the core package.
The components support all the processing types from @modfy/core
, learn more about them here.
#
TypesThere are five processing types:
disabled
No processing happens hereother
Let you control the processing and is dependant of the component itselfsync
This uses our servers to process the video synchronouslyasync
This uses our servers to process the video asynchronouslyclient
This uses the clients browser to process video locally.
#
Sync ProcessingThere are two extra props you have to pass to the component when sync
is enabled.
modfy
This is the instance of the modfy class from@modfy/core
callback
This will give you the returned video, once it is finished processing. (Uint8Array)
#
Client ProcessingThis is the exact same above except to get this fully working you need Client Side Processing
#
Async ProcessingThere are two extra props you have to pass to the component when async
is enabled.
modfy
This is the instance of the modfy class from@modfy/core
webhook
This is the webhook url where you want to get the processed video.callback
This is an optional prop which returns{id: string, uuid: string}