[gst-devel] streaming http....

Philip Pellouchoud pellouch at yahoo.com
Sun Sep 16 17:00:45 CEST 2007


sorry, I'm not that advanced. :-)

I'm using playbin/play to automagically build the graph.  I'm guessing that i'm unable to build the graph or something?  

My code looks like this:

    gst_init(NULL, NULL);

    guint nMajor(0), nMinor(0), nMicro(0), nNano(0);
    gst_version(&nMajor, &nMinor, &nMicro, &nNano);
    play = gst_element_factory_make("playbin", "play");
    g_object_set(G_OBJECT(play), "uri", "http://testserver/blahblah.mp3", NULL);
    bus = gst_pipeline_get_bus(GST_PIPELINE (play));
    gst_element_set_state(play, GST_STATE_PLAYING);

If I replace the highlighted part with file://C:\\file.mp3 it works just fine, but when I use the stream, it goes through, but just doesn't play...

-phil

----- Original Message ----
From: Stefan Kost <ensonic at hora-obscura.de>
To: Philip Pellouchoud <phil at san.rr.com>
Cc: gstreamer-devel at lists.sourceforge.net
Sent: Sunday, September 16, 2007 5:52:56 AM
Subject: Re: [gst-devel] streaming http....

hi,

Philip Pellouchoud wrote:
> i am having trouble playing http://blahblahblah.mp3 but I can play
> file://c:\\test.mp3 no problem.

gnomecfssrc or neonhttpssrc. It would be a good idea to give us some more
context (which application etc.)

Stefan

> 
> any ideas on what I need?
> 
> -phil
> 
> ------------------------------------------------------------------------
> Be a better Heartthrob. Get better relationship answers
> <http://us.rd.yahoo.com/evt=48255/*http://answers.yahoo.com/dir/_ylc=X3oDMTI5MGx2aThyBF9TAzIxMTU1MDAzNTIEX3MDMzk2NTQ1MTAzBHNlYwNCQUJwaWxsYXJfTklfMzYwBHNsawNQcm9kdWN0X3F1ZXN0aW9uX3BhZ2U-?link=list&sid=396545433>from
> someone who knows.
> Yahoo! Answers - Check it out.
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel







       
____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20070916/11505399/attachment.htm>


More information about the gstreamer-devel mailing list