# vmsamp menu commands

vmsamp contains the following menus:

- Endpoint

- H.324M Middleware

- Call control

- Play and record

- Jitter buffer

- Random access

- Video transcoding

- Video tromboning

- Miscellaneous

This topic describes each of these menus.

## Endpoint menu

The following table describes the vmsamp menu commands that execute MSPP endpoint commands and queries:

Menu command | Function | Description
p | Audio pass-through commands | Submenu for the audio pass-through commands: a: Exits from the submenu. b: Reprints the menu. c: Plays RFC 2833 event. d: Updates DTMF mode. e: Sets audio transmit payload ID.
r | Video channel query | Calls mspSendQuery for the video channel (MSP_QRY_JITTER_VIDEO_GET_STATE).
s | AMR bypass endpoint commands | Submenu for the AMR RTP endpoint commands: a: Exits from the submenu. b: Reprints the menu. e: Calls mspEnableEndpoint. f: Calls mspDisableEndpoint. g: Calls mspSendCommand to change the payload ID map (MSP_CMD_RTPFDX_MAP). n: Calls mspSendCommand to enable receive skew calculations (MSP_CMD_RTPFDX_CALC_SKEW_OFFSET). o: Calls mspSendCommand to disable receive skew calculations (MSP_CMD_RTPFDX_CALC_SKEW_OFFSET).
t | AMR bypass endpoint query | Reserved for future use.
u | AMR bypass channel commands | Calls mspSendCommand for the AMR bypass channel to change the jitter depth (MSP_CMD_JITTER_CHG_DEPTH).
v | AMR bypass channel query | Calls mspSendQuery for the AMR bypass channel (MSP_QRY_JITTER_GET_STATE).

## H.324M Middleware menu

The following table describes the vmsamp menu command that invokes H.324M functions:

Menu command | Description
y | Submenu for the H.324M Middleware menu: a: Exits from the submenu. b: Reprints the menu. c: Calls h324VideoFastUpdate. d: Calls h324RoundTripDelay. e: Calls h324EndSession. f: Calls h324UserIndication (alphanumeric, 128 bytes). g: Calls h324UserIndication (alphanumeric, 512 bytes). h: Calls h324UserIndication (non-standard, 128 bytes). i: Calls h324UserIndication (non-standard, 512 bytes). j: Calls h324UserIndication (signal). l: Calls h324CloseChannel. m: Calls h324LineErrorReporting. n: Calls h324_h223SkewIndication. o: Calls h324VendorIDIndication. p: Calls h324VideoTemporalSpatialTradeoff.

## Call control menu

The following table describes the vmsamp menu command that invokes call control functions:

Menu command | Description
x | Submenu for the call control menu: a: Exits from the submenu. b: Reprints the menu. c: Calls nccPlaceCall. d: Calls nccDisconnectCall. e: Calls h324CloseChannel, h324EndSession, and nccDisconnectCall.

## Play and record menu

The following table describes the vmsamp menu command that invokes ADI play and record functions:

Menu command | Description
z | Submenu for the play and record menu: a: Exits from the submenu. b: Reprints the menu. i: Calls adiRecordMMToMemory or adiRecordMMAsync and adiPlayMMFromMemory or adiPlayMMAsync to start simultaneous play/record functionality. l: Calls adiPlayMMFromMemory or adiPlayMMAsync for audio and video multiple times based on the specified list of files. m: Calls adiStopPlaying to stop playing audio and video in simultaneous play/record mode. n: Calls adiStopRecording to stop recording audio and video simultaneous play/record mode. r: Calls adiRecordMMToMemory or adiRecordMMAsync to record audio and video using the default file names. s: Calls adiPlayMMFromMemory for playing audio and video using the default file names. t: Calls adiPlayMMFromMemory or adiPlayMMAsync for audio and video using the specified file name. u: If application is recording audio, calls adiStopRecording to stop recording audio. If application is playing audio, calls adiStopPlaying to stop playing audio. v: If application is recording video, calls adiStopRecording to stop recording video. If application is playing video, calls adiStopPlaying to stop playing video. y: Sets new video jitter buffer latency.

## Jitter buffer menu

The following table describes the vmsamp menu commands that manage the video jitter buffer:

Menu command | Description
n | Normalizes the video jitter buffer.
g | Purges the video jitter buffer.

## Random access menu

The following table describes the menu command that performs random access operations:

Menu command | Description
c | Submenu for the random access menu: a: Exits the submenu. b: Reprints the menu. c: Seeks to a time relative to the start of a file. d - Seeks to a time relative to the current position in a file. e: Seeks to the next sync point. f: Seeks to the previous sync point. g: Prints the sync point table. h: Prints the current time.

## Video transcoding menu

The following table describes the vmsamp menu command that performs video transcoding operations:

Menu command | Description
0 | Submenu for the video transcoder commands: a: Exits from the submenu. b: Reprints the menu. c: Calls trcGetStatus. d: Calls trcResetVTP. e: Calls trcStartVideoChannel. f: Calls trcStopVideoChannel.

## Video tromboning menu

The following table describes the vmsamp menu commands that perform video tromboning operations:

Command | Description
f | Stops video tromboning.
o | Starts video tromboning.

## Miscellaneous menu

The following table describes miscellaneous vmsamp menu commands:

Function | Description
a | Quits the application.
b | Reprints the Help menu.
c | Prints the system configuration for the 3G-324M Interface and the Video Messaging Server Interface (IP addresses and port numbers for audio and video).