[gstreamer-bugs] [Bug 534243] udpsink no longer supports IPv4 on Windows, only IPv6
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Wed Apr 7 11:12:59 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=534243
GStreamer | gst-plugins-good | git
--- Comment #35 from tiagokatcipis at gmail.com 2010-04-07 18:12:53 UTC ---
Sjoerd got me the source files already patched, i tried to compile them and
them i got a problem, the following names where not defined:
AI_V4MAPPED
AI_ALL
IPV6_V6ONLY
i don't know if it is because i dont have some ipv6 files installed on my mingw
environment, with some research i defined these values on hand to ( actually a
friend/co worker found those values for me :-) ):
#define IPV6_V6ONLY 27
#define AI_V4MAPPED 8
#define AI_ALL 10
now I'm being able to send and receive audio on windows trough udp. I tested
the following pipes one running on one machine and other running on another
machine and worked fine, both machines where windows XP:
Send audio:
gst-launch-0.10.exe -v directsoundsrc ! audioconvert ! audioresample !
audio/x-raw-int,signed=true,
channels=1,rate=8000,width=16,endianness=1234 ! alawenc ! rtppcmapay !
gstrtpbin ! udpsink host=[IP] port=5000
Receive audio (direct sound dont work properly at 8000hz):
gst-launch-0.10.exe -v udpsrc port=5000 auto-multicast=0
caps=application/x-rtp,media=audio,payload=96,clock-rate=8000,encoding-name=PCMA
! gstrtpbin ! rtppcmadepay ! alawdec ! audioresample ! audioconvert !
audio/x-raw-int,signed=true,width=16,depth=16,rate=44100,channels=1 !
directsoundsink
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the Gstreamer-bugs
mailing list