This commit is contained in:
2025-05-15 05:20:01 +03:00
parent 623521f3b4
commit 21a05dd202
70 changed files with 4663 additions and 161 deletions

View File

@@ -0,0 +1,14 @@
import axios from "../http-client"
import type { Uuid } from "../types"
export async function test(channel_id: Uuid, sdp: RTCSessionDescriptionInit) {
const response = await axios.post(`/voice/${channel_id}/connect`, {
sdp: sdp
})
return response.data.sdp as RTCSessionDescriptionInit
}
export default {
test
}