matrix-js-sdk icon indicating copy to clipboard operation
matrix-js-sdk copied to clipboard

VoIp createNewMatrixCall react-native returns null

Open besionisrael opened this issue 5 years ago • 3 comments

I'm implementing audio call in react-native using matrix js sdk, but i'm not able to use createNewMatrixCall, the function call returns null, and I'm not able to listen to event Call.incoming while all others events works perfectly!

Any work around or suggestion to make it work with react native?

besionisrael avatar May 08 '20 01:05 besionisrael

the code looks like:

    const w = global.window;
    const doc = global.document;
    if (!w || !doc) {
        return null;
    }
...

So presumably you don't have a window or document because react-native

t3chguy avatar May 08 '20 11:05 t3chguy

How can I solved this, Is there anything I can do in order to use voip in react native?

besionisrael avatar May 10 '20 17:05 besionisrael

is there any possible answer now for this?

niteshagrawal avatar Sep 20 '24 07:09 niteshagrawal