This commit is contained in:
parent
c9feff7224
commit
0a8015528d
@ -17,8 +17,8 @@ const ICE_SERVERS: RTCIceServer[] = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
export const useMediasoup = createGlobalState(() => {
|
export const useMediasoup = createGlobalState(() => {
|
||||||
const socket: Socket = io('https://api.koptilnya.xyz', {
|
const socket: Socket = io('https://api.koptilnya.xyz/webrtc', {
|
||||||
path: '/chad/ws/webrtc',
|
path: '/chad/ws',
|
||||||
transports: ['websocket'],
|
transports: ['websocket'],
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -100,7 +100,6 @@ export const useMediasoup = createGlobalState(() => {
|
|||||||
kind,
|
kind,
|
||||||
rtpParameters,
|
rtpParameters,
|
||||||
})
|
})
|
||||||
|
|
||||||
// callback({ producerId })
|
// callback({ producerId })
|
||||||
}
|
}
|
||||||
catch (err) {
|
catch (err) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user