I'm working on a project where it requires streaming from one device to another. I have a working code , but what i want to know is if there is a way to resize(change the resolution of the video). Here's my sample code:
Code: Select all
char *vlcOptions[] = {""};
vlcInstance = libvlc_new(1, vlcOptions);
libvlc_vlm_add_broadcast(vlcInstance,
"test",
"C:\\Program Files\\VideoLAN\\VLC\\WOW_Intro_LK_800.avi",
"#duplicate{dst=rtp{dst=192.168.128.154,port=5004,mux=ts},dst=display}",
0,
NULL,
TRUE,
0);
libvlc_vlm_play_media(vlcInstance, "test");
P.S: I've tried streaming media using "libvlc_media" libraries, but i couldnt find a way to stream data for a specific IP address. If there is a way to do so, that'd be great.