Hello,
Kinda new to this & start using VLC.
I've started the VLC in the server with the following option
vlc -vvv --vlm-conf myplaylist.cfg -I telnet --telnet-password videolan --rtsp-host 10.10.10.1:554
Its all working fine & be able to play those playlists from other hosts.
My Question is, how do i get the SOUT counter value ? When i try to print the structure values from the main vlc.c file, it doesnt return any value.. I'm assuming that the structure input_stats_t , will gets updated automatically as the server starts streaming out. or do i have to initialize any thing prior to calling this structure directly. Any help is appreciated.
vlc.c
...
...
struct input_stats_t sout_ctr;
...
int main( .. )
{
...
...
while(1)
{
sleep(1);
printf("%d %d %f\n", sout_ctr.i_sent_packets, sout_ctr.i_sent_bytes, sout_ctr.f_send_bitrate);
}
...
...
}
Thanks