Skip to content

VideoKit 0.0.14

Compare
Choose a tag to compare
@olokobayusuf olokobayusuf released this 09 Aug 14:57
· 68 commits to main since this release
  • Added audio captioning using AI with the AudioAsset.Caption method.
  • Added ability to parse an arbitrary struct from text using AI with the TextAsset.To method.
  • Added ability to pick images and videos from the camera roll with the MediaAsset.FromCameraRoll<T> method.
  • Added MediaAsset class for loading, inspecting, and sharing media.
  • Added TextAsset class for loading, inspecting, and extracting models from text.
  • Added ImageAsset class for loading, modifying, and sharing images.
  • Added VideoAsset class for loading, inspecting, and sharing videos.
  • Added AudioAsset class for loading, inspecting, and sharing audio.
  • Added MediaRecorder class to consolidate working with recorders.
  • Added MediaFormat enumeration for identifying and working with media formats.
  • Added AudioDevice.Discover static method for discovering available microphones.
  • Added CameraDevice.Discover static method for discovering available cameras.
  • Added CameraDevice.exposureDuration property to get the current camera exposure duration in seconds.
  • Added CameraDevice.ISO property to get the current camera exposure sensitivity.
  • Added VideoKitProjectSettings class for managing VideoKit settings in the current Unity project.
  • Added VideoKitRecorder.frameRate property for setting the frame rate of recorded GIF images.
  • Added VideoKitRecordButton.recorder property for getting and setting the recorder on which the button acts.
  • Added automatic camera pausing and resuming when app is suspended and resumed in VideoKitCameraManager.
  • Added native sharing support on macOS.
  • Added native sharing support on WebGL for browsers that are WebShare compliant.
  • Fixed VideoKitRecorder.Resolution._240xAuto, _720xAuto, and _1080xAuto constants resulting in incorrect resolutions.
  • Fixed visible artifacts when recording camera that only clears depth or doesn't clear at all (#32).
  • Fixed camera permissions not being requested when calling CameraDevice.CheckPermissions on fresh Android app install.
  • Fixed CameraDevice preview stream being frozen in the Safari browser on macOS.
  • Fixed CameraDevice focus being lost when setting FocusMode.Locked on Android.
  • Fixed mimeType not supported exception when creating a WEBMRecorder in the Safari browser.
  • Fixed std::bad_function_call exception when AudioDevice.StopRunning is called on WebGL.
  • Fixed CommitFrame exception when recording audio to a WAV file with VideoKitRecorder class.
  • Fixed media preview in native share UI not showing when sharing an image or video on Android.
  • Updated VideoKitCameraManager.StartRunning method to return a Task that can be awaited.
  • Updated VideoKitAudioManager.StartRunning method to return a Task that can be awaited.
  • Updated VideoKitRecorder.StartRecording method to return a Task that can be awaited.
  • Updated JPEGRecorder.FinishWriting to return path to all recorded image files separated by Path.PathSeparator character.
  • Refactored IMediaDevice interface to MediaDevice class.
  • Refactored MediaDeviceCriteria class to MediaDeviceFilters.
  • Refactored DeviceLocation enumeration to MediaDevice.Location.
  • Refactored PermissionStatus enumeration to MediaDevice.PermissionStatus.
  • Refactored VideoKitCameraManager.Capabilities.MachineLearning enumeration member to Capabilities.AI.
  • Removed IMediaRecorder interface. Use MediaRecorder class instead.
  • Removed MP4Recorder class. Use MediaRecorder.Create with MediaFormat.MP4 instead.
  • Removed HEVCRecorder class. Use MediaRecorder.Create with MediaFormat.HEVC instead.
  • Removed GIFRecorder class. Use MediaRecorder.Create with MediaFormat.GIF instead.
  • Removed WAVRecorder class. Use MediaRecorder.Create with MediaFormat.WAV instead.
  • Removed WEBMRecorder class. Use MediaRecorder.Create with MediaFormat.WEBM instead.
  • Removed JPEGRecorder class. Use MediaRecorder.Create with MediaFormat.JPEG instead.
  • Removed MediaDeviceQuery class. Use AudioDevice.Discover and CameraDevice.Discover methods.
  • Removed SharePayload class. Use MediaAsset.Share method instead.
  • Removed SavePayload class. Use MediaAsset.SaveToCameraRoll method instead.
  • Removed AudioSpectrumOutput class.
  • Removed IEquatable interface inheritance from MediaDevice class.
  • Removed AudioDevice.Equals method as audio devices no longer define a custom equality method.
  • Removed CameraDevice.Equals method as camera devices no longer define a custom equality method.
  • Removed VideoKitRecorder.frameDuration property. Use VideoKitRecorder.frameRate property instead.
  • Removed VideoKitRecorder.Format enumeration. Use MediaFormat enumeration instead.
  • Removed VideoKitRecordButton.OnTouchDown event.
  • Removed VideoKitRecordButton.OnTouchUp event.
  • Updated top-level namespace from NatML.VideoKit to VideoKit.
  • VideoKit now requires iOS 13+.
  • VideoKit now requires macOS 11+.