i use the librtmp to demux the protocal and use libvlc to display
my vlc args is
Code: Select all
ADD_ARGS(vlc_args, &argcount, "-vvv");
ADD_ARGS(vlc_args, &argcount, "-I dummy"); // Don't use any interface
ADD_ARGS(vlc_args, &argcount, "--ignore-config"); // Don't use VLC's config
ADD_ARGS(vlc_args, &argcount, "--imem-get=%ld", imemGetCallback); // imem-get
ADD_ARGS(vlc_args, &argcount, "--imem-release=%ld", imemReleaseCallback);// imem-release
ADD_ARGS(vlc_args, &argcount, "--imem-data=%ld", g_pQueue);
ADD_ARGS(vlc_args, &argcount, "--imem-cookie=%s", V_COOKIE);
ADD_ARGS(vlc_args, &argcount, "--imem-id=1");
ADD_ARGS(vlc_args, &argcount, "--imem-group=1");
ADD_ARGS(vlc_args, &argcount, "--imem-cat=2");
ADD_ARGS(vlc_args, &argcount, "--imem-codec=h264");
my question is how to play both audio and video?????