Skip to content

Releases

Release v1.0.2

Choose a tag to compare

@github-actions github-actions released this 27 Nov 09:08

What's Changed

Important: TLS root store updated in M158

17 root certificates have been removed, including Baltimore, DigiCert G1 and GlobalSign R1. Furthermore, the compromised eMudhra intermediate certificates are being rejected. This may disrupt TURN over TLS (turns:) on servers using these certificate chains.

Features

  • Read the SCTP transport of a peer connection
  • Generate certificates to keep a DTLS fingerprint
  • Choose the RTP header extensions a transceiver negotiates
  • Tell data channel observers when the buffered amount is low
  • Set the jitter buffer target of a receiver
  • Add simulcast and per-layer encodings to the client API

Bug Fixes

  • Play live video whose size comes with the first keyframe
  • Decode G.711 audio from IP cameras

Documentation

  • Add pull request template
  • Add contributing guidelines for webrtc-java
  • Enhance security policy with reporting guidelines

Testing

  • Accept prflx for direct connections in candidate type checks

Miscellaneous Tasks

  • Update CHANGELOG.md for v1.0.2

Other

  • Update WebRTC branch from 8059 to 8127 (M158)

Documentation

Release v1.0.1

Choose a tag to compare

@github-actions github-actions released this 14 Nov 11:37

What's Changed

Features

  • Let the user choose a screen or window in the macOS system picker
  • Capture macOS windows with ScreenCaptureKit, and close the screen capture gaps
  • Hint video tracks as motion, detail or text
  • Support GraalVM native image
  • Check camera, microphone and network before a call
  • Record into rotating segments and keep a replay buffer
  • Reserve ratchet steps in SFrame key IDs
  • Add end-to-end encryption in the SFrame format
  • Add file transfer over data channels
  • Add system audio capture for desktop sharing
  • Send device-captured and pushed audio from one factory
  • Feed device-captured audio to senders through its track
  • Add peer diagnostics and sanitized support reports
  • Add configurable ICE recovery for client peers and HTTP sessions

Bug Fixes

  • Load the native library only once when Logging is used first
  • Report why macOS system audio capture stopped
  • Set up GraalVM with an allowed action
  • Survive the removal of the default PulseAudio device
  • Test segments and replays on a clock of their own
  • Stop untransformed receive paths and preserve executor context
  • Contain decoder-thread exceptions and report rejected media output
  • MediaPlayer decoder and source lifetimes
  • Harden audio blocks, JNI boundaries and channel limits
  • Release codec wrappers and distinguish device failures
  • Skip camera integration tests without libudev
  • Validate I420 planes before native conversion
  • Improve video view buffering and message logging

Documentation

  • Write the guides in shorter sentences
  • Split the client API guide and sort the navigation
  • Update the client API design and check it in the docs build
  • Share a screen with the microphone and system audio
  • Redesign documentation and publish Client API design guide

Testing

  • Write the stale partial file before the offer is accepted
  • Drive the single-file recorder tests with frames and a clock of their own
  • Read the position after a fast seek once a frame has gone out

Miscellaneous Tasks

  • Update CHANGELOG.md for v1.0.1

Documentation

Release v1.0.0

Choose a tag to compare

@github-actions github-actions released this 06 Nov 03:11

What's Changed

Features

  • Choose the release version when dispatching a release
  • Release native objects with try-with-resources
  • Report native objects that were never disposed
  • Move the Swing video view into its own module
  • Let audio sinks take one reused array instead of a new one per chunk
  • Load the native libraries from a given directory or the library path
  • Seek to the keyframe before a position with fastSeek
  • Detect speech natively for local audio tracks
  • Decode video with VA-API on Linux
  • Give WHIP and WHEP errors their status and problem details
  • Expose WHIP/WHEP extensions and detect WHEP endpoints by HEAD
  • Ask for key frames in the client API
  • Encoded frame transforms for WHIP and WHEP
  • Authorize WHIP and WHEP by HTTP Basic
  • Encoded frame transforms in the client API
  • Feed the voice activity example from client API audio
  • Describe WHIP and WHEP errors by their problem details
  • Send WHIP video as simulcast
  • Bound the queue of pushed audio
  • Trickle WHIP/WHEP candidates, take ICE servers from Link, restart ICE
  • Allow plain http for WHIP/WHEP only on loopback
  • Answer WHEP counter-offers
  • Retry WHIP/WHEP offers after Retry-After
  • Limit and measure the client API's handler threads
  • Add a JavaFX camera example
  • Port the media file player example to the client API
  • Add high-level client API

