ITADN

WebRTC ICE connection fails immediately (checking → failed) on Python SDK (worked previously)

#2177Openaniforatos 创建于 2026-03-29
bug
A
aniforatoscommented
### Search before asking - [x] I have searched the Inference [issues](https://github.com/roboflow/inference/issues) and found no similar bug report. ### Bug Hello all, any help on this issue would be great, I am running out of ideas. I originally posed this as a question but believe this is a bug (https://github.com/roboflow/inference/issues/2176) I am encountering consistent WebRTC connection failures using the Python inference-sdk streaming API. This setup previously worked without issue, and no intentional changes were made to my code or network configuration. The failure occurs during ICE negotiation and never progresses to a stable connection. The session transitions from checking → failed almost immediately. Another datapoint: I can run this just fine if I am leveraging a local inference server. This issue persists across: multiple networks (home LAN, direct router connection, mobile hotspot) different RTSP sources (including Roboflow demo RTSP) different configurations (including increased processing_timeout) At this point, it appears to be either: a regression in the WebRTC client stack (inference-sdk / aiortc / aioice) or a backend-side change affecting WebRTC session establishment ### Environment NVIDIA Jetson (Jetpack 6) aioice==0.10.2 aiortc==1.14.0 av==14.2.0 inference-sdk==1.2.0 pillow-avif-plugin==1.5.5 ### Minimal Reproducible Example ```from inference_sdk import InferenceHTTPClient from inference_sdk.webrtc import RTSPSource, StreamConfig client = InferenceHTTPClient.init( api_url="https://serverless.roboflow.com", api_key="YOUR_API_KEY" ) source = RTSPSource("rtsp://demo.roboflow.com:8554") config = StreamConfig( stream_output=[], data_output=["predictions"], processing_timeout=3600, requested_plan="webrtc-gpu-medium", requested_region="us" ) session = client.webrtc.stream( source=source, workflow="detect-count-and-visualize-4", workspace="vigilare-ai", image_input="image", config=config ) @session.on_data() def on_data(data, metadata): print("received data") session.run() ### Additional _No response_ ### Are you willing to submit a PR? - [ ] Yes I'd like to help by submitting a PR!
0 条评论