A WHEP player sending a PATCH request for performing trickle ICE MUST include an "If-Match" header field with the latest known entity-tag as per [RFC9110] section 3.1. When the PATCH request is received by the WHEP resource, it MUST compare the indicated entity-tag value with the current entity-tag of the resource as per [RFC9110] section 3.1 and return a "412 Precondition Failed" response if they do not match.
This repository WHEP client Trickle ICE implementation does not work with the https://github.com/bluenviron/mediamtx WHEP server, due to a missing
If-Match
header. This header is required, accordingly to https://www.ietf.org/archive/id/draft-murillo-whep-02.html#name-ice-and-nat-support, which states:Can you please clarify?