Bug Fixes

  • Keep serial executors running when error reporting fails
  • Honor video rotation metadata and non-square pixels in playback
  • Preserve color metadata during FFmpeg playback
  • Query contributing sources and report linear audio levels
  • Keep retained desktop frames intact and end sources without a backend
  • Bound desktop capture settings and remove a processed frame deadlock
  • Keep codec hashes and MIME types locale independent and avoid camera score overflow
  • Require the core module transitively in webrtc-media
  • Keep TURN credentials intact and settle DTMF tones reliably
  • Release D-Bus references and bound the window frame crop
  • Reject a second desktop capture start and normalize encoded rotation
  • Keep sleep prevented until the last request is released
  • Reject custom audio that WebRTC cannot send
  • Keep secrets of WHIP and WHEP URLs out of failures
  • Close races in stats sampling and the JavaFX view
  • Make media player seeking, position and queue memory reliable
  • Harden track listeners and the media recorder
  • Let a candidate held for its description free the operation chain
  • Turn every C++ exception of a JNI entry point into a Java one
  • Free observers and factories safely while they are still in use
  • Make the Java jars reproducible and check the build's Maven and Java versions
  • Close a peer connection at once while another call still uses it
  • Check every JNI call for exceptions and test under -Xcheck:jni in CI
  • Dispose native objects once and keep them while a call still uses them
  • Release VideoCapture natively, keep its sink and report start errors
  • Make track sinks safe to change from any thread and callback
  • Keep native references until their Java wrapper is created
  • Make decoder QP parsing flag atomic and give up codec calls without a JNI frame
  • Return valid track arrays from MediaStream getters
  • Report certificate expiration and fail library load on init errors
  • Keep strings intact across JNI and bind both AudioResampler initializers
  • Release native references and session descriptions in JNI glue
  • Keep device changes during startup and surface failed device queries
  • Detach closed peers from signaling and report stats per transport
  • Release resources on failed setup, rejected tasks and oversized sends
  • Report end of stream only after the last delivery has returned
  • Deliver player listener calls in order on one event thread
  • Voice activity hangover overflow and rounding
  • Discard expired negotiations and serialize ICE restart cleanup
  • Restart PulseAudio processing threads after reinitialization
  • Bound HTTP response reads and handle overflowing retry dates
  • Seek further back where the reader lands past the keyframe
  • Close a peer only once the control tasks queued before have run
  • Wait for a key frame after a recorder packet fails to allocate
  • Start playback after a seek at the position asked for
  • End a recording cleanly when its writer thread throws
  • Build and test macOS on macos-15 runners
  • Let WHIP and WHEP pick codecs, offer video for audio-only WHIP
  • Share a SyncClock with the custom sources constructed with it
  • Keep DTMF senders alive and observers of other wrappers registered
  • Send WHIP offers sendonly
  • Complete WHEP ICE restart support and harden HTTP sessions
  • Follow the WebRTC constraints of WHIP and WHEP
  • Skip the VP9 interpolation filter test where no hardware decodes VP9
  • Register a handler added from a handler at once, so it sees queued events
  • Send WHIP/WHEP requests with HttpClient, bounded and apart from peer control
  • Stamp custom media pushed without a timestamp on WebRTC's clock
  • Normalize VideoFrame rotation to 0, 90, 180 or 270
  • Native observer and object lifecycles around closing a connection
  • Accept custom frame buffers in VideoFrame.copy() and pushFrame()
  • Check strides and plane sizes of custom I420 buffers before copying them
  • Return no remote certificates before the DTLS handshake
  • Send pushed audio from a thread apart from the timeouts
  • Report Java exceptions from native callbacks in one piece
  • Compute bitrates over report times, report stats handler errors
  • Close an HTTP session's peer and resource independently, and fail on errors
  • Register a camera switch with the runtime and reject it on a closed track
  • Compare the recorded unicode file as a file, not a path, for macOS
  • Report a recording that fails to close, and tell how it ended
  • Pass media paths to FFmpeg as UTF-8
  • Keep local track releases independent of handlers and cancelled futures
  • Cover the remaining native failure paths of the media module
  • Keep C++ exceptions and string pins inside the media JNI layer
  • Round timeouts up and saturate them, so only zero waits without limit
  • Validate signaling JSON and ICE indexes strictly
  • Close a media player from a sink of a track it feeds
  • Reject I420 buffer sizes WebRTC cannot allocate
  • Run queued peer operations after the runtime stopped its timer
  • Keep what a seek decoded at the new position
  • End a WHIP or WHEP start whose future was cancelled
  • Keep WHIP/WHEP session credentials and bound signaling JSON
  • Wait for device switches on close and keep cleared or oversized audio from being sent
  • Wide planar audio, audio timestamp gaps and vanished audio devices
  • Close the peer of a WHIP or WHEP session that fails to start
  • Keep camera ownership consistent and fail switches peers did not take
  • Register a sender once when replaceTrack is given its current track
  • Count AudioConverter sizes over all channels and bound them natively
  • Size YUY2, UYVY and NV12 frames of odd width in whole pixel pairs
  • Settle and release recorder sources of the client API
  • Bound received data channel messages before they are queued
  • Load the native library for classes used on their own
  • Use the 3-parameter QueryCodecSupport overloads
  • Convert only the window between position and limit of a ByteBuffer
  • Bound AudioResampler buffers and keep cropped I420 buffers alive
  • Guard track creation and report failed track releases
  • Harden JNI error handling
  • Harden data channel sends and runtime close
  • Complete futures whose tasks a SerialExecutor drops
  • Harden WHIP/WHEP session setup and teardown
  • Close races in MediaReader.getInfo and WebRtc.createPeer
  • Update logging defaults and smoke test output

