[webrtc-pc] Clarify that remote tracks have a unique ID (#3084)

youennf has just created a new issue for https://github.com/w3c/webrtc-pc:

== Clarify that remote tracks have a unique ID ==
The spec says that `Note that the track.id is generated by the [user agent](https://w3c.github.io/webrtc-pc/#dfn-user-agent) and does not map to any track IDs on the remote side.`

The get-user media-spec says that:
1. `[[Id]], initialized to a newly generated unique identifier string. See [MediaStream](https://w3c.github.io/mediacapture-main/#dom-mediastream).[id](https://w3c.github.io/mediacapture-main/#dom-mediastream-id) attribute for guidelines on how to generate such an identifier.`
2. `A good practice is to use a UUID [[rfc4122](https://w3c.github.io/mediacapture-main/#bib-rfc4122)], which is 36 characters long in its canonical form.`

Should we update the spec to say something like:
`Note that the track.id is a unique identifier string generated by the [user agent](https://w3c.github.io/webrtc-pc/#dfn-user-agent) and does not map to any track IDs on the remote side.`

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/3084 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 6 November 2025 07:53:46 UTC