Repository navigation
Releases
Releases · andreialecu/react-native-webcodecs
v0.2.0
0.2.0 (2026-11-26)
Features
- add VideoFrame.nativeBufferColorSpace, on react-native-webgpu 0.26.0 (6c21300), closes wcandillon/react-native-skia#4510 wcandillon/react-native-webgpu#643
- android: decoded frames take the stream's color space where the config has none (68f8e5b)
v0.1.3
0.1.3 (2026-11-25)
Bug Fixes
- android: put out a GOP that goes back in time after the one before it (e0eb929)
- example: load the export's sound in Android release builds (0cd1af8)
- ios: decode AAC from its AudioSpecificConfig, ADTS, and restart the AudioDecoder on flush (b78c863), closes #3 #2 #10 #2
- ios: decode from a CRA or recovery point, drain the reorder buffer when a key frame goes back in time (5c3e02a)
- ios: forward bitrateMode, refuse quantizer, and tag the range the encoder writes (05e9063)
- ios: keep small AAC packets alive while the AudioConverter reads them (d8f2742)
- ios: pin a wrapped surface's use count until the frame is closed (99d3aa6)
- ios: start an AudioDecoder over on flush with a new AudioConverter (9cb6fd4)
v0.1.2
0.1.2 (2026-11-24)
Bug Fixes
- android: a video codec that fails is stopped, so the GL thread is not left blocked (915842a)
- android: AAC encoder keeps its last frames and times them by frame count (b7e89f0)
- android: an encoder that takes the size as asked beats hardware read leniently (review) (ab31f00)
- android: ask the AAC encoder for LC through "profile" too (a2e5a2d)
- android: AudioDecoder.flush() queues no end of stream with nothing fed (41d1f21)
- android: AudioEncoder.flush() with nothing encoded outputs nothing (40889ab), closes #1
- android: bound the wait on a frame's GPU fence, and fail the frame when it never signals (f7a808f)
- android: clear the encoder's window surface before drawing each frame (9276b1e)
- android: convert odd-width and odd-height HDR frames to P010 without overflowing (8f1bb57)
- android: decoded frames have the picture's size, and the encoder samples only that (447571a)
- android: decoded frames report "NV12" whatever the decoder's 4:2:0 layout (e589d16)
- android: encode every frame when timestamps repeat or go backwards (df2c890)
- android: encode() of a wrapped surface returns at once when its frame is not drawn (review) (8cda813)
- android: encode() returns once a wrapped surface's frame has been read (37cfb1f)
- android: fail an HDR frame whose GPU fence does not signal, before locking it (fdea0b0)
- android: fall back to a window-only EGL config, and check the pbuffer (47cd026)
- android: files in the user's cache directory, decoded file:// URLs, parent directories created (0624a00)
- android: flush ends when every frame came out, with no fixed timeout (ebdfecf)
- android: let the frames drawn come out before ending a short encode (7dd9e2f)
- android: odd sizes are not read aligned up by isConfigSupported (review) (d5c3738)
- android: pick the video decoder by name, honouring hardwareAcceleration (f4d8ed2)
- android: prefer a hardware encoder that takes the config over a software one (5f0035e)
- android: put requested key frames on the frame asked for (9770b51)
- android: read encoder sizes leniently: aligned, swapped, and 1080p/2160p by CamcorderProfile (130bd20), closes #6551
- android: refuse an RGBA16F surface pool the device cannot make CPU-readable (457e24d)
- android: set the H.264 level with the profile, and drop the profile on its own (18ec1b2)
- android: size the video decoder from the SPS when the config has none (6eadfdb)
- android: stop a failed video codec only where no buffer is in use (review) (c9d85ee)
- android: take FDK's AAC encoder by name, and trim its delay only (e2fcfc0)
- android: the default bitrate is clamped into the encoder's range (a4e4587), closes #2208
- android: the frame rate and bitrate are hints, not encoder requirements (f9d823a)
- android: the video decoder asks its surface not to drop pictures (8e148c0)
- android: the video decoder waits for input while JS holds every frame (3c44cd6)
- android: try the next encoder when one refuses every configure, and say why (32b96c7)
- android: video encoder outputs every frame, and cleans up when it cannot start (9ec348d)
- android: VideoDecoder.flush() with nothing queued queues no end of stream (ff5fa41)
- android: VideoEncoder.close() lets go of the codec before it returns (0f2519b)
- codecs: no hung flush, stale outputs or open native codecs (bc392b4)
- ios: AudioEncoder starts a new timeline after flush (e11eef0)
- ios: AudioEncoder.flush() with nothing encoded outputs nothing (7799da4)
- ios: VideoDecoder outputs frames in presentation order (1cb8e30)