I need sample code for RTSP connection to streaming audio

Posted on 2007-08-09
Last Modified: 2013-12-03
I would like to establish a connection to an Internet radio station transmitting in Windows Media format over RTSP.  I do not want to play the received sound, but convet it to MP3 and save it to disk.

This is URGENT project.  I would most welcome any input, links to code or commercial controls.

Question by:yossikally
    LVL 86

    Expert Comment

    Check out

    'MPlayer' ( would be a more complex example.

    Author Comment

    This depth of information is too overwhelimng at this point.  I want first to "tell the forest from the trees" What I would like to know at this point:
    1)The Radio station I am trying to receive has the URL "" This implies http protocol.  Yet after som negotiation the transmision becomes RTSP (TCP) as indicated in the 'Statistics' of the wmplayer.  What is the sequence of events from the first http packet until steady state of data trnsmission?
    LVL 86

    Accepted Solution

    Hm, don't know all that from the top of my head, but you will find a good introduction (incl. links to more resources) at

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    How to copy an image file into clipboard C/C++? 1 108
    dialer.exe 4 47
    Path of Workbook 3 30
    Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
    Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
    This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
    This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now