livekit-events

module
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2023 License: Apache-2.0

README

Livekit Event Brige

Event bridge for livekit webhook events. Forward webhook events to websocket or redis pub/sub.

Configure

Minimal setup

...
livekit:
    api_key: LIVEKIT_API_KEY
    api_secret: LIVEKIT_API_SECRET


... (optional)
server:
    port: default 3000
    bind_address: default 0.0.0.0

log_level: default debug

# connect priority if set
# sentinel -> cluster -> single
redis: 
    address: host:port
    username:
    password:
    db:
    channel: default (livekit-events)

    #timeouts
    dial_timeout:
    read_timeout:
    write_timeout:
    
    # sentinels
    sentinel_master:
    sentinel_username:
    sentinel_password:
    sentinel_addresses:

    # cluster
    cluster_addresses:
    cluster_max_redirects:


Contribute

Setup

make all

This will initialize a git repo, download the dependencies in the latest versions and install all needed tools. If needed code generation will be triggered in this target as well.

Test & lint

Run linting

make lint

Run tests

make test

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL