
Diciassettesimo articolo dedicato alle web radio.
Si è già parlato teoricamente di P2P e radio, ma adesso vediamo come potere affrontare concretamente il problema.
Creare dei relay con shoutcast è possibile, ma non sempre semplice e fattibile, in quanto anche ripetendo il segnale, si incorre in un cambiamento di indirizzo.
Il problema è (parzialmente) risolto da Peercast, un programma disponibile per tutti i sistemi operativi, che permette lapolitica monorelayed radio SENZA cambiamento di indirizzi.
Esaminiamo la pagina dedicata a Peercast sulla Wiki Inglese che dice:
PeerCast is an open source streaming media multicast tool. PeerCast uses peer to peer technology to minimize the necessary upload bandwidth for the original multicastor.
Ovvero: “Peercast è uno strumento per lo streaming audio/video open source. Peercast usa la tecnologia Peer to peer per minimizzare la necessaria banda in upload del trasmettitore originale”.
Peercast can be used to multicast streaming audio (Ogg Vorbis, MP3, WMA) and/or video (Ogg Theora, Nullsoft Streaming Video, or WMV), or any other stream of data, over the internet. Peercast uses a distributed bandwidth technique to lighten the load of the broadcaster’s upstream bandwidth where each listener/viewer will relay the stream they download to one or more additional listeners. Users may choose how many relays to allow, and if a listener sets their relays to ’0′, then they will essentially not contribute back to the stream at all.
In sintesi, Peercast implementa il metodo Mono Relayed Radio, ovvero ogni ascoltatore può decidere se e quanti altri ascoltatori contribuire a servire. In pratica Peercast vi permette di trasformarvi da nodi rossi a nodi verdi.
When a relay is lost, all peers underneath it (might) lose their connection to the stream and must reconnect to another relay, also when reconnecting to another relay, a peer (might) have to accept the point in the stream the new relay is at, potentially causing a skip or repeat in the stream.
Quando un ripetitore si disconnette, si disconnettono tutti gli utenti ( e anche gli altri relay ) a lui correlati (in pratica non funzionano più tutti i suoi sottoalberi) e gli utenti devono connetersi ad un altro relay. Se questo ha un ritardo differente dal relay che li ha disconnessi, potrebbero ipoteticamente sentire di nuovo una parte dello streaming gia sentita.. o perdersene una parte.
Corporate environments and their security policies might not appreciate the fact that it uses peer-to-peer technology and essentially turns listeners by default into servers.
Since it turns all of the network in a server, distributing content for which you might not have a license could cause legal concerns, depending on the jurisdiction and local legislation the node falls under.
Tradotto in una riga: “SIAE e SCF lo proibiscono”
Lasciamo adesso la pagina Wiki dedicata a Peercast e buttiamoci direttamente alla sorgente. In questa pagina si trova un elenco di risorse su Peercast, dalla FAQ (che vorrei tradurre) alla wiki dedicata a Peercast.
Insomma, cominciamo a conoscere anche questo mondo.. e vediamo che cosa ci può offrire di bello.