Skip to main content

Configuration

Basic Failover Setup

Failover Configuration Options

Available Options

Option Descriptions

  • enabled: Whether failover is active
  • maxRetries: Maximum retry attempts per failure
  • retryDelay: Delay between retries (milliseconds)
  • preservePosition: Keep track position during failover
  • resumePlayback: Automatically resume after failover
  • cooldownTime: Wait time before allowing new failover attempts
  • maxFailoverAttempts: Total failover attempts before giving up

Multiple Nodes Setup

Adding Backup Nodes

Event Handling

Failover Events

Node Management

Check Node Status

Get Available Nodes

Player State Preservation

State Backup During Failover

Manual Node Operations

Force Node Switch

Node Health Check

Monitoring

Failover Metrics

Testing

Simulate Node Failure

Failover Test

Error Handling

Failover Error Recovery

Best Practices

Optimal Configuration

Monitoring Setup