An old cookie factory in New York has turned into the powerhouse for a lot of what you stream online

Bryce HarperReutersMLB games and more are streamed through MLB Advanced Media.

What do Major League Baseball, wrestling’s WWE Network, Glenn Beck’s TheBlaze TV, and HBO’s new streaming service all have in common?

The video for all of these services is handled out of an old cookie factory on the west side of Manhattan.

MLB Advanced Media, also known as MLBAM, is Major League Baseball’s technology division. It was started in 2005 to run the websites of MLB teams, but it’s since morphed into a huge provider of digital services for many other companies.

MLBAM delivers the live video for Sony’s new live TV service, PlayStation Vue, as well as for streaming services from the PGA and ESPN.

It also has divisions that develops games and apps.

Tech Insider visited MLBAM’s growing office in Manhattan’s Chelsea neighbourhood to see how it all works earlier this summer.

Check it out:

MLB Advanced Media's (MLBAM) headquarters are located in Chelsea Market, a historic building in downtown New York.

It's located right across the street from Google's massive NYC office.

Let's go inside.

Here are some of the other companies with offices in the building.

A century ago, the building was home to National Biscuit Company.

According to The New York Times, both the Oreo and
Mallomars were invented here.

Now, it's a destination for tourists and New Yorkers, with dozens of restaurants, bakeries and specialty shops on the ground floor, and offices on the upper levels.

The MLBAM offices first opened in 2005.

Now, MLBAM has office space on four floors.

The office has baseball-themed decor throughout.

Even the elevator is decorated with a huge baseball and two bats.

Here's the lobby, with lots of baseball-related decorations.

MLBAM won an Emmy in 2014 for technology and engineering for streaming video.

The staff is apparently pretty good at softball, too.

These are some of the trophies MLBAM softball teams have won.

Here's one of the broadcast studios at the MLBAM headquarters.

Analysts and guests who sit here can can talk to players, reporters, and officials on the field.

Here's what it looks like when you're sitting at the studio desk.

The cameras are operated remotely.

Sometimes they broadcast concerts from this studio.

The Roots, John Legend, Rihanna, Sheryl Crow, and Trey Songz, among many others, have performed here.

The robotic cameras in the studio are controlled from in here.

Here's another view of the control room for the broadcast studios.

Streams from different cameras are all viewable in the control room.

Lots of employees here, of course, are baseball fans.

The company's gaming division is also located here.

This team worked on RBI Baseball '14.

This MLBAM employee is testing a game on Xbox One. Yes, part of his job is to play video games.

One of the six data centres MLBAM has in the US is located in the Chelsea Market office.

This is the transmission operations center. Each screen shows a different live stream handled by MLBAM.

The center can handle around 100 streaming events simultaneously.

These are some of the producers and engineers working in the transmission center.

MLBAM handles video for many different streams, including WWE Network, Glenn Beck's TheBlaze TV, HBO Now, ESPN, Sony's PlayStation Vue network, and more.

There's an entire room dedicated to testing video on various devices.

Inside the Connected Device Lab. MLBAM employees have to make sure that video works on many different devices.

This room used to be an oven used to bake cookies.

If you look at the brick wall above the TV, you can see the remnants of ovens from when this building was used as a cookie factory.

Producers working in the rooms where cookies were once baked.

There's baseball stuff everywhere!

MLBAM also handled live video for some of President Obama's 2012 campaign events.

This is the logging room, where a team of people watch live events and record what happens during them.

Logging creates a record of what happens during an event, like a baseball game, which makes it easier for customers to find specific moments.

An MLBAM employee watches live streams of a baseball game and logs different events, like pitches, balls, strikes, etc.

This is the MLBAM mobile department, which began in 2005 with only two employees, both of whom still work there.

Now there are roughly five or six dozen people working on the MLBAM mobile experience, including app development, design, and customer service.

Here's where they work on MLB At Bat, the official app of Major League Baseball.

MLB At Bat features baseball news, stats, video, and more.

The home of the MLB social media team.

Some of the editors at work.

NOW WATCH: Briefing videos

Business Insider Emails & Alerts

Site highlights each day to your inbox.

Follow Business Insider Australia on Facebook, Twitter, LinkedIn, and Instagram.