diff --git a/.devcontainer/livekit.yaml b/.devcontainer/livekit.yaml
index 18f35d2..ee4e875 100644
--- a/.devcontainer/livekit.yaml
+++ b/.devcontainer/livekit.yaml
@@ -20,7 +20,7 @@ webhook:
room:
auto_create: false
- empty_timeout: 3600
+ empty_timeout: 30
max_participants: 0
max_metadata_size: 0
diff --git a/.env.production.sample b/.env.production.sample
index 6560ff0..ed1c19d 100644
--- a/.env.production.sample
+++ b/.env.production.sample
@@ -28,6 +28,8 @@ LIVEKIT_API_SECRET=secret
LIVEKIT_HOST=livekit.example.com
# This value will be returned by Audon backend to browsers. Set the same domain as LIVEKIT_HOST if you are not sure.
LIVEKIT_LOCAL_DOMAIN=livekit.example.com
+# If this period (seconds) passes, the new room will be automatically closed.
+LIVEKIT_EMPTY_ROOM_TIMEOUT=300
### Bot Settings ###
# Leave the following fields empty to disable the notification bot.
diff --git a/audon-fe/src/locales/en.yaml b/audon-fe/src/locales/en.yaml
index 78e9c9d..b738ca6 100644
--- a/audon-fe/src/locales/en.yaml
+++ b/audon-fe/src/locales/en.yaml
@@ -26,8 +26,8 @@ comingFuture: "Coming with future update!"
processing: "Processing now...
Keep this window open!"
lostWarning: "Unsaved data will be lost if you leave the page, are you sure?"
staticLink:
- title: "Your Static Link"
- hint: "Other can join to your room via this link while you're hosting."
+ title: "Your Audon Link"
+ hint: "Other can join to your room via this personal link while you're hosting."
form:
title: "Title"
titleRequired: "Room title required"
@@ -48,6 +48,7 @@ shareRoomMessage: "Join my Audon room!\n{link}\n\nTitle: {title}"
roomReady:
header: "Your room is ready!"
message: "Your room \"{title}\" is now ready. Share the following URL with other participants."
+ timeout: "The room will be closed automatically if no one joins within {minutes} minutes."
errors:
offline: "This user is not hosting now."
invalidAddress: "Invalid address"
diff --git a/audon-fe/src/locales/ja.yaml b/audon-fe/src/locales/ja.yaml
index f6116b3..c069076 100644
--- a/audon-fe/src/locales/ja.yaml
+++ b/audon-fe/src/locales/ja.yaml
@@ -26,8 +26,8 @@ comingFuture: "今後のアップデートで追加予定"
processing: "処理中です。
画面を閉じないでください。"
lostWarning: "この画面を閉じると保存前の内容が失われます。構いませんか?"
staticLink:
- title: "固定リンク"
- hint: "プロフィール欄などに固定しておくと、あなたが部屋をホストしたとき他の人はこのリンクを使って参加できます。"
+ title: "Audon リンク"
+ hint: "あなたが部屋をホストしたとき、他の人はこの固定 URL からでも参加できます。"
form:
title: "タイトル"
titleRequired: "部屋の名前を入力してください"
@@ -48,6 +48,7 @@ shareRoomMessage: "Audon で部屋を作りました!\n参加用リンク: {
roomReady:
header: "お部屋の用意ができました!"
message: "{title} を作りました。参加者に以下の URL を共有してください。"
+ timeout: "{minutes} 分以内に誰も入室しないと部屋が閉じますのでご注意ください。"
errors:
offline: "このユーザーは現在ホスト中ではありません。"
invalidAddress: "アドレスが有効ではありません"
diff --git a/audon-fe/src/views/CreateView.vue b/audon-fe/src/views/CreateView.vue
index e862efb..7d215e9 100644
--- a/audon-fe/src/views/CreateView.vue
+++ b/audon-fe/src/views/CreateView.vue
@@ -104,11 +104,13 @@ export default {
if (!donURL) return "";
const url = new URL(donURL);
const texts = [
- this.$t("shareRoomMessage", { link: this.roomURL, title: this.title }),
+ this.$t("shareRoomMessage", {
+ link: this.donStore.myStaticLink,
+ title: this.title,
+ }),
];
if (this.description)
texts.push(truncate("\n" + this.description, { length: 200 }));
- texts.push("\n#Audon");
return encodeURI(`${url.origin}/share?text=${texts.join("\n")}`);
},
},
@@ -209,7 +211,7 @@ export default {
{{ $t("roomReady.message", { title }) }}