Create a tracksession from a media node.


#include <qplayer/qplayer.h>

void createTrackSession( CreateTrackSessionCommand *command );


A pointer to a CreateTrackSessionCommand object that specifies operation parameters such as the media node for creating the tracksession. The TrackSession object created to represent the new tracksession is then written to the object referenced in this argument.


Create a tracksession from a media node. A tracksession is a sequence of tracks with a particular playback order. The new tracksession is filled with the tracks (i.e., media nodes) found within the path of the media node specified in the CreateTrackSessionCommand object.

Information on the newly created tracksession is stored in this same object. When your client receives the complete signal, it can call the result() function on this object to retrieve that information.