Browse Source

eggress avoids landing page

master
Mohsen Taba 1 month ago
parent
commit
9987fae61c
  1. 2
      apps/course/views/live_session.py
  2. 2
      entrypoint.sh

2
apps/course/views/live_session.py

@ -1014,7 +1014,7 @@ class CourseLiveSessionRecordingAPIView(GenericAPIView):
frontend_base = get_online_class_frontend_base() frontend_base = get_online_class_frontend_base()
return ( return (
f"{frontend_base}/?access_token={access_token}" f"{frontend_base}/?access_token={access_token}"
f"&web_egress=1&room_id={session.room_id}"
f"&web_egress=1&skip_landing=1&room_id={session.room_id}"
) )
def _build_status_payload(self, session: CourseLiveSession, message: str | None = None) -> dict: def _build_status_payload(self, session: CourseLiveSession, message: str | None = None) -> dict:

2
entrypoint.sh

@ -5,7 +5,7 @@ python manage.py migrate
# python manage.py seed_images # python manage.py seed_images
# python manage.py compilemessages # python manage.py compilemessages
python manage.py collectstatic --noinput python manage.py collectstatic --noinput
python manage.py set_default_category_icons
# python manage.py set_default_category_icons
# python manage.py set_hadiscorrection_fixed_text # python manage.py set_hadiscorrection_fixed_text
# Seed Russian data (only runs once, skips if data exists) # Seed Russian data (only runs once, skips if data exists)
# python manage.py seed_corrections # python manage.py seed_corrections

Loading…
Cancel
Save