mirror of
https://github.com/TelegramMessenger/tgcalls.git
synced 2026-11-18 21:35:28 +00:00
v2: send the offer directly from onRenegotiationNeeded, as in development
03d7b86routed onRenegotiationNeeded through requestRenegotiation(). Witha6ae18bfolding 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:
1 parent
82d0bb7fe5
commit
0dd2abea38
1 file changed
+1
-1
@@ -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";
|
||||
|
||||
Reference in new issue
Block a user