<h3 dir="auto">Preflight Checklist</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://www.github.com/electron/electron/issues">issue tracker</a> for a feature request that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Electron Version</h3>
<p dir="auto">13.1.2</p>
<h3 dir="auto">What operating system are you using?</h3>
<p dir="auto">Windows</p>
<h3 dir="auto">Operating System Version</h3>
<p dir="auto">Windows 10 20H2</p>
<h3 dir="auto">What arch are you using?</h3>
<p dir="auto">x64</p>
<h3 dir="auto">Last Known Working Electron version</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">I want to create a voice chat with the electron framework. For testing pureposes I created the Simple-peer /webrtc voice-chat as a website. The connection between the Browser instances works.</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">As soon as I start accessing the exact same website in Electron ( with <code class="notranslate">mainWindow.loadURL</code> or copy and pasting the code and adjusting some urls) It throws there errors:</p>
<blockquote>
<p dir="auto">[4712:0611/224806.608:ERROR:audio_rtp_receiver.cc(95)] AudioRtpReceiver::OnSetVolume: No audio channel exists.</p>
</blockquote>
<blockquote>
<p dir="auto">[4712:0611/224846.392:ERROR:stun_port.cc(96)] Binding request timed out from 192.168.2.x:52325 ({653D86EF-2890-4553-8A92-A3CB302B2D3A})</p>
</blockquote>
<p dir="auto">Amazingly, the connection works when the Electron App gets the calls but now when Electron tries to call other peers.</p>
<h3 dir="auto">Testcase Gist URL</h3>
<p dir="auto"><a href="https://gist.github.com/PxlLoewe/7a2ff3a3577be27533cd12a6d87e8dde">https://gist.github.com/PxlLoewe/7a2ff3a3577be27533cd12a6d87e8dde</a></p>
<h3 dir="auto">Additional Information</h3>
<p dir="auto"><em>No response</em></p>
<ul dir="auto">
<li>Electron version: 1.4.15, 1.6.2, 1.6.7</li>
<li>Operating system: Win, Mac</li>
</ul>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">User should join WebRTC session without errors</p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">Can't join WebRTC session. Following error occurred:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[30112:0628/135434.057507:ERROR:stunport.cc(89)] Binding request timed out from 10.6.228.x:63096 (en0)
[30112:0628/135434.057557:ERROR:stunport.cc(89)] Binding request timed out from 10.6.228.x:56245 (en0)
[30112:0628/135434.057587:ERROR:stunport.cc(89)] Binding request timed out from 10.6.228.x:52191 (en0)
[30112:0628/135434.059149:ERROR:stunport.cc(89)] Binding request timed out from 10.6.228.x:55994 (en0)
[30112:0628/135434.060118:ERROR:stunport.cc(89)] Binding request timed out from 10.6.228.x:64240 (en0)"><pre class="notranslate"><code class="notranslate">[30112:0628/135434.057507:ERROR:stunport.cc(89)] Binding request timed out from 10.6.228.x:63096 (en0)
[30112:0628/135434.057557:ERROR:stunport.cc(89)] Binding request timed out from 10.6.228.x:56245 (en0)
[30112:0628/135434.057587:ERROR:stunport.cc(89)] Binding request timed out from 10.6.228.x:52191 (en0)
[30112:0628/135434.059149:ERROR:stunport.cc(89)] Binding request timed out from 10.6.228.x:55994 (en0)
[30112:0628/135434.060118:ERROR:stunport.cc(89)] Binding request timed out from 10.6.228.x:64240 (en0)
</code></pre></div>
<p dir="auto"><strong>NOTE:</strong><br>
Error seems to be sporadic: 2-3/10 times notices. 7-8 sessions started successfully.</p>
<p dir="auto">Beside it there are a couple of others error related to the WebRTC session:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[30112:0628/135422.618236:ERROR:rtpreceiver.cc(61)] AudioRtpReceiver::OnSetVolume: No audio channel exists.
[30112:0628/135424.551040:ERROR:audio_send_stream.cc(90)] Failed to set up send codec state."><pre class="notranslate"><code class="notranslate">[30112:0628/135422.618236:ERROR:rtpreceiver.cc(61)] AudioRtpReceiver::OnSetVolume: No audio channel exists.
[30112:0628/135424.551040:ERROR:audio_send_stream.cc(90)] Failed to set up send codec state.
</code></pre></div>