brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
sdk-webrtcRoute Roboflow Inference SDK users through InferenceHTTPClient, HTTP configuration and error mapping, workflow and pipeline APIs, and WebRTC streaming sources and session lifecycle.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the user wants to call the Python SDK, configure HTTP requests, choose workflow versus model_id streaming, or stream webcam, video file, RTSP, MJPEG, local RTSP/RTMP, or manual frames through WebRTC.
InferenceHTTPClient.infer, infer_async, infer_from_workflow, run_workflow, or
pipeline lifecycle calls.InferenceConfiguration, inspect HTTPClientMode, or
interpret SDK errors.client.webrtc.stream(...) with WebcamSource,
VideoFileSource, RTSPSource, MJPEGSource, LocalStreamSource, or
ManualSource.on_frame, on_data,
on_error, video(), wait(), or cleanup behavior.inference workflows .... Use
workflow-processing.AutoModel, or model
runtime selection. Use model-runtime.InferenceHTTPClient.init(api_url, api_key) or
InferenceHTTPClient(api_url, api_key) and check client.client_mode
before assuming an endpoint family.client.webrtc.stream(...) for WebRTC sessions. Pass exactly one of
workflow or model_id.workflow= for multi-step workflows, inline workflow specs, or VLM-style
flows. Use model_id= for a single supported model when you want the raw
predictions dict per frame.workflow is a string ID, also provide workspace=. If workflow is a
dict, workspace= is optional.task_type without model_id.data as the raw serialized predictions dict and
check for None.with client.webrtc.stream(...) as session: or call session.close()
explicitly.session.on_error for server-reported per-frame failures; connection or
initialization failures surface as exceptions.session.video() for iterator-style consumption and session.run() for
callback-style consumption.VideoFileSource and WebcamSource are the two bundled examples; adapt them
rather than reopening the source repo.workflow-processing, and
route backend negotiation or AutoModel questions to model-runtime.workflow= versus model_id=?