@dialstack/sdk-dev / webrtc/src / supportsConference
Function: supportsConference()
TypeScript
function supportsConference(): boolean;
Defined in: sdk/webrtc/src/conference.ts:110
Whether this host can mix locally, and so whether merge can be offered.
Needs a DOM as well as WebAudio: each leg reaches the mix through a
keep-alive <audio> element (see renderSilently), so without document
every source node reads silence. Deliberately not an AudioContext probe
alone — react-native-audio-api ships one, which would otherwise offer merge
on React Native, where the WebRTC binding has no track a JS-built mix could
install anyway.
Returns
boolean