# LiveDock — Live Streaming Application System
An integrated live streaming application system featuring desktop and mobile streaming, Web-based live viewing, real-time interaction, and administrative management.
## Product Overview
LiveDock is a live streaming system built with modern web and mobile development technologies. It consists of a server, Web client, desktop streaming application, mobile streaming application, and administration panel.
The system supports the complete live streaming workflow, from audio and video capture and RTMP streaming to live playback, real-time interaction, and administrative management. It provides developers with a functional, modifiable, and extensible source code solution that can be further customized and developed according to their own requirements.
## Core Features
### 1. Desktop Streaming Application
A desktop streaming application developed with Electron, Vue 3, and TypeScript.
- Full-screen and window capture
- Camera capture with picture-in-picture support
- Microphone and system audio capture
- RTMP streaming
- Hardware and software encoding options
- Available encoder detection and selection
- Real-time chat message display
- TTS (Text-to-Speech) voice announcements
The desktop application uses FFmpeg for audio and video capture, processing, and streaming. The project includes FFmpeg runtime binaries built under the terms of the LGPL license, so users do not need to install FFmpeg separately. Information about relevant third-party components is provided in the project documentation.
### 2. Mobile Streaming Application
A mobile streaming application developed with Flutter, currently targeting the Android platform.
- User login and live room binding
- Camera and microphone capture
- RTMP streaming
- Front and rear camera switching
- Streaming status monitoring and error handling
- WebSocket real-time chat
- Emoji messages and online user display
- Live status synchronization
### 3. Web Live Streaming Client
A Web client built with Vue 3, providing viewers with live playback and real-time interaction features.
- User registration and login
- Guest access
- Live room list and details
- HLS live playback
- WebSocket real-time chat
- Online user display
- Live status synchronization
- WebSocket reconnection handling
### 4. Real-Time Interaction
The system uses WebSocket for real-time communication, providing interactive capabilities within live rooms.
- Real-time chat messages
- Online user status
- Live status notifications
- Real-time message synchronization across multiple clients
### 5. Administration Panel
Provides commonly used live streaming business management features.
- User management
- Live room management
- Gift management
- Role and permission management
### 6. Server and Streaming Media Support
The server is built with Node.js and Express, using MySQL, Redis, and WebSocket for business data management and real-time communication, with SRS providing streaming media services.
- User authentication and management
- Live room business management
- Live status management
- WebSocket real-time communication
- Database and caching support
- SRS streaming callback handling
- Docker Compose deployment configuration
## Why Choose LiveDock?
**Complete Project Modules**
Provides source code for multiple components, covering streaming applications, viewer clients, and the administration panel, rather than just a standalone live streaming page or streaming example.
**Multi-Platform Development**
Includes desktop and mobile streaming applications, along with a Web-based viewing client and administration panel.
**Easy to Customize and Extend**
Each module has a relatively independent project structure, allowing developers to extend the interface, business logic, and functionality according to their own requirements.
**Deployment Configuration and Documentation Included**
Provides Docker deployment configuration for the server, relevant environment configuration, and project documentation to help developers understand the system's operation and deployment process.
## Technology Stack
- **Server:** Node.js, Express, MySQL, Redis, Sequelize, WebSocket
- **Streaming Media Server:** SRS
- **Web Client:** Vue 3, Vue Router, Pinia, Ant Design Vue, Axios, HLS.js
- **Desktop Application:** Electron, Vue 3, TypeScript, FFmpeg
- **Mobile Application:** Flutter, Dart
- **Deployment:** Docker, Docker Compose
## Package Contents
The following source code and documentation are included with the purchase:
- LiveDock Server: Server source code
- LiveDock Web: Web client source code
- LiveDock Desktop: Desktop streaming application source code
- LiveDock Mobile: Mobile streaming application source code
- LiveDock Admin: Administration panel source code
- Project deployment, configuration, and usage documentation
## System Requirements
**Server**
- Node.js
- MySQL
- Redis
- Docker and Docker Compose (recommended deployment method)
**Desktop Application**
- Windows 10 / Windows 11
- Corresponding Electron development environment
- Required FFmpeg runtime files are included in the project
Supported encoding methods depend on the included FFmpeg build, device hardware, and driver environment.
**Mobile Application**
- Flutter development environment
- Android SDK
- Android test device or emulator
## Current Version Limitations
The current version is primarily designed for basic live streaming scenarios involving a single host and a single live room.
- Supports streaming from both desktop and mobile applications
- Supports Web-based live viewing and real-time interaction
- Supports user, live room, and related business management
The current version does not include advanced production features such as multi-host co-streaming, multi-camera directing, or simultaneous streaming to multiple platforms.
Android is currently the primary supported mobile platform. The iOS-related code has not yet undergone comprehensive testing.
## Third-Party Components and Open-Source Licenses
### 1. Components and License Information
| Component | License |
|---|---|
| Vue.js | MIT License |
| Electron | MIT License |
| Flutter SDK | BSD 3-Clause License |
| SRS | MIT License |
| MySQL Community Server | GPL-2.0 |
| Redis | License applicable to the specific version used |
### 2. FFmpeg License Information
The LiveDock desktop application includes a standalone FFmpeg command-line executable (`ffmpeg.exe`). FFmpeg is invoked as a separate child process and is not statically or dynamically linked into the LiveDock application itself.
The FFmpeg build distributed with this project is built under the terms of **LGPL v2.1 or later**. This license permits the use of FFmpeg in commercial projects. However, distributing its binary files remains subject to the applicable license requirements.
If you distribute an installer or source code package containing FFmpeg, you must provide the applicable LGPL license text and copyright notices, as well as the corresponding source code or a valid means of obtaining it, together with the necessary build information. If FFmpeg has been modified, additional source code disclosure obligations under the applicable license must also be fulfilled.
Please note that FFmpeg builds incorporating GPL components may be subject to different licensing requirements. The above information applies specifically to the LGPL build included with this project.
Official licensing information: https://www.ffmpeg.org/legal.html
## License and Technical Support
The permitted scope of use, redistribution restrictions, and other licensing conditions are governed by the license agreement provided on the product page.
The scope of support for installation, configuration, and usage is subject to the support policy published on the product page.