annel = new Promise(resolve => {
        remotePc.addEventListener('datachannel', (event) => {
            resolve(event.channel);
        });
    });

    const localDataChannel = localPc.createDataChannel('test');

    localPc.addEventListener('icecandidate', event => {
        if (event.candidate)
            remotePc.addIceCandidate(event.candidate);
    });
    exchangeOfferAnswer(localPc, remotePc);

    const remoteDataChannel = await promiseDataChannel;

    localDataChannel.send("test");

    await