You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I know the socket works and the library works.
I am getting an error on line 8401 ish,
The try catch fails
try {
that.log('Connecting to peer');
const {
peer
} = await that.signalClient.connect(peerID, that.roomId, that.peerOptions);
that.videoList.forEach(v => {
if (v.isLocal) {
that.onPeer(peer, v.stream);
}
});
} catch (e) {
that.log('Error connecting to peer');
}
The object in the frontend says connection timed out.
I do see packets on my coturn server when using tcpdump
i am just lost as to where to look now
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi
I have been trying to get this library to work for a while now.
I am able to get it working using multiple devices on the same LAN.
I am hosting the socket server myself and its using https,
The socket connects and when on the same LAN video calls work.
I just cannot get the STUN/TURN to work.
I have tried multiple things, I am unforunately not clever enough to fork this project and get more verbose info
I have set up a data object
peerOptions: {
config: {
iceServers: [
{
urls: 'stun::3478',
username: "user",
credential: "pass"
},
{
urls: 'turn::3478',
username: "user",
credential: "pass"
},
]
},
<vue-webrtc ref="webrtc"
width="100%"
:roomId="roomId"
:socket-u-r-l="'mysocketserver:3000'"
:enableLogs="true"
v-bind:peer-options="peerOptions"
v-on:joined-room="logEvent"
v-on:left-room="logEvent"
v-on:opened-room="logEvent"
v-on:share-started="logEvent"
v-on:share-stopped="logEvent"
@error="onError" />
Beta Was this translation helpful? Give feedback.
All reactions