This commit is contained in:
boufni95 2025-01-29 15:21:14 +00:00
parent 5655e1692e
commit d11f83b05a

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 { encodeTLV, encodeTLVDataPacket } from '../helpers/tlv.js' import { 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': 'stun.stunprotocol.org:3478' }] } const configuration = { 'iceServers': [{ 'urls': 'stun:stun.l.google.com:19302' }] }
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