Releases: CyberAgentGameEntertainment/InstantReplay
Releases · CyberAgentGameEntertainment/InstantReplay
v1.4.2
v1.4.1
v1.4.0
Breaking Changes
- Minimum Android API level is raised to 26 (8.0).
- Added an assembly
UniEnc.Unitycontaining Unity-specific extensions forUniEnc.
UniEnc.SharedBuffer
- Type parameter is added:
SharedBuffer<T> where T : unmanaged, IDisposable - Removed:
public NativeArray<byte> NativeArray { get; } - Removed:
public Span<byte> Span { get; } - Added:
public T Value { get; }
UniEnc.SharedBufferPool
- Moved to
UniEnc.Unity.SharedBufferPoolExtensions:- Old:
public unsafe bool TryAlloc(nuint size, out SharedBuffer buffer); - New:
public static bool TryAllocAsNativeArray(this SharedBufferPool self, nuint size, out SharedBuffer<NativeArrayWrapper> buffer);
- Old:
UniEnc.EncodingSystem
- Removed:
public unsafe ValueTask<BlitTargetHandle> BlitAsync(CommandBuffer cmd, Texture source, uint destWidth, uint destHeight, bool flipVertically)- Use
UniEnc.Unity.VideoEncoderExtensionsinstead:public static ValueTask PushFrameAsync(this VideoEncoder encoder, Texture source, double timestamp);
- Use
What's Changed
Added
- Added readback-free encoding pipeline for Android (Vulkan).
- Added
UnboundedRecordingSessionto record without duration limit.
Fixed
- Fixed
libunienc.dylibis not imported for Apple Silicon macOS Player builds.
PRs
- Readback-free encoding for Vulkan Android by @ruccho in #70
- fix libunienc is not imported for Apple Silicon macOS players by @ruccho in #78
- Add UnboundedRecordingSession by @ruccho in #52
- Publish UniEnc as a NuGet package by @ruccho in #76
- bump to v1.4.0 by @ruccho in #79
Full Changelog: v1.3.1...v1.4.0
v1.3.1
What's Changed
Fixed
- Fixed no frames are recorded when "load on startup" option for
libunienc.dylibis ignored accidentally on macOS Editor. - Fixed recorded video becomes brighter or darker than the original with gamma workflow.
PRs
- Improve reliability of plugin initialization by @ruccho in #71
- Support gamma workflow by @ruccho in #72
- bump to v1.3.1 by @ruccho in #73
Full Changelog: v1.3.0...v1.3.1
v1.3.0
What's Changed
Added
- Added readback-free encoding pipeline for iOS and macOS to reduce latency and memory usage.
- Added
RealtimeEncodingOptions.ForceReadbackto disable readback-free encoding pipeline.
PRs
Full Changelog: v1.2.2...v1.3.0
v1.2.2
What's Changed
Fixed
- Fixed
CriAudioSampleProvidercauses race condition. - Fixed
UnityEngine.ImageConversion.EncodeToJPG()doesn't work on iOS when Instant Replay is installed.
PRs
- Force CriAudioSampleProvider single threaded by @ruccho in #66
- Remove turbojpeg by @ruccho in #67
- bump to v1.2.2 by @ruccho in #68
Full Changelog: v1.2.1...v1.2.2
v1.2.1
What's Changed
Fixed
- Fixed
CriAudioSampleProviderdrops audio samples when frame rate is low. - Fixed
AudioTemporalAdjustercauses audio glitches when timestamp jumps.
PRs
- Fix CRI audio is corrupted when frame rate is low by @ruccho in #64
- bump to v1.2.1 by @ruccho in #65
Full Changelog: v1.2.0...v1.2.1
v1.2.0
What's Changed
Added
- Added
RealtimeEncodingOptions.MaxNumberOfRawFrameBuffers, which restricts the maximum concurrent number of raw frame buffers to be encoded. - Added
InstantReplay.ILoggerenabling users to redirect log messages.
Fixed
- Fixed trying to destroy
UnityAudioSampleProviderReceiverthat has already been destroyed. - Fixed iOS app crashes when disposing encoder after entering background.
Changed
- RenderTextures are now named clearly for easier debugging.
AsyncGPUReadbackand related memory allocations are reduced when encoding pipeline stalls.- Internal improvements on code structure of encoding pipelines.
PRs
- Add null check on destroy UnityAudioSampleProviderReceiver by @ruccho in #54
- Pipeline abstraction by @ruccho in #48
- RenderTexture namings by @ruccho in #56
- Back-propagate whether
IPipelineInput<T>will accept incoming value by @ruccho in #59 - Uncompressed frame buffer pool by @ruccho in #60
- unienc: fix crash when dropping invalidated VTCompressionSession on iOS by @ruccho in #61
- bump to v1.2.0 by @ruccho in #62
Full Changelog: v1.1.1...v1.2.0
v1.1.1
What's Changed
Fixed
- Fixed
CriAudioSampleProviderfails ifCriWareInitializerconfigures output sample rate with default value.
PRs
- CriAudioSampleProviderのSamplingRateフォールバック by @AtaruMatsudaira in #53
- bump to v1.1.1 by @ruccho in #55
New Contributors
- @AtaruMatsudaira made their first contribution in #53
Full Changelog: v1.1.0...v1.1.1
v1.1.0
What's Changed
Added
- Added
InstantReplay.Cri.CriAudioSampleProviderto capture audio from CRIWARE.
Changed
- Reduced heap allocations by frames.
PRs
- Reduce by-frame heap allocations by @ruccho in #47
- Support CRI ADX audio input by @ruccho in #50
- Directory restructuring and unused code removal by @ruccho in #49
- bump to v1.1.0 by @ruccho in #51
Full Changelog: v1.0.3...v1.1.0