Difference between revisions of "DcAN Audio Interface"
From eMDeeWiki
Jump to navigationJump to search(One intermediate revision by the same user not shown) | |||
Line 29: | Line 29: | ||
|- | |- | ||
! bgcolor="#CCCCCC" |2 | ! bgcolor="#CCCCCC" |2 | ||
− | | bgcolor="#FFBBBB" |Source | + | | bgcolor="#FFBBBB" |Source ID |
− | | bgcolor="#CCCCCC" |Unique value, greater than zero, that identifies the | + | | bgcolor="#CCCCCC" |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. |
|- | |- | ||
Line 43: | Line 43: | ||
|- | |- | ||
− | ! bgcolor="#CCCCCC" | | + | ! bgcolor="#CCCCCC" |8 |
| bgcolor="#FFBBBB" |Audio Samples | | bgcolor="#FFBBBB" |Audio Samples | ||
− | | bgcolor="#CCCCCC" |Array of audio samples in 16-bit PCM format sampled at 8000 samples per second | + | | bgcolor="#CCCCCC" |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. |
|} | |} |
Latest revision as of 15:59, 9 April 2020
Audio 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. |