how can i get the stream information from a connected mms video stream.When i use the "libvlc_media_get_stats" while the stream is connected and running this function gives me only zero values back. I also tried to make first a parse with the same result
i do something like this, after the stream is connected:
Code: Select all
libvlc_media_stats_t pstats;
int stat = libvlc_media_get_stats(curMedia, &pstats);
float dmuxBitrate = pstats.f_demux_bitrate;
int demuxCorrupted = pstats.i_demux_corrupted;
int demuxDiscontinuity = pstats.i_demux_discontinuity;
int lostPics = pstats.i_lost_pictures;
int abuffers = pstats.i_lost_abuffers;