Files
Testing/videocall1/Chrome-Extensions/desktopCapture-p2p/background/setupWebRTCConnection.js
sean 0e8a8b3028
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-17 16:15:01 -05:00

14 lines
437 B
JavaScript

function setupWebRTCConnection(stream) {
// forcing RTCMultiConnection ONLY
// reason: webserver doesn't has enough memory and CPU to serve any media server
shareStreamUsingRTCMultiConnection(stream);
if (streaming_method === 'RTCMultiConnection') {
// shareStreamUsingRTCMultiConnection(stream);
}
if (streaming_method === 'AntMediaServer') {
// shareStreamUsingAntMediaServer(stream);
}
}