This commit is contained in:
boufni95 2025-01-29 17:54:02 +00:00
parent 7dc6cffd1d
commit 6351685165

View file

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