This commit is contained in:
boufni95 2025-01-29 17:56:41 +00:00
parent 6351685165
commit d25450e022

View file

@ -6,7 +6,7 @@ import * as Types from '../../../proto/autogenerated/ts/types.js'
import { NostrSend, SendData, SendInitiator } from "../nostr/handler.js" import { NostrSend, SendData, SendInitiator } from "../nostr/handler.js"
import { encodeTLbV, encodeTLV, encodeTLVDataPacket } from '../helpers/tlv.js' import { encodeTLbV, encodeTLV, encodeTLVDataPacket } from '../helpers/tlv.js'
type IceCandidate = { type: string, candidate?: string, sdpMid?: string, sdpMLineIndex?: number } type IceCandidate = { type: string, candidate?: string, sdpMid?: string, sdpMLineIndex?: number }
const configuration = { 'iceServers': [{ 'urls': 'relay.webwormhole.io' }] } const configuration = { 'iceServers': [{ 'urls': 'stun:relay.webwormhole.io' }] }
type UserInfo = { userPub: string, appId: string } type UserInfo = { userPub: string, appId: string }
export default class webRTC { export default class webRTC {
private storage: Storage private storage: Storage