How To Implement Live Radio Broadcasting

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • luckysanj
    New Member
    • May 2009
    • 68

    How To Implement Live Radio Broadcasting

    Dear Sir,

    Can you give me idea about Live Radio Broadcasting. I want to implement the Live Radio Broadcasting link on my web page to play radio on live. So i need basic php code for this.

    Your help will be appreciated.


    Thank You
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    So i need basic php code for this.
    This forum is dedicated to helping you find the answer to your problems. Handing you code is not going to help you understand how to solve your problem and it's unfair to ask someone else to do your work for you.

    Besides that I don't think that this is going to be just some "basic php code".

    The radio station is constantly going to be playing new songs. Therefore, you're going to have to send the new songs to the browser when they become available, but also you're going to have to have the browser request the new song too. You're going to have to use a combination of JavaScript and PHP to do this since requires both the client and the server's involvement.

    I don't think that PHP is the best technology to accomplish live streaming though. If you want to have people jumping into the live stream halfway through a song then you're going to have to "PUSH" the data to the browser as apposed to having the browser poll for the data.

    Useful links to get you started on thinking about the problem:
    Wiki on Streaming Media
    Wiki on HTTP Push
    Commet
    my thoughts on HTML Push

    -Frinny

    Comment

    Working...