Save your seat for Streaming Media NYC this May. Register Now!

Live Streaming in the Works at BitTorrent

Article Featured Image

BitTorrent's peer-to-peer sharing may soon learn a new trick, as Bram Cohen, chief scientist and co-founder of the company (and the originator of the BitTorrent protocol itself) has been at work on live streaming technology for the past two years. While he won't say when it will be ready, he's getting closer.

The key challenge to creating peer-to-peer (P2P) live streaming has been cutting down the latency, says Cohen, noting that the way TCP/IP handles congestion creates high latency. The streamed video needs to be close enough to live that people holding a text chat about what they're watching won't get out of sync. Most of the delays have to do with how fast light can travel, he says, as optical signals need to be passed back and fourth. That's why the time delay that viewers experience will be related to the physical distance between them and the BitTorrent client sending the signal. He's had to create a detection system so that more data wasn't being sent to each line than it could handle, but that all available bandwidth was being used.

Cohen has now gotten the delay down to about 5 seconds, with a 99 percent offload. That means that 99 percent of the bandwidth is handled by the viewers' BitTorrent clients, not the person or organization originating the content.

With latency issues mostly solved, Cohen is now working on packet loss. In order to test the software, he has a virtual network on his computer, a system he created, that he uses to emulate router queues. In his tests, he typically sets it for 100 to 500 virtual users. Using his program, he's able to see when queues get too full and packets are dropped.

"It would be impossible to debug this thing without it," Cohen says.

Since he's able to do most of his testing on paper or with this model, he won't move on to actually beta testers until he's worked out all the major issues.

The P2P live streaming technology is also known as Project Pheon, which refers to a type of arrowhead. Cohen won't guess when the finished product might be available. While a ZDNet article said the company was hoping for the end of the year, that sounds like it might be ambitious. Once the major obstacles are cleared away, Cohen says he has a long list of finer details to deal with.

For testing, Cohen is using a modified Flash player as the client, although he doesn't know what the final end-user client might look like.

Many potential partners have approached BitTorrent about the live technology, but Cohen says he needs to get it working before thinking about partnering up. His end goal is to bring a television-like experience to the Web. The majority of video is consumed on television, he notes, and that's a low-latency medium.

"I'm trying to get it so all that video compression can be moved online, so that television will truly move to the Internet," he says.

Streaming Covers
for qualified subscribers
Subscribe Now Current Issue Past Issues
Related Articles

BitTorrent Live Video Service Closing in Weeks, Says Report

After one year on the market, the P2P live video service didn't offer much content and was unable to raise funds to form a new company.

BitTorrent’s Project Chrysalis Alpha Arrives

The file-exchange company takes its first steps to becoming a full home entertainment platform.

BitTorrent's P2P Live Streaming: A Video First Look

At the recent CES in Las Vegas, we sat down with BitTorrent's creator Bram Cohen to talk about his latest project: video live streaming with peer-to-peer delivery. Get a first look in this exclusive video.

Giraffic and Craze Digital Launch Online Movies Box

Accelerated P2P video distribution powers this ad-supported, free movie site.

BitTorrent Expands Apps Availability

Apps Framework helps developers create one-click experiences using P2P distribution.

BitTorrent's Gone Legit, But Still Faces Obstacles

As we lead up to one of Streaming Media West 2007's most anticipated keynotes—by BitTorrent President Ashwin Navin—we take a look at the company that's been both an innovator and a lightning rod for controversy.
Fri., Nov. 2, by Tim Siglin

Does Media Need to Be Free?

Recent moves to "free" Big 3 content from pay-per-download sites like iTunes poses an interesting question: Would consumers rather pay for it and own it, or watch it for free but be limited to streaming-only access?
Tues., Sept. 25, by Tim Siglin

Cookin' With P2P: Recipe for Success or Flash in the Pan?

P2P is much more than a means of distributing stolen content. It enables content owners to slash content delivery costs, and those cost savings grow exponentially when delivering long-form video content.