51 lines
1.3 KiB
TypeScript
51 lines
1.3 KiB
TypeScript
// Streaming Platform Configuration
|
|
// Update these values for your live streaming setup
|
|
|
|
export const streamingConfig = {
|
|
// Your HLS stream URL - get this from your streaming provider
|
|
// Examples:
|
|
// Cloudflare Stream: https://customer-xxxxx.cloudflarestream.com/xxxxx/manifest/video.m3u8
|
|
// Mux: https://stream.mux.com/xxxxx.m3u8
|
|
// AWS IVS: https://xxxxx.us-west-2.playback.live-video.net/api/video/v1/xxxxx.m3u8
|
|
streamUrl: process.env.NEXT_PUBLIC_STREAM_URL || 'https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8',
|
|
|
|
// Stream metadata
|
|
stream: {
|
|
title: 'AeThex LABS Live',
|
|
description: 'Live streaming content 24/7',
|
|
defaultThumbnail: '/stream-thumbnail.jpg',
|
|
},
|
|
|
|
// Feature flags
|
|
features: {
|
|
chat: true,
|
|
viewerCount: true,
|
|
nowPlaying: true,
|
|
donations: false,
|
|
subscriptions: false,
|
|
},
|
|
|
|
// Chat configuration
|
|
chat: {
|
|
enabled: true,
|
|
// Choose: 'firebase' | 'websocket' | 'pusher' | 'mock'
|
|
provider: 'mock',
|
|
maxMessageLength: 500,
|
|
rateLimit: 2, // messages per second
|
|
},
|
|
|
|
// Analytics
|
|
analytics: {
|
|
enabled: false,
|
|
provider: 'vercel', // or 'google' | 'plausible'
|
|
},
|
|
|
|
// Social links
|
|
social: {
|
|
twitter: 'https://twitter.com/aethexlabs',
|
|
discord: 'https://discord.gg/aethexlabs',
|
|
github: 'https://github.com/AeThex-LABS',
|
|
},
|
|
};
|
|
|
|
export default streamingConfig;
|