Skip to content

v1.1.4 - Share m3u8 + SSE URL fixes

Choose a tag to compare

@ravirajsinh45 ravirajsinh45 released this 13 Apr 06:15
· 163 commits to main since this release
1368163

Fixed

  • Share endpoint returned folder path instead of master.m3u8 for video stream URLs (#45) — GET /share/{token} was building video stream URLs from MediaFile.s3_key_processed (the HLS folder prefix) without appending /master.m3u8, so share viewers received a folder URL instead of the playlist. Mirrors the existing fix already applied in get_share_stream_url and assets.py. Includes regression tests for both the video and image paths. (#48)

  • Dashboard crash on upload with relative NEXT_PUBLIC_API_URL (#46) — useSSE called new URL(\${API_URL}/events/${projectId}`)without a base. WhenNEXT_PUBLIC_API_URLwas set to a relative path like/api(typical for nginx-proxied deployments), the URL constructor threwTypeError: Failed to construct 'URL': Invalid URLthe momentUploadSSEBridgeopened its first SSE connection — crashing the dashboard immediately after any upload. Now passeswindow.location.origin` as the base URL so relative paths resolve. Includes a regression test. (#49)

Full Changelog: v1.1.3...v1.1.4