Sends an H.223 skew indication to the terminal.
DWORD h324_h223SkewIndication ( MSPHD msphd, unsigned int skewInMs, channelSkewType skewType)
|
Argument |
Description |
|
msphd |
MSPP handle associated with the MUX endpoint. |
|
skewInMs |
Milliseconds of audio or video skew to indicate to the terminal. |
|
skewType |
Whether video should be skewed to align with late audio or audio should be skewed to align with late video: typedef struct tag_H324_223_SKEW_INDICATION For information about the fields in this structure, see H324_H223_SKEW_INDICATION. |
|
Return value |
Description |
|
SUCCESS |
|
|
CTAERR_NOT_FOUND |
msphd was not found. Either h324Start was not called or h324Delete was called. |
|
H324ERR_INTERNAL_ERROR |
Internal error in the H.324M Middleware. |
|
H324ERR_MUTEX_LOCK_FAILED |
Internal error trying to lock mutex. |
|
H324ERR_NOT_INITIALIZED |
h324Initialize was not called first. |
None.
rc = h324_h223SkewIndication(GwConfig[0].MuxEp.hd, skewInMs,
(selection == 'a') ? audioLate : videoLate);
if (rc == SUCCESS)
printf("The SkewIndication message was sent successfully.\n");
else
printf("Failed to send the SkewIndication message...\n");