Re: [webrtc-pc] Clarify or fix racy peerIdentity validation failure (#2148)

@jan-ivar What is the correct approach as defined in this and/or the identity repository to set `peerIdentity` for the purpose of `MediaStreamTrack`s not being set to `"remote  "` and "isolated", where `MediaRecorder` throws a security error? Both `PeerConnection` streams are local. Read https://www.w3.org/TR/webrtc-identity/#dom-rtcidentityassertion, https://github.com/web-platform-tests/wpt/edit/master/.well-known/idp-proxy/mock-idp.js, the first test at http://w3c-test.org/webrtc-identity/RTCPeerConnection-peerIdentity.html fails. Is that expected? Also tried `await pc.peerIdentity` though the `Promise` was pending without being settled. Have not been able to perform the complete procedure due to lack of complete examples, or even verification that the specification is implemented. The context is attempting to utilize `replaceTrack()` to concatenate `MediaStreamTracks`, audio and video, played back at `<video>` with different `src`s set and captured with `.captureStream()` into a single file with `MediaRecorder`  https://bugzilla.mozilla.org/show_bug.cgi?id=1542616

-- 
GitHub Notification of comment by guest271314
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2148#issuecomment-481197758 using your GitHub account

Received on Tuesday, 9 April 2019 10:35:49 UTC