Giter Site home page Giter Site logo

algora-io / tv Goto Github PK

View Code? Open in Web Editor NEW
150.0 6.0 8.0 4.46 MB

Open source Twitch for developers

Home Page: https://algora.tv

License: GNU Affero General Public License v3.0

Elixir 88.90% Dockerfile 0.49% CSS 0.45% JavaScript 0.27% HTML 7.31% Shell 0.48% Batchfile 0.02% TypeScript 2.09%
hls livestreaming rtmp video video-sharing elixir-phoenix

tv's People

Contributors

zcesur avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

tv's Issues

Allow to private a video

Currently you can only set a video to unlisted which only hides it from the front page and not your channel page.

Would like to have the option to private a stream completely (without deleting it) if I for example leaked a .env or something.

Or maybe I just could download the video and delete it. Hmm.

Show timestamps in the chat

Show timestamps in the chat while streaming to see if a chat message was from a moment ago or if the viewer has been waiting for longer :)

tigris/fly.io returning 403 for uploaded m3u8 video

From mac m1 dev machine. After following the instructions in Readme.md, successfully encoded to m3u8 and uploaded encoded video artifacts to tigris/fly.io(when I log into tigris I see the bucket and the file there).

However, when I try to play the video in algora(running locally on dev machine) there is a 403 runtime error:

<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AccessDenied</Code><Message>Access Denied.</Message><Resource>/black-grass-6028/b3233893-679d-4b08-a6c9-7594604242e0/index.m3u8</Resource><RequestId>1717200327565850018</RequestId><Key>b3233893-679d-4b08-a6c9-7594604242e0/index.m3u8</Key><BucketName>black-grass-6028</BucketName></Error>

What might be the remedy?

Transmux videos in persistent volumes

fly volume create algora_media_tmp --size 20 --region lax
[mounts]
  source="algora_media_tmp"
  destination="/data"
  • can we add volume to FLAME worker?
  • otherwise can we add volume to primary node only?

chore: add stream key support

I'd like to set a password (aka stream key), to avoid access to bad actors.

Suggestion:

  1. allow us to set a custom password
  2. autogenerate password and add a button to generate a new password

Fly: deployment to fly.io crashes on boot

Seeing messages like:

2024-06-06T21:11:29.682 app[148e2d03c35389] lax [info] [ 0.058089] PCI: Fatal: No config space access function found

From fly.io logs:

 2024-06-06T21:11:26.131 app[148e2d03c35389] lax [info] INFO [fly api proxy] listening at /.fly/api

2024-06-06T21:11:26.136 app[148e2d03c35389] lax [info] 2024/06/06 21:11:26 INFO SSH listening listen_address=[fdaa:0:3adb:a7b:2b9:4b73:32b4:2]:22 dns_server=[fdaa::3]:53

2024-06-06T21:11:26.137 runner[148e2d03c35389] lax [info] Machine started in 456ms

2024-06-06T21:11:26.215 app[148e2d03c35389] lax [info] Runtime terminating during boot ({'cannot get bootfile','/app/bin/start.boot'})

2024-06-06T21:11:26.319 app[148e2d03c35389] lax [info] Crash dump is being written to: erl_crash.dump...done

2024-06-06T21:11:27.132 app[148e2d03c35389] lax [info] INFO Main child exited normally with code: 1

2024-06-06T21:11:27.145 app[148e2d03c35389] lax [info] INFO Starting clean up.

2024-06-06T21:11:27.146 app[148e2d03c35389] lax [info] [ 1.361790] reboot: Restarting system

2024-06-06T21:11:27.224 runner[148e2d03c35389] lax [info] machine did not have a restart policy, defaulting to restart

2024-06-06T21:11:29.569 app[148e2d03c35389] lax [info] 2024-06-06T21:11:29.568974180 [01HZQP7RPKAMRAHGS5E1WNZPFE:main] Running Firecracker v1.7.0

2024-06-06T21:11:29.591 app[148e2d09c13089] lax [info] 2024-06-06T21:11:29.591122004 [01HZQP71FK4GTDA4F7N4ND4AXX:main] Running Firecracker v1.7.0

2024-06-06T21:11:29.682 app[148e2d03c35389] lax [info] [ 0.058089] PCI: Fatal: No config space access function found

2024-06-06T21:11:29.703 app[148e2d09c13089] lax [info] [ 0.058738] PCI: Fatal: No config space access function found

2024-06-06T21:11:29.944 app[148e2d03c35389] lax [info] INFO Starting init (commit: a6222593)...

2024-06-06T21:11:29.965 app[148e2d09c13089] lax [info] INFO Starting init (commit: a6222593)...

2024-06-06T21:11:29.969 app[148e2d03c35389] lax [info] INFO Preparing to run: `/bin/sh -c /app/bin/server` as nobody

2024-06-06T21:11:29.973 app[148e2d03c35389] lax [info] INFO [fly api proxy] listening at /.fly/api

2024-06-06T21:11:29.979 app[148e2d03c35389] lax [info] 2024/06/06 21:11:29 INFO SSH listening listen_address=[fdaa:0:3adb:a7b:2b9:4b73:32b4:2]:22 dns_server=[fdaa::3]:53

2024-06-06T21:11:29.991 app[148e2d09c13089] lax [info] INFO Preparing to run: `/bin/sh -c /app/bin/server` as nobody

2024-06-06T21:11:29.996 app[148e2d09c13089] lax [info] INFO [fly api proxy] listening at /.fly/api

2024-06-06T21:11:30.000 runner[148e2d09c13089] lax [info] Machine started in 458ms

2024-06-06T21:11:30.001 app[148e2d09c13089] lax [info] 2024/06/06 21:11:29 INFO SSH listening listen_address=[fdaa:0:3adb:a7b:2bc:e471:406b:2]:22 dns_server=[fdaa::3]:53

2024-06-06T21:11:30.010 runner[148e2d03c35389] lax [info] Machine started in 489ms 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.