mm_player_destroy_trksession()

Delete a tracksession.

Synopsis:

#include <mmplayer/mmplayerclient.h>
 
int mm_player_destroy_trksession( mmplayer_hdl_t *hdl, 
                                  const uint64_t tsid )

Arguments:

hdl
The mm-player connection handle
tsid
The tracksession ID

Library:

mmplayerclient

Description:

Delete the tracksession specified by tsid. In this release, each player can have only one active tracksession, so after this call no tracksession will be available to the player and hence, playback won't be possible until a new tracksession is defined.

Returns:

0 on success, -1 on failure