DcAN Audio Interface
From eMDeeWiki
Jump to navigationJump to searchAudio is passed between nodes of the DisComm Audio Network using the DcAN Audio Interface. Audio packets are sent through a predefined UDP/IP port. The following rules apply:
- The default IP port number for audio interface packets is 33000
- All elements of each packet shall be in network byte order
The following sections define the packets that are valid for the DcAN Audio Interface
Realtime Intercom Audio Packet (0x100)
- Each element of the 0x100 Audio Packet is a 16 bit signed integer
- The first 16 bit word of the packet represents the unique identifier and must be equal to 0x100
Byte Offset | Element | Notes |
---|---|---|
0 | 0x100 | |
2 | Source ID | Unique value within the DisComm Audio Network, greater than zero, that identifies the source of the audio stream. For most DisComm Audio nodes, this will be equal to the 4th octet of the node's IP address. |
4 | Communications Channel | An arbitrary value that represents a communications path between nodes on the DisComm Audio Network |
6 | Sequence Number | Value shall be incremented upon each transmit of an audio data packet |
8 | Audio Samples | Array of audio samples in 16-bit PCM format sampled at 8000 samples per second. The size of the array can be determined from the size of the packet. |