smc_initiate_playback

Description

Concludes the definition of views for a playback session on Historical Server, and prepares to start playback.

Syntax

SMC_RETURN_CODE smc_initiate_playback
 (SMC_CONNECT_ID       clientId)

Parameters

clientId

identifies the connection.

Returns

Return value

Indicates

SMC_RET_SUCCESS

Function succeeded.

SMC_RET_FAILURE

Function failed.

SMC_RET_INVALID_CONNECT

Connection does not exist.

Examples

Example 1

This example assumes that:

Usage


Valid server modes

Mode

Availability

SMC_SERVER_M_LIVE

No

SMC_SERVER_M_HISTORICAL

Yes


Errors

Error

Indicates

SMC_RET_INVALID_SVR_MODE

Invalid server mode.

SMC_RET_INTERNAL_ERROR

Internal error.

See also

smc_create_view, smc_create_playback_session, smc_refresh_ex, smc_terminate_playback