Refactor

  • Split PeerImpl along its responsibilities
  • Split operation chain and perfect negotiation out of PeerImpl
  • Rename webrtc-java-media and webrtc-java-javafx directories

Documentation

  • A microphone track hands no audio to sinks
  • List the tools and libraries needed to build from source
  • Group the README features and ship LICENSE and NOTICE in every jar
  • Fix two get-started examples that did not compile

Testing

  • Send the VP9 stream a frame at a time
  • Make three timing-dependent tests deterministic
  • Check the capture time of audio pushed without a timestamp
  • Start recording a client API call once its remote video decodes
  • Make the client concurrency tests deterministic

Miscellaneous Tasks

  • Update CHANGELOG.md for v1.0.0
  • Disable the jni-check job
  • Ignore Linux sysroots downloaded for the WebRTC build

Other

  • Require Java 11
  • Bump vite from 7.3.6 to 7.3.7 in /docs
  • Bump com.fasterxml.jackson.core:jackson-databind

Documentation

Release v0.20.0

Choose a tag to compare

@github-actions github-actions released this 16 Oct 19:49

What's Changed

Features

  • Decode VP9 spatial layers with VA-API by @devopvoid in #388
  • Encode H.264 and H.265 temporal layers with VA-API by @devopvoid in #381
  • Encode VP9 temporal layers with VA-API by @devopvoid in #380
  • Encode AV1 temporal layers with VA-API by @devopvoid in #379
  • Encode AV1 with VA-API on Linux by @devopvoid in #377
  • Decode AV1 with VA-API on Linux by @devopvoid in #376
  • Decode H.264 with VA-API on Linux by @devopvoid in #375
  • Encode VP9 with VA-API on Linux without turning it on by @devopvoid in #374
  • Decode H.265 with VA-API on Linux by @devopvoid in #372
  • Let the audio codecs of a factory be limited and ordered by @devopvoid in #340
  • Report receiver source changes and audio packet infos by @devopvoid in #366
  • Send encoded frames through RTP sender injectors by @devopvoid in #365
  • List the hardware codecs of the hardware video codec factories by @devopvoid in #359
  • Decode H.265 and AV1 with NVDEC on Linux by @devopvoid in #353
  • Encode H.265 and VP9 and decode VP9 with VA-API on Linux, when turned on by @devopvoid in #352
  • Encode VP9 in hardware on Windows, when turned on by @devopvoid in #348
  • Encode and decode H.265 in hardware on Windows by @devopvoid in #347
  • Build WebRTC with H.265 by @devopvoid in #346
  • Decode with Vulkan Video on Linux in the media player by @devopvoid in #345
  • Decode HEVC and AV1 in hardware in the media player by @devopvoid in #331
  • Let a video processor change camera and desktop frames by @devopvoid in #342
  • Add first-packet observers, sender and receiver IDs, and track volume by @devopvoid in #338
  • Add the missing peer connection signaling and control calls by @devopvoid in #334
  • Decode H.264 and VP9 with NVDEC on NVIDIA GPUs on Linux by @devopvoid in #321
  • Decode video in hardware in the media player by @devopvoid in #320
  • Decode VP9 on the GPU with Media Foundation on Windows by @devopvoid in #319
  • Decode VP9 with VideoToolbox on macOS by @devopvoid in #318
  • Add a hardware video decoder factory, with Media Foundation on Windows by @devopvoid in #315
  • Encode AV1 on the GPU with Media Foundation and NVENC by @devopvoid in #314
  • Encode H.264 with VA-API on Intel and AMD GPUs on Linux by @devopvoid in #313
  • Encode H.264 with NVENC on NVIDIA GPUs, on Windows and Linux by @devopvoid in #312
  • Add a hardware video encoder factory, with Media Foundation H.264 by @devopvoid in #310
  • Add custom video codec factories by @devopvoid in #303
  • Map the remaining peer connection configuration fields by @devopvoid in #317
  • Map the remaining sender encoding parameters by @devopvoid in #316

