lnbits-legend/lnbits/extensions/livestream
2022-01-24 15:58:51 -08:00
..
static/js livestreams converted 2021-10-28 17:02:07 +01:00
templates/livestream livestreams converted 2021-10-28 17:02:07 +01:00
__init__.py fix livestream startup issue 2022-01-24 15:58:51 -08:00
config.json livestreams converted 2021-10-28 17:02:07 +01:00
crud.py fix url_for no allowing query params 2021-11-17 12:56:43 +00:00
lnurl.py black 2021-11-12 04:14:55 +00:00
migrations.py livestreams converted 2021-10-28 17:02:07 +01:00
models.py Chore, applied black 2021-11-26 05:58:20 +00:00
README.md livestreams converted 2021-10-28 17:02:07 +01:00
tasks.py general cleanup and unused imports removal 2021-11-25 18:52:16 +00:00
views_api.py Chore, applied black 2021-11-26 05:58:20 +00:00
views.py fix livestream startup issue 2022-01-24 15:58:51 -08:00

DJ Livestream

Help DJ's and music producers conduct music livestreams

LNBits Livestream extension produces a static QR code that can be shown on screen while livestreaming a DJ set for example. If someone listening to the livestream likes a song and want to support the DJ and/or the producer he can scan the QR code with a LNURL-pay capable wallet.

When scanned, the QR code sends up information about the song playing at the moment (name and the producer of that song). Also, if the user likes the song and would like to support the producer, he can send a tip and a message for that specific track. If the user sends an amount over a specific threshold they will be given a link to download it (optional).

The revenue will be sent to a wallet created specifically for that producer, with optional revenue splitting between the DJ and the producer.

Wallets supporting LNURL

video tutorial livestream

Usage

  1. Start by adding a track
    add new track
    • set the producer, or choose an existing one
    • set the track name
    • define a minimum price where a user can download the track
    • set the download URL, where user will be redirected if he tips the livestream and the tip is equal or above the set price
      track settings
  2. Adjust the percentage of the pay you want to take from the user's tips. 10%, the default, means that the DJ will keep 10% of all the tips sent by users. The other 90% will go to an auto generated producer wallet
    adjust percentage
  3. For every different producer added, when adding tracks, a wallet is generated for them
    producer wallet
  4. On the bottom of the LNBits DJ Livestream extension you'll find the static QR code (LNURL-pay) you can add to the livestream or if you're a street performer you can print it and have it displayed
  5. After all tracks and producers are added, you can start "playing" songs
    play tracks
  6. You'll see the current track playing and a green icon indicating active track also
    active track
  7. When a user scans the QR code, and sends a tip, you'll receive 10%, in the example case, in your wallet and the producer's wallet will get the rest. For example someone tips 100 sats, you'll get 10 sats and the producer will get 90 sats
    • producer's wallet receiving 18 sats from 20 sats tips
      producer wallet

Use cases

You can print the QR code and display it on a live gig, a street performance, etc... OR you can use the QR as an overlay in an online stream of you playing music, doing a DJ set, making a podcast.

You can use the extension's API to trigger updates for the current track, update fees, add tracks...

Sponsored by