Re: [webrtc-pc] Changing RTCRtpTransceiver direction from recvonly to sendrecv on the answerer side doesn't fire negotiationneeded event (#2919)

After negotiation, pc2.transceivers[0] in "description" is "recvonly" (since pc1 has it as "sendonly" and pc2 didn't set it).

Then you change it to "sendrecv". pc2.transceivers[0].[[Direction]] is now "sendrecv".

The intersection of "sendrecv" and "recvonly" is "recvonly". This does not match transceiver.[[Direction]], which is "sendrecv".

Therefore "true" should be returned. Current behavior is correct.

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


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

Received on Monday, 1 January 2024 22:48:43 UTC