How livepeer/go-livepeer works
Main Components
a. Core Network Roles (represented as distinct services):
• Broadcaster Node
• Orchestrator Node
• Transcoder Node
b. Key System Components (represented as modules):
• Media Processing Layer
• RTMP handling
• Segment processing
• Transcoding pipeline
• Blockchain Integration Layer
• Smart Contracts interaction
• Transaction management
• Price feed monitoring
• Discovery System
• Payment System (PM - Payment Manager)
• Monitoring & Analytics
• AI Processing Pipeline
┌─ Application Layer ─────────────────────┐
• CLI Interface | HTTP/RPC Endpoints │
• Service Layer ──────────────────────────┤
• Broadcaster | Orchestrator | Transcoder │
• Core Layer ────────────────────────────┤
• Media Processing | Discovery | Payments │
• Infrastructure Layer ──────────────────┤
• Blockchain | Storage | Network Protocol │
• ┘
Key Interactions to Highlight
a. Media Flow:
• RTMP ingestion path
• Segment creation and distribution
• Transcoding workflow
• Stream delivery
b. Network Communication:
• Node discovery process
• Orchestrator selection
• Payment channel establishment
• Verification process
Specific Implementation Details
• Smart contract integration (from /eth directory)
• Payment management system (from /pm directory)
• Discovery mechanisms (from /discovery directory)
• Media processing pipeline (from /media directory)
• AI processing capabilities (from /ai directory)
Connection Types
• Double lines: High-bandwidth media flows
Additional Elements
• Configuration components
• Monitoring systems
• External integrations (like Ethereum network)
• Security components (auth, verification)