Bug Fixes

  • Restore version and changelog before 0.20.0 release by @devopvoid in #392
  • Map the VP9 interpolation filter to VA-API's order by @devopvoid in #383
  • Write the H.264 and H.265 headers for VA-API drivers that need them by @devopvoid in #371
  • Call network thread observers on a callback thread by @devopvoid in #364
  • Play and record on Windows devices that mix in more than two channels by @devopvoid in #358
  • Capture screens with ScreenCaptureKit on macOS by @devopvoid in #354
  • Mark encoded frames as the end of their temporal unit by @devopvoid in #356
  • Dispose a MediaStream from onAddTrack as a view, and return its ID by @devopvoid in #343
  • Keep camera hotplug and track views from crashing or releasing shared tracks by @devopvoid in #341
  • Stop exceptions from callbacks unwinding through WebRTC by @devopvoid in #335
  • Keep audio device change handling from aborting or corrupting state by @devopvoid in #337
  • Keep exceptions inside the audio device change callbacks by @Yml-0 in #333
  • Fall back from a failed hardware video decoder without losing or damaging pictures by @devopvoid in #329
  • Keep a seek near the end of the source and the position after seeking back by @devopvoid in #328
  • Keep hardware encoders for sources whose first frame has an odd size by @devopvoid in #324

Refactor

  • Let the PeerConnectionFactory own its worker thread by @devopvoid in #355

