4/17/17
SigMRF Users Guide, Rev A2
Copyright
Signalogic, Inc. 2016-2017
12 / 39
DSGetPktInfo() must be used to retrieve session handles corresponding to (i) received
packets and (ii) packets pulled from the jitter buffer prior to voice processing and sending.
The above pseudocode example leaves out many details. For specific, working examples refer to
mediaTest source code (see section 3.4 below, mediaTest Demo, Test, and Measurement
Program).
Figure 3-2 below shows packet and frame data flow handled by the DSSessionTranscode() API,
in cases where user applications are handling packet I/O and timing, but not packet parsing and
formatting, and not using the SigMRF background process.
Note that DSSessionTranscode() can also perform packet I/O if a network interface was
specified by the session handle in use (session handles are created by the DSSessionCreate()
API).
Figure 3-2, User application transcoding packet data flow using
DSSessionTranscode()
Figure 3-3 below shows packet I/O, timing, packet parsing and formatting, and packet and frame
data flow handled by the SigMRF background process.