diff --git a/apps/web/.env.example b/apps/web/.env.example index ad48fcd..84b2f95 100644 --- a/apps/web/.env.example +++ b/apps/web/.env.example @@ -21,6 +21,7 @@ HCID_REDIRECT_URI=http://localhost:3000/auth/hackclub/callback NEXT_PUBLIC_MEDIAMTX_URL_HQ=http://localhost:8891 MEDIAMTX_API_HQ=http://localhost:9997 NEXT_PUBLIC_MEDIAMTX_INGEST_ROUTE_HQ=localhost:8890 +NEXT_PUBLIC_MEDIAMTX_WHIP_ROUTE_HQ=http://localhost:8889 # commented because we don't have another ingest server as of right now # NEXT_PUBLIC_MEDIAMTX_URL_ASIA=http://localhost:8991 diff --git a/docker/mediamtx/mediamtx.yml b/docker/mediamtx/mediamtx.yml index 3a1395e..ebcabd8 100644 --- a/docker/mediamtx/mediamtx.yml +++ b/docker/mediamtx/mediamtx.yml @@ -11,6 +11,8 @@ hlsSegmentDuration: 2s hlsPartDuration: 1s hlsSegmentCount: 10 +webrtc: yes + authMethod: http authHTTPAddress: http://hctv:3000/api/mediamtx/publish