1
0
mirror of https://github.com/algora-io/tv.git synced 2025-10-30 23:07:56 +02:00

343 Commits

Author SHA1 Message Date
ty
9e26f2753c Use dynamic supervisor instead of FLAME local backend (#127) 2024-12-18 20:54:52 +03:00
zafer
929266eb3d use text instead of varchar for token fields 2024-12-17 04:00:02 +03:00
ty
0fe16aa4ad allow passing stream key as app 2024-12-17 03:18:40 +03:00
ty
c2e91a53b3 Merge pull request #128 from lastcanal/fix_group_by_tags
Fix crash on studio page
2024-12-13 18:09:31 -05:00
ty
c239318d4e Fix Library.list_studio_videos group_by query with tags 2024-12-13 18:06:10 -05:00
zafer
e7f7ab7cf1 fix: remove unused tags assign that crashes with nil user 2024-12-13 22:35:11 +03:00
zafer
957a96b419 fix: add handle_info catch-all 2024-12-13 22:29:59 +03:00
ty
de23025c70 improve stream status and termination handling (#124)
- only set duration when stream status is stopped

- remove unused Library.maybe_update_*/2

- cleanup with statement

- fix: video live status was always set to false instead of respecting toggle state
2024-12-13 22:25:59 +03:00
zafer
5ddc68d2de increase partial segment upload timeout 2024-12-13 19:22:54 +03:00
Caleb
291e5a1adf feat: tag system for videos and channels (#92)
* chore: setup migrations for tags field in users and videos

* chore: add tags to user and video schema

* feat(ui): add tags live_component

* chore: update tags handling
change add_tag event from enter to use 'space' key
add channel tags to live video

* fix: clear tag input when a tag is added

* fix: allow channel/user tags to be inherited by videos

* remove rebase artifact

* De-duplicate video tags by coalescing user tags

This will avoid updating every video for a user anytime they change
their tags and will also allow videos to have different tags from a user's tags

Added Library.count_tags/1 and Library.list_videos_by_tag/2

* add gin index for tags

* enforce limit and order for Library.count_tags/1

* add Accounts.count_tags/1

* sync video tags with user tags during livestream reconciliation

---------

Co-authored-by: ty <lastcanal@gmail.com>
Co-authored-by: zafer <zafer@algora.io>
2024-12-13 18:27:21 +03:00
ty
2167e485c5 Unmute overlay (#125)
* show unmute overlay when autoplay is denied

* hide mute overlay when volume slider is used
2024-12-13 18:11:16 +03:00
Zafer Cesur
f2db19a1d4 Merge pull request #123 from lastcanal/pipeline-tuning
Tune pipeline to better handle reconnects
2024-12-11 04:41:20 +03:00
zafer
accf37fe33 update hls.js version 2024-12-11 04:13:47 +03:00
ty
52842c9c32 remove hls.js custom playlistLoadPolicy 2024-12-10 15:56:19 -05:00
ty
24c5be0ecc Avoid sending full segments in delta playlist
Ensure only 4 segments are sent in delta playlists and that every
segment is a partial segment. Currently full segments are upload async
and may not be available when delta playlists are published.
2024-12-09 22:43:27 -05:00
ty
b236963ec5 revert change to Pipeline.HLS @min_segments_in_delta_playlist 2024-12-09 22:05:26 -05:00
ty
0b0bf22cb8 revert change to Pipeline.HLS @keep_latest_n_segment_parts
sends a smaller delta playlist
2024-12-09 22:01:28 -05:00
ty
8a44e26bd2 fix typo 2024-12-07 18:53:23 -05:00
ty
07273d2945 format 2024-12-07 18:30:12 -05:00
ty
675eb9e113 show online/offline channel state without pausing playback 2024-12-07 18:25:01 -05:00
ty
72ddc7d229 cleanup unused vars 2024-12-07 17:02:49 -05:00
ty
89e705f4ec add :resumed stream status to handle resuming without pausing playback on the client 2024-12-07 17:02:49 -05:00
ty
e60e151574 cleanup partial upload tracking 2024-12-07 17:02:49 -05:00
ty
6a68200389 keep more partial segments around to allow for retries 2024-12-07 17:02:49 -05:00
ty
3478f70d38 configure hls.js playlist timeouts 2024-12-07 17:02:49 -05:00
ty
ca6179a67c wait for sink to finalize before terminating pipeline 2024-12-07 17:02:49 -05:00
ty
ee886ab395 sync pipeline clock to rtmp source bin 2024-12-07 17:02:49 -05:00
zafer
baa425fdd8 fix: add DNS cluster query and primary region env vars to FLAME backend config 2024-12-07 05:44:39 +03:00
zafer
f7535dd331 fix: move RTMP timeout to function to prevent compile-time env evaluation 2024-12-07 04:23:19 +03:00
zafer
209a46c1b6 fix: convert FLAME_LOG env var to atom 2024-12-07 04:22:04 +03:00
zafer
4cf30b4663 fix: invalid list syntax in FLAME.FlyBackend config 2024-12-07 04:18:09 +03:00
zafer
1e105d93e9 add missing runtime config 2024-12-07 04:10:35 +03:00
zafer
898eac3345 add FLAME_MIN env var and set default to 0 2024-12-07 04:09:01 +03:00
zafer
7291f9ee7c update stream status on init, :resume_rtmp and :end_of_stream 2024-11-15 22:34:08 +02:00
zafer
070b73ab62 fix thumbnailer 2024-11-15 22:31:50 +02:00
zafer
f11dfda83e update base images 2024-11-14 22:08:36 +02:00
ty
680e4978c1 Serve low-latency HLS partials from S3
Upload partial segments in parallel

Wait for uploads to finish before sending preload hint by using
selective receive and waiting for the uploading process to exit

Redirect requests for partials to S3 after waiting for the parital to be uploaded

Remove partials from s3 when they are removed from ets

Set partial segment duration to 1 second
2024-11-14 22:06:00 +02:00
Zafer Cesur
2c35d1c6af Merge pull request #116 (RTMP reconnection, ABR streaming, FLAME pipelines)
Adaptive bitrate livestreams
2024-11-14 22:04:20 +02:00
ty
5d6728c0f1 start all applications when in FLAME 2024-11-11 17:26:20 -05:00
ty
0eefa2e0e7 handle reconnect when including master and empty string TRANSCODE env var 2024-11-11 17:26:11 -05:00
ty
64ee131e81 use upstream membrane RTMP plugin! 2024-11-08 18:49:29 -05:00
ty
acfcfa5757 Upgrade to membrane_h26x_plugin 2024-11-08 18:47:59 -05:00
ty
09ce8c4915 include reconnect count in rtmp forwarding child name 2024-11-03 18:02:00 -05:00
ty
2f30ffe830 optionally include master video track even when transcoding 2024-11-03 17:52:09 -05:00
ty
76fb05786e adjust logging 2024-10-31 22:48:49 -04:00
ty
3399319f83 format 2024-10-31 22:46:00 -04:00
ty
5354597eb1 allow configuring flame 2024-10-31 22:42:36 -04:00
ty
50248ee74b make new clip video work with multiple manifests
fix download video
2024-10-31 21:57:34 -04:00
ty
a8446ddf6d adapt to membrane_rtmp_plugin v0.27.2 2024-10-31 21:31:20 -04:00
ty
304c8c3b49 remove and reconnect forwarded rtmp connections 2024-10-31 21:31:20 -04:00