Documentation

  • Link the unreleased docs from the README and release notes by @devopvoid in #386
  • Note that VP9 cannot be injected by @devopvoid in #385
  • Add icons and links to the home page features by @devopvoid in #384
  • List the hardware codecs in tables by @devopvoid in #378
  • Open the other channel's docs in the same tab by @devopvoid in #382
  • List hardware codecs, video processing and frame injection as features by @devopvoid in #369

Performance

  • Cut the processor time of hardware decoding on Windows by @devopvoid in #326

Testing

  • Play real sizes and formats the GPU refuses in the media player by @devopvoid in #325
  • Cover the lifecycle of hardware decoding in the media player by @devopvoid in #323
  • Check that hardware decoders crop padded frames to the picture by @devopvoid in #322

Miscellaneous Tasks

  • Bump @vue/server-renderer and vue in /docs by @dependabot[bot] in #363
  • Bump source-map-js from 1.2.1 to 1.2.2 in /docs by @dependabot[bot] in #362
  • Publish the docs of the latest release, and main's under /next/ by @devopvoid in #361
  • Send Central credentials again under Maven 3.10 by @devopvoid in #339
  • Bump the github-actions group across 3 directories with 3 updates by @dependabot[bot] in #309
  • Share one platform matrix and deploy snapshots once by @devopvoid in #306
  • Add Dependabot and trim caches and artifacts by @devopvoid in #304
  • Harden the release workflow and keep native caches warm by @devopvoid in #302

Other

Read more

Release v0.19.0

Choose a tag to compare

@github-actions github-actions released this 27 Sep 16:52

What's Changed

Features

  • Add encoded frame transforms and a media recorder by @devopvoid in #300
  • Add a native extension API and an FFmpeg-based media module by @devopvoid in #291

Bug Fixes

  • Repair the release pipeline and publish the media module by @devopvoid in #299
  • Clear the CI build annotations by @devopvoid in #294
  • Take Map method IDs from the interface instead of from HashMap by @devopvoid in #290
  • Keep device-captured audio out of sink-fed audio senders by @devopvoid in #289
  • Give AudioTrackSource a dispose() to release its native reference by @devopvoid in #287

Miscellaneous Tasks

  • Cache the FFmpeg build of the macOS x86_64 target by @devopvoid in #295

Other

  • Sync the WebRTC checkout without git history by @devopvoid in #298
  • Cross compile the macOS x86_64 target natively on Apple Silicon by @devopvoid in #296
  • Build FFmpeg on every platform and make the media module part of the normal build by @devopvoid in #292

Release v0.18.0

Choose a tag to compare

@github-actions github-actions released this 15 Sep 10:00

What's Changed

Features

  • Allow setting custom WebRTC field trials on PeerConnectionFactory by @devopvoid in #284

Bug Fixes

  • Make CustomVideoSource's frame_id_ counter thread-safe by @devopvoid in #286
  • Synchronize CustomAudioSource's sinks_ against AddSink/RemoveSink by @devopvoid in #285
  • JNI memory-safety and thread-safety bugs in the native bridge by @devopvoid in #283

Release v0.17.0

Choose a tag to compare

@github-actions github-actions released this 13 Sep 11:32

What's Changed

Features

Bug Fixes

Documentation

Performance

Testing

Miscellaneous Tasks

Other

Release v0.16.0

Choose a tag to compare

@github-actions github-actions released this 24 Aug 12:38

What's Changed

Other

  • Add Wayland/PipeWire desktop capture support by @B077AS in #261
  • Improve release workflow reliability and artifact management by @devopvoid in #260
  • Refactor release workflows and setup for multi-platform deployment by @devopvoid in #259

New Contributors

Release v0.15.0

Choose a tag to compare

@github-actions github-actions released this 24 Aug 12:38

What's Changed

Features

  • Bridge OnIceSelectedCandidatePairChanged to Java observers by @SendableMetatype in #247
  • Add asynchronous sendAsync to RTCDataChannel by @SendableMetatype in #246
  • Device transport and form factor types by @Stasyanych in #203
  • Add funding information to support development
  • Add legacy AGC1 and update AGC2 in the AudioProcessingConfig by @devopvoid in #205

