Reliable, high-quality video has been a fundamental part of Lookback’s platform since the very beginning. We introduced our Live feature in 2016, empowering customers to do remote moderated research ever since. Live lets you broadcast to the rest of your team – wherever they are – with participants from around the globe or right from your workplace.
With that said, serving and streaming video is … hard. Ensuring great audio-video quality and reliable connectivity (especially for corporate firewalls) has proven to be tricky.
That’s why we’re incredibly happy and proud to let you know about our two latest advances in video infrastructure:
…as well as an extra treat! Let’s begin!
Our Live server, code named Dormammu, is our in-house technology for managing the audio and video for Live streaming. The server is effectively a selective forwarding unit that also records all video in the cloud as you’re streaming, ready to play back to you later when you re-watch your session (more on this later).
Our Live server in a nutshell:
When doing real-time video streaming, latency is a parameter you have to take into account – the geographical distance to the server is important, and something we’ve measured in real world scenarios. Our server has been living in a single physical location: on the green hills of Ireland. That means all traffic has to go all the way to Ireland and back again.
No more. From now on, we have Live servers distributed all over the world.
What does this mean?
Let’s say you’re setting up a remote moderated session with the moderator in San Francisco, the participant in New York, and two coworkers observing from Florida and Greece, respectively. This is how the traffic used to go:
Everyone’s audio and video travels to and from one server location. This means that even if the moderator and participant are relatively close to each other, the network traffic still has to go over the Atlantic and back again. Even though we’ve got fast internets in 2018, that’s a physical trip even the fastest bits and bytes can’t do fast enough!
In our improved solution, it works like this instead:
Now the audio and video traffic will always go to the closest Live server location instead of making the jump over the Atlantic ocean. This is a huge improvement in audio/video quality for moderators, participants, and observers alike.
Our new Live servers are currently being rolled out to locations in North and South America, western and central Europe, and to South East Asia.
Our second improvement is all about the complementary part of the research experience: watching the recorded material. You can think of live streaming and on-demand video streaming like the difference between a Skype video call and a Netflix session. With Skype you call in real-time, but with Netflix you watch already recorded material. We do both!
We used to upload recorded sessions to our servers, and immediately started processing the raw material into video made for fast playback. Something like this:
This was sub-optimal for a number of reasons:
We obviously really care about the watching part of the research experience. That’s why we set out to create something better.
In order to move to a Netflix-style solution, we built a new video streaming server to grab raw files from storage and serve them on-demand to the Lookback player. The big feat here is that the video is transcoded and composited on the fly and served as one. “Composited” means that we merge the screen and face camera video together in real time and stream to the player, eliminating the need to playback two videos simultaneously – no more sync issues!
It works like this:
Fewer steps – simplicity!
Notable features:
This video serving solution is currently being rolled out across the participant platforms, starting with desktop recordings.
We have one last thing to show you. In order to make use of the distributed nature of our new Live servers described above, we’ve completely reworked our Live player under the hood. The new version looks (almost) the same as the previous one, save for a few visual updates. The new features include:
But the big deal is under the hood:
We hope you’ll like it! It was very fun to re-build.
During the past months, we’ve been going all in on reliability in our platform. That includes huge projects like the ones brought up in this post, as well as doubling down on fixing all serious issues we discover or our customers report. Working with video is sometimes hard, but we strive on simplifying and improving. We hope that this will make your research experience more reliable, so you can go build things people love and understand ✨
Happy researching! 🤓