Thread: Opening a remote MP3 stream

  1. #1
    Registered User
    Join Date
    Mar 2005
    Posts
    69

    Opening a remote MP3 stream

    Hi.

    I want to test if a web radio is online, by trying to connect to the remote stream.

    I could use a Windows Media Player ActiveX control, and call the method
    IWMPCore :: putURL() , that reproduces a remote file/stream.
    The problem is that the method returns always S_OK even if the stream is not online.

    Another solution i think is using Direct Show API, but i don't know a line of code of it....

    Please could you post here a C++ code fragment that does this, either using WMP or DirectShow or other APIs?

    thanks a lot
    Last edited by Lionel; 03-05-2008 at 12:20 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Reading mp3 stream metadata
    By naquad in forum C Programming
    Replies: 5
    Last Post: 06-24-2009, 12:04 PM
  2. opening empty file causes access violation
    By trevordunstan in forum C Programming
    Replies: 10
    Last Post: 10-21-2008, 11:19 PM
  3. Remote debug not working in Visual Studio 2003
    By Bassquake in forum Tech Board
    Replies: 12
    Last Post: 08-22-2008, 12:11 PM
  4. opening an MP3 file for bit access
    By gaza2k1 in forum C Programming
    Replies: 13
    Last Post: 02-24-2008, 09:08 PM
  5. mp3 players vs mp3 cd players
    By Geo-Fry in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 12-06-2003, 09:22 PM