sequenceDiagram
participant wc as WHIP Client
participant ws as WHIP Server
wc->>+ws: OPTIONS /whip/endpoint/stream1
ws-->>wc: HTTP Response with headers and optional Link header containing ICE servers
wc->>ws: POST /whip/endpoint/stream1 with SDP Offer
ws-->>wc: HTTP Response with SDP Answer with candidates and Location header "/whip/resource/stream1"
ws-->>wc: 201 Created
wc->>ws: PATCH /whip/resource/stream1 with ICE fragments
ws-->>wc: 204 No Content
sequenceDiagram
participant wc as WHIP Client
participant ws as WHIP Server
wc->>+ws: OPTIONS /whip/endpoint/stream1
ws-->>wc: HTTP Response with headers and optional Link header containing ICE servers
wc->>ws: POST /whip/endpoint/stream1 with SDP Offer with candidates
ws-->>wc: HTTP Response with SDP Answer with candidates and Location header "/whip/resource/stream1"
ws-->>wc: 201 Created