Files
sean 343b4a3f3f
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-19 18:32:17 -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);
}
}