-
-
Save sbis04/38198e6dad60d9a1874379eaab0bdac3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// API for sending videos | |
const muxBaseUrl = 'https://api.mux.com'; | |
// API server running on localhost | |
const muxServerUrl = 'http://localhost:3000'; | |
// API for generating thumbnails of a video | |
const muxImageBaseUrl = 'https://image.mux.com'; | |
// API for streaming a video | |
const muxStreamBaseUrl = 'https://stream.mux.com'; | |
// Received video file format | |
const videoExtension = 'm3u8'; | |
// Thumbnail file type and size | |
const imageTypeSize = 'thumbnail.jpg?time=5&width=200'; | |
// Content Type used in API calls | |
const contentType = 'application/json'; | |
// Test video url provided by MUX | |
const demoVideoUrl = 'https://storage.googleapis.com/muxdemofiles/mux-video-intro.mp4'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment