Skip to content

tbobkermux/mux-webhooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple example of how to use Mux Webhooks

Uses socket.io for websocket communication between the server and client to automatically update the client side when a webhook is recieved and Upchunk for direct uploads.

This also uses localtunnel to enable a fixed url to use for the webhook url.

Requirements

Run yarn install or npm install This installs npm packages required to run the examples.

rename the .env_example file to .env and populate the environment variables with your API key and secret and chosen subdomain that will be used for the fixed webhook url.

Run the example

Now run yarn start in the terminal to start localtunnel and node server.

Use the generated public localtunnel url and use it to populate Mux dashboard > settings > Webhooks > Create New webhook.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published