lnbits-legend/lnbits/extensions/livestream
Tiago vasconcelos 4ce0ed63c0 fix livestream for postgres compatibility
fix producers create returning id
2021-08-13 13:32:49 -03:00
..
static/js Livestream Fix (#198) 2021-06-04 16:27:25 -03:00
templates/livestream added dynamic titles for continuity 2021-07-25 14:26:20 +01:00
__init__.py Black formatting 2021-04-12 17:20:50 +01:00
config.json Updated livestream description to character limit 2021-04-12 17:47:54 +01:00
crud.py fix livestream for postgres compatibility 2021-08-13 13:32:49 -03:00
lnurl.py guard against amount=NaN in two other lnurlw contexts. 2021-05-05 20:45:49 -03:00
migrations.py postgres support. 2021-07-02 17:34:31 -03:00
models.py livestream: a standalone QR code for each track. 2021-04-17 00:15:03 -03:00
README.md Livestream Fix (#198) 2021-06-04 16:27:25 -03:00
tasks.py fix wrong schema for apipayments usage inside extensions. 2021-07-02 17:34:33 -03:00
views_api.py livestream: a standalone QR code for each track. 2021-04-17 00:15:03 -03:00
views.py Black formatting 2021-04-12 17:20:50 +01: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