After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 520897 - new element: wininetsrc
new element: wininetsrc
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other All
: Normal normal
: 0.10.7
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-03-07 01:40 UTC by Ole André Vadla Ravnås
Modified: 2008-04-10 15:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
wininet_plugin (15.93 KB, patch)
2008-03-07 01:44 UTC, Ole André Vadla Ravnås
committed Details | Review

Description Ole André Vadla Ravnås 2008-03-07 01:40:54 UTC
Please describe the problem:
Streaming from an HTTP/HTTPS or similar source is commonly done using a library like libsoup. However, when small footprint is an issue it might be useful to use features that are part of the OS/platform. This element uses wininet to accomplish this on Windows.

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Ole André Vadla Ravnås 2008-03-07 01:44:16 UTC
Created attachment 106743 [details] [review]
wininet_plugin

Written more as a proof-of-concept / fun hack than anything else, but seems to work.
Comment 2 Julien Isorce 2008-03-09 12:50:21 UTC
Hi

You made a lot of plugins, nice. But can you write a command line example. (not with fakesink element I mean)

thx
Comment 3 Julien Isorce 2008-03-09 12:52:27 UTC
You did it in pcapparse.
Comment 4 Tim-Philipp Müller 2008-04-10 15:31:04 UTC
Committed, thanks:

 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>

        Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>

        * configure.ac:
        * sys/Makefile.am:
        * sys/wininet/Makefile.am:
        * sys/wininet/gstwininetsrc.c:
        * sys/wininet/gstwininetsrc.h:
          Add wininetsrc for basic http/ftp support on windows (#520897).

I changed a few minor things, would be great if you could double-check that it still builds for you.

I also added configure detection logic for mingw, will see if I can find someone to make sure that works too.