Jitsi Meet IFrame Transferable Streams

Hello,
I have been experimenting with my own jitsibuild to integrate into my app specifically the e2ee part however when I launch the iframe and call the isInsertableStreamsSupported Method inside the iframe it returns false on my build but true on the prod jitsibuild it crashes in the window,postMessage(stream, '*", [stream]) as it rejects stream as. a transferable property as elaborated in the next code snippet
supportsInsertableStreams() {
if (!(typeof window.RTCRtpSender !== ‘undefined’
&& (window.RTCRtpSender.prototype.createEncodedStreams
|| window.RTCRtpSender.prototype.createEncodedVideoStreams))) {
return false;
}

// Feature-detect transferable streams which we need to operate in a worker.
// See https://groups.google.com/a/chromium.org/g/blink-dev/c/1LStSgBt6AM/m/hj0odB8pCAAJ
const stream = new ReadableStream();

try {
    window.postMessage(stream, '*', [ stream ]);

    return true;
} catch {
    return false;
}

}

I get the following error code
VM298:1 Uncaught TypeError: Failed to execute ‘postMessage’ on ‘Window’: Value at index 0 does not have a transferable type.
at :1:8

Has Jitsi figured out a way around this or am I just doing something wrong since when i call the same method in the chrome browser it also returns false