netsync not work with libvlc?
Posted: 13 Nov 2015 07:42
=================================================================== when vlc with command line option
C:\Program Files (x86)\VideoLAN\VLC\vlc --network-synchronisation --netsync-master-ip 192.168.0.15
It works well .
=================================================================== but when libvlc in C or C++
char const *vlc_argv[] = {
"--network-synchronisation",
"--netsync-master-ip 192.168.0.15"
};
int vlc_argc = sizeof(vlc_argv) / sizeof(*vlc_argv);
libvlc = libvlc_new(vlc_argc, vlc_argv); <==================== at this monent
---------------------------------------------------------------------------------------------- log
vlc: unknown option or missing mandatory argument `--netsync-master-ip 192.168.0.15'
C:\Program Files (x86)\VideoLAN\VLC\vlc --network-synchronisation --netsync-master-ip 192.168.0.15
It works well .
=================================================================== but when libvlc in C or C++
char const *vlc_argv[] = {
"--network-synchronisation",
"--netsync-master-ip 192.168.0.15"
};
int vlc_argc = sizeof(vlc_argv) / sizeof(*vlc_argv);
libvlc = libvlc_new(vlc_argc, vlc_argv); <==================== at this monent
---------------------------------------------------------------------------------------------- log
vlc: unknown option or missing mandatory argument `--netsync-master-ip 192.168.0.15'