steep-balloon-41261
08/26/2023, 9:27 AMpowerful-helmet-67358
08/26/2023, 2:55 PMable-gigabyte-21598
08/28/2023, 4:19 PMpowerful-helmet-67358
08/30/2023, 1:43 PM[
{
"sid": "RM_aXQAsRBJLj7M",
"name": "123",
"emptyTimeout": 300,
"maxParticipants": 0,
"creationTime": 1693401193,
"turnPassword": "mocL3Ao4VQeggIfY8il3khPTenUMMrfqL6AUyw57bKED",
"enabledCodecs": [
{
"mime": "audio/opus",
"fmtpLine": ""
},
{
"mime": "audio/red",
"fmtpLine": ""
},
{
"mime": "video/VP8",
"fmtpLine": ""
},
{
"mime": "video/H264",
"fmtpLine": ""
}
],
"metadata": "",
"numParticipants": 1,
"numPublishers": 1,
"activeRecording": false
}
]
this is room 123 participants list
[
{
"sid": "PA_TeaQD7t7LHa3",
"identity": "123",
"state": 2,
"tracks": [
{
"sid": "TR_AMSjHGXCfxVGok",
"type": 0,
"name": "",
"muted": false,
"width": 0,
"height": 0,
"simulcast": false,
"disableDtx": false,
"source": 2,
"layers": [],
"mimeType": "audio/red",
"mid": "0",
"codecs": [],
"stereo": false,
"disableRed": false,
"encryption": 0
},
{
"sid": "TR_VC2hiJUAKXsWj9",
"type": 1,
"name": "",
"muted": false,
"width": 1280,
"height": 720,
"simulcast": true,
"disableDtx": false,
"source": 1,
"layers": [
{
"quality": 0,
"width": 320,
"height": 180,
"bitrate": 160000,
"ssrc": 3941831310
},
{
"quality": 1,
"width": 640,
"height": 360,
"bitrate": 450000,
"ssrc": 3850153617
},
{
"quality": 2,
"width": 1280,
"height": 720,
"bitrate": 1700000,
"ssrc": 3511754551
}
],
"mimeType": "video/VP8",
"mid": "1",
"codecs": [
{
"mimeType": "video/VP8",
"mid": "1",
"cid": "f411e9c6-82eb-41a1-af6d-6eec4b07431b",
"layers": [
{
"quality": 0,
"width": 320,
"height": 180,
"bitrate": 160000,
"ssrc": 3941831310
},
{
"quality": 1,
"width": 640,
"height": 360,
"bitrate": 450000,
"ssrc": 3850153617
},
{
"quality": 2,
"width": 1280,
"height": 720,
"bitrate": 1700000,
"ssrc": 3511754551
}
]
}
],
"stereo": false,
"disableRed": false,
"encryption": 0
}
],
"metadata": "",
"joinedAt": 1693401703,
"name": "",
"version": 6,
"permission": {
"canSubscribe": true,
"canPublish": true,
"canPublishData": true,
"canPublishSources": [],
"hidden": false,
"recorder": false,
"canUpdateMetadata": false
},
"region": "",
"isPublisher": true
}
]
However, the egress container log is as above.. waiting signal -> END RECORDED πable-gigabyte-21598
08/30/2023, 7:40 PMpowerful-helmet-67358
08/31/2023, 1:18 PM23-08-31 20:08:51 2023-08-31T11:08:51.777Z INFO livekit.room rtc/room.go:297 participant state changed {"room": "123", "roomID": "RM_BLq564aZGzHY", "state": "JOINED", "participant": "EG_PkCJ2GqnxczP", "pID": "PA_a6pNsW7N9Q8m", "oldState": "JOINING"}
2023-08-31 20:08:51 2023-08-31T11:08:51.777Z INFO livekit service/rtcservice.go:298 new client WS connected {"room": "123", "roomID": "RM_BLq564aZGzHY", "participant": "EG_PkCJ2GqnxczP", "pID": "PA_a6pNsW7N9Q8m", "remote": false, "connID": "CO_WbFBuz2P6YRR", "reconnect": false, "reconnectReason": "RR_UNKNOWN", "adaptiveStream": false}
2023-08-31 20:08:51 2023-08-31T11:08:51.947Z INFO livekit.pub rtc/participant.go:1556 sending max subscribed quality {"room": "123", "roomID": "RM_BLq564aZGzHY", "participant": "123", "pID": "PA_8Gpwf77L9d2i", "remote": false, "trackID": "TR_VCXSYpY8ozRCpq", "qualities": [{"codec":"vp8","qualities":[{"enabled":true},{"quality":1,"enabled":true},{"quality":2,"enabled":true}]}], "max": [{"CodecMime":"video/VP8","Quality":2}]}
2023-08-31 20:09:06 2023-08-31T11:09:06.811Z INFO livekit service/rtcservice.go:374 exit ws read loop for closed connection {"room": "123", "roomID": "RM_BLq564aZGzHY", "participant": "EG_PkCJ2GqnxczP", "pID": "PA_a6pNsW7N9Q8m", "remote": false, "connID": "CO_WbFBuz2P6YRR", "wsError": "websocket: close 1005 (no status)"}
2023-08-31 20:09:06 2023-08-31T11:09:06.812Z INFO livekit service/rtcservice.go:261 finishing WS connection {"room": "123", "roomID": "RM_BLq564aZGzHY", "participant": "EG_PkCJ2GqnxczP", "pID": "PA_a6pNsW7N9Q8m", "remote": false, "connID": "CO_WbFBuz2P6YRR"}
2023-08-31 20:09:06 2023-08-31T11:09:06.812Z INFO livekit service/rtcservice.go:323 nothing to read from response source {"room": "123", "roomID": "RM_BLq564aZGzHY", "participant": "EG_PkCJ2GqnxczP", "pID": "PA_a6pNsW7N9Q8m", "remote": false, "connID": "CO_WbFBuz2P6YRR"}
2023-08-31 20:09:06 2023-08-31T11:09:06.898Z INFO livekit service/ioinfo.go:92 egress ended {"egressID": "EG_PkCJ2GqnxczP"}
I am inexperienced in configuring nginx ssl and livekit locally,
so I only applied SSL to the '/rtc' path for websocket ssl.
i use nginx to reverse proxy in my local
The nginx config is as follows
server {
listen 443 ssl;
server_name teemo-world.link;
error_log /root/error.log info;
ssl_certificate /root/ssl/certificate.crt;
ssl_certificate_key /root/ssl/private.key;
location / {
proxy_pass <http://127.0.0.1:3001>;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
}
location /rtc {
proxy_pass <http://teemo-world.link:7880>;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}able-gigabyte-21598
09/01/2023, 10:09 AMinsecure: true in your egress config? Also this is just a guess, but you could try applying SSL to :7881 as well. Itβs possible the rtc (media) connection is being blockedpowerful-helmet-67358
09/01/2023, 2:37 PMlog_level: debug
api_key: devkey
api_secret: secret
ws_url: <ws://192.168.65.254:7880>
insecure: true
redis:
address: 192.168.65.254:6379
As you said, I will apply SSL to port 7881 and try again. thankspowerful-helmet-67358
09/02/2023, 9:05 AM