Opening a remote MP3 stream

This is a discussion on Opening a remote MP3 stream within the Windows Programming forums, part of the Platform Specific Boards category; Hi. I want to test if a web radio is online, by trying to connect to the remote stream. I ...

  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 11:20 AM.

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, 08: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, 08:22 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21