AUDIO FUCKING WORKS - Test Camera.
This commit is contained in:
@@ -54,7 +54,9 @@ window.addEventListener("load", async () => {
|
||||
function testIndex(rawJson)
|
||||
{
|
||||
const data = typeof rawJson === "string" ? JSON.parse(rawJson) : rawJson;
|
||||
data.sdp = data.sdp.replaceAll("(rn)", "\r\n");
|
||||
if (data.sdp) {
|
||||
data.sdp = data.sdp.replaceAll("(rn)", "\r\n");
|
||||
}
|
||||
handleRtcSignal(JSON.stringify(data));
|
||||
// if (data.type === "rtc_offer") {
|
||||
// handleOffer(data)
|
||||
|
||||
Reference in New Issue
Block a user