v0.59.1

roboflow/inferencev0.59.1Oct 31, 2025by grzegorz-roboflow

AI Summary

This release introduces hosted WebRTC support for real-time video streaming, adds RLE format support for SAM2, and includes various bug fixes for segmentation models and documentation.

Key Highlights

  • Added 'hosted webrtc' feature for processing video streams with real-time preview.
  • Added RLE format support to SAM2 and a Seg preview workflow block.
  • Deprecated Claude 3.5 in favor of Claude 4.5.
  • Fixed RFDetr segmentation issues and various core library bugs.

New Features

  • WebRTC video streaming support
  • RLE format support for SAM2
  • Seg preview workflow block
  • Claude 4.5 integration
  • RFDetr Segmentation fixes

Full Release Notes

# 💪 Added

## 📺 hosted webrtc
**Thanks to @grzegorz-roboflow we have a great news 🔥** 

With this release of inference it is now possible to easily process video streams over webrtc with inference!

We prepared example script to showcase how to process streams from your python scripts. Start inference server, and then stream web-cam in order to start processing the stream and to see live preview produced by inference:

```bash
python examples/webrtc/webrtc_worker.py \
    --workspace-id="<your workspace>" \
    --workflow-id="<your workflow id>" \
    --api-key="<your API key>" \
    --inference-server-url="http://127.0.0.1:9001" \
    --realtime
```
Locally stored files can also be streamed and processed:
```bash
python examples/webrtc/webrtc_worker.py \
    --workspace-id="<your workspace>" \
    --workflow-id="<your workflow id>" \
    --api-key="<your API key>" \
    --inference-server-url="http://127.0.0.1:9001" \
    --source "/path/to/file.mp4" \
    --realtime
```

The processing can be performed on [Modal](https://modal.com/docs) simply export `WEBRTC_MODAL_TOKEN_ID` and `WEBRTC_MODAL_TOKEN_SECRET` with your credentials, and `inference` takes care of creating `Modal app` and processing stream on `Modal` function. All aspects of `Modal` execution are controlled through environmental variables. On-demand stream processing on `CPU` or `GPU` is extremely easy with this feature!

The feature is also available through our app https://app.roboflow.com:

<div align="center">
<img width="65%" alt="image" src="https://github.com/user-attachments/assets/f650e0d7-8a92-4fdb-a9d4-331f788fcbfd" />
</div>

Check out details https://github.com/roboflow/inference/pull/1612

## Other new features
* Add RLE format support to SAM2 by @lrosemberg in https://github.com/roboflow/inference/pull/1651
* Seg preview workflow block by @hansent in https://github.com/roboflow/inference/pull/1647

# 🔧 Fixed
* Fix assertion in platform tests by @PawelPeczek-Roboflow in https://github.com/roboflow/inference/pull/1644
* Fix base detection docstrings default confidence and IOU by @dagleaves in https://github.com/roboflow/inference/pull/1660
* Fix ModelConfig incorrect confidence environment variable by @dagleaves in https://github.com/roboflow/inference/pull/1659
* Fix image dimensions in detections stitch block output by @brunopicinin in https://github.com/roboflow/inference/pull/1654
* Claude 3.5 is deprecated as of 28th of October 2025, replacing with Claude 4.5 by @grzegorz-roboflow in https://github.com/roboflow/inference/pull/1668

# 🏡 Maintenance
* Healthz and Readiness should not be authed by @bigbitbus in https://github.com/roboflow/inference/pull/1650

# 🥼 inference-experimental
* Add RFDetr Segmentation to inference-exp by @PawelPeczek-Roboflow in https://github.com/roboflow/inference/pull/1645
* Loose RFDetr Seg integration tests assertions for ONNX which seems to be quite numerically unstable by @PawelPeczek-Roboflow in https://github.com/roboflow/inference/pull/1646
* Fix assertions in RFDetr segmentation by @PawelPeczek-Roboflow in https://github.com/roboflow/inference/pull/1649
* Add fixes for TRT error handling by @PawelPeczek-Roboflow in https://github.com/roboflow/inference/pull/1665
* Bump version of `inference-exp` by @PawelPeczek-Roboflow in https://github.com/roboflow/inference/pull/1653
* TRT inplementation for more models by @PawelPeczek-Roboflow in https://github.com/roboflow/inference/pull/1666
* Fix issue with inference resolution not denoted correctly in RFDetr by @PawelPeczek-Roboflow in https://github.com/roboflow/inference/pull/1667


**Full Changelog**: https://github.com/roboflow/inference/compare/v0.59.0...v0.59.1