Migrating
Updating your Code to the latest VideoKit
VideoKit is currently in alpha, meaning that its C# API is very fluid and can change quite drastically between consecutive releases.
VideoKit being in alpha does not mean that its functionality is unstable. It just means that the C# API will change a lot.
Migrating to 0.0.15
Here are changes needed to upgrade your project to VideoKit 0.0.15:
Dropping the CameraFrame struct
The CameraFrame
struct has been removed. The preview texture can now be accessed directly from the camera manager:
Using the VideoKitCameraManager.OnCameraFrame event
The VideoKitCameraManager.OnCameraFrame
event has been made parameterless:
Using the VideoKitAudioManager.OnSampleBuffer event
The VideoKitAudioManager.OnSampleBuffer
has been removed, replaced with VideoKitAudioManager.OnAudioBuffer
which accepts an AudioBuffer
instance directly from the streaming AudioDevice
:
Last updated