mm_player_disconnect()

Disconnect from mm-player.

Synopsis:

#include <mmplayer/mmplayerclient.h>
 
int mm_player_disconnect( mmplayer_hdl_t *hdl )

Arguments:

hdl
The mm-player connection handle

Library:

mmplayerclient

Description:

Disconnect from mm-player. This function must be the last one you call. The handle in hdl is invalidated by this function and can't be used afterwards.

Returns:

0 on success, -1 if any resources could not be fully released