P2P-Radio Logo P2P-Radio: Peer to Peer Streaming

 

FAQ (Frequently Asked Questions)

Overview:

How can I create my own Internet radio station?
Nobody can connect to my station. What should I do?
Which ports does P2P-Radio use?
My media player keeps re-buffering. What can I do?
Why doesn't my station get listed in the Stations List?
How can I set the standard media player on Windows?
Can I broadcast with P2P-Radio and Peercast at the same time?
How can I use Java Web Start for my own station?
How do I run the monitor?
What port number does the monitor use?
I have set up a station with P2P-Radio on Linux, but P2P-Radio crashes frequently. What can I do?


How can I create my own Internet radio station?

Please read the document Broadcasting with P2P-Radio and all further questions and answers in this FAQ.

Nobody can connect to my station. What should I do?

Most probably you are behind a firewall. You need to open the ports that P2P-Radio uses.

If you're using a firewall software, it will probably ask you whether you want to give P2P-Radio additional permissions. Please do so.

Please consult the documentation of your firewall software or firewall hardware device for more information, or ask in the Help Forum.

Which ports does P2P-Radio use?

Short answer: 2000, 2001 and 2002.

  • The main port used by P2P-Radio is the port 2000 (UDP & TCP). This port must be accessible from the Internet.
  • The port 2001 (TCP) is used for communicating with your media player. P2P-Radio only accepts connections from the local machine on this port. Connection requests from the Internet will be rejected.
  • A web page with detailed information is available on port 2002 (TCP). You may also make this port accessible from the Internet.

If you start P2P-Radio more than once at the same time, only the first instance will use the ports described here. All further instances will use random port numbers.

Please note that you can specify the ports to use with the -port command line parameter.

My media player keeps re-buffering. What can I do?

The bandwidth of your Internet connection could be too low. But most probably, that's the broadcaster's fault and his bandwidth isn't sufficient to serve the stream.

If you are a broadcaster, please set up a normal Shoutcast server and test if you can serve at least two clients without problems.

To decrease the bandwidth requirements of P2P-Radio, stream with a lower bit rate. You should use the Ogg Vorbis format because it sounds better at low bit rates.

If you are streaming with advanced tools, such as nsvscsrc or nsvenc of the NSV Tools package, make sure that the header line icy-br really contains the average bit rate of the stream. Have a look at the page NSV Command Line Streaming.

Why doesn't my station get listed in the Stations List?

Your station must meet the following requirements:

  • It must be broadcasted with a current version of P2P-Radio.
  • It must be accessible from the Internet. Stations behind a firewall are not listed.
  • It must not be a private station. If you are using OddCast, you can make your station public by enabling the configuration option "Public Server".

How can I set the standard media player on Windows?

Open the Windows Explorer, click on "Tools / Folder Options" and then on the tab "File Types". You have to change the associated application for the file types "PLS" and "M3U" (these are the file extensions for playlist files).

Can I broadcast with P2P-Radio and Peercast at the same time?

Yes. P2P-Radio can take the stream from Peercast and vice versa.

  • From Peercast to P2P-Radio: Open the "Relayed Channels" page of Peercast in your web browser. Click on the "Play" button of your station with the right mouse button, copy the link address of this button, and paste this address to P2P-Radio. You need at least P2P-Radio 2.0 Beta 3, or it won't work.
  • From P2P-Radio to Peercast: Click on "Radio / Display verbose information". Copy the address of the stream to the clipboard. Open the "Broadcast" page of Peercast in your browser, and paste the address into the "External Source - URL" field.

How can I use Java Web Start for my own station?

That's explained at the bottom of the download page.

How do I run the monitor?

The monitor is included in the Java Edition of P2P-Radio only. Type the following command at the command line:

java -cp P2P-Radio.jar p2pradio.monitor.MonitorApp

What port number does the monitor use?

It's the port number 39491 (UDP). This port must be accessible from the Internet on the machine on which the monitor runs.

I have set up a station with P2P-Radio on Linux, but P2P-Radio crashes frequently. What can I do?

Sun's Java Runtime Environment for Linux contains a bug that causes the whole JRE to crash. Please use IBM's Java Virtual Machine, which is more stable. You can get it here.

 
SourceForge.net Logo