v2: send the offer directly from onRenegotiationNeeded, as in development

03d7b86 routed onRenegotiationNeeded through requestRenegotiation(). With
a6ae18b folding the initial camera into the first offer and deferring
capture renegotiation, development keeps the direct sendLocalDescription()
here; match it to keep the diff against development minimal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Arseny271andClaude Opus 5.5 committed 2026-10-22 18:42:06 +04:00
1 parent 82d0bb7fe5
commit 0dd2abea38
1 file changed
+1 -1
+1 -1
View File
@@ -557,7 +557,7 @@ public:
if (strong->_didBeginNegotiation) {
if (strong->_encryptionKey.isOutgoing || strong->_peerConnection->remote_description()) {
strong->requestRenegotiation();
strong->sendLocalDescription();
}
} else {
RTC_LOG(LS_INFO) << "onRenegotiationNeeded: not sending local description";