development static method

TxServerConfiguration development({
  1. List<TxIceServer>? webRTCIceServers,
})

Creates a development server configuration with default development values.

Uses:

  • Host: rtcdev.telnyx.com
  • ICE Servers: Telnyx development STUN/TURN servers + Google STUN

Implementation

static TxServerConfiguration development({
  List<TxIceServer>? webRTCIceServers,
}) =>
    TxServerConfiguration(
      host: DefaultConfig.telnyxDevHostAddress,
      port: DefaultConfig.telnyxPort,
      turn: DefaultConfig.devTurn,
      stun: DefaultConfig.devStun,
      webRTCIceServers: webRTCIceServers,
      environment: WebRTCEnvironment.development,
    );