AudioReceiver constructor

AudioReceiver({
  1. int port = 8081,
})

Constructor for AudioReceiver that initializes the receiver with a specific port.

port: The port number on which the WebSocket server will listen. Default is 8081.

Implementation

AudioReceiver({this.port = 8081});