Bug Fixes

Documentation

  • Add sponsorship link to index page
  • Recreated using VitePress by @devopvoid in #210
  • Add notes on native library classifiers for webrtc-java
  • Reorganize guide links

Testing

Other

  • Update versions of dependencies and plugins by @devopvoid in #257
  • Update WebRTC branch version from 7339 to 7977 (m152) by @SendableMetatype in #249
  • Derive the WebRTC cache branch from the pom and guard deploys by @SendableMetatype in #248
  • Bump org.eclipse.jetty:jetty-server in /webrtc-examples by @dependabot[bot] in #255
  • Bump com.fasterxml.jackson.core:jackson-databind by @dependabot[bot] in #254
  • Bump picomatch from 4.0.3 to 4.0.5 in /docs by @dependabot[bot] in #253
  • Bump rollup from 4.50.0 to 4.59.0 in /docs by @dependabot[bot] in #235
  • Bump vite from 7.1.11 to 7.3.6 in /docs by @dependabot[bot] in #252
  • Bump postcss from 8.5.6 to 8.5.26 in /docs by @dependabot[bot] in #251
  • Bump org.eclipse.jetty:jetty-util in /webrtc-examples by @dependabot[bot] in #250
  • Updates all checkout GitHub Actions to v6 by @maxkratz in #226
  • Bump mdast-util-to-hast from 13.2.0 to 13.2.1 in /docs by @dependabot[bot] in #230
  • Bump vite from 7.1.5 to 7.1.11 in /docs by @dependabot[bot] in #218
  • Update WebRTC branch version from 7204 to 7339 (m140)
  • Bump vite from 7.1.4 to 7.1.5 in /docs by @dependabot[bot] in #211

New Contributors

Release v0.14.0

Choose a tag to compare

@github-actions github-actions released this 28 Aug 09:39

What's Changed

Features

  • Restrict ICE port ranges and control candidate gathering behavior by @devopvoid in #202
  • Push or pull audio frames with a headless audio device module by @devopvoid in #201
  • Add guide for configuring send-only and receive-only media
  • Add the platform classifier to the native library filename by @SnirDecartAI in #194
  • Add VideoBufferConverter.convertToI420 by @SnirDecartAI in #192
  • Add SyncClock for audio and video synchronization support
  • Add CustomVideoSource and related JNI bindings for video frame handling
  • Added a new web-based example
  • Custom audio source that can be provided to audio tracks by @devopvoid in #188

Bug Fixes

  • RTCDtmfSenderTests timeouts
  • Update error handling to stop capturing on permanent errors #186
  • Ensure JNIEnv is properly attached before deleting global reference 146
  • Return a valid NtpTime from SyncClock::GetNtpTime by @SnirDecartAI in #193
  • Release video frame after processing in WHEP example #191
  • Made RTCRtpCodecCapability's int fields optional by @SnirDecartAI in #190

Documentation

  • Add AudioRecorder and AudioPlayer documentation
  • Documentation for VideoBufferConverter
  • Documentation for MediaStreamTrack, VideoBufferConverter, and VideoCapture
  • Add Video Capture guide
  • Add Screen Capturer and Window Capturer guides
  • Add Power Management utility
  • Add Audio Converter guide
  • Add Voice Activity Detector guide
  • Reorganize media guides into categories
  • Add section on disabling audio processing with dummy audio layer
  • Add Custom Video Source guide and update documentation
  • Update example descriptions and add WebClientExample
  • Add Custom Audio Source guide
  • Update asset paths and add a privacy policy by @devopvoid in #187
  • Add camera capture guide
  • Update CHANGELOG.md

Miscellaneous Tasks

  • Add custom video source and generator to the web example

Other

  • Update release workflow to use main branch
  • Update GitHub Actions workflows to use changelog generation
  • Update all GitHub Actions setup-java to v5 by @maxkratz in #200

New Contributors