skip to Main Content

How-To: Using an RTSP Stream as a Source for a WebRTC application

This post arises from a question posed by someone via Quora. I’m not all that engaged with that Q&A platform, but this question seemed novel, so I offered an answer. I thought the answer worth sharing in a little more depth, so I offer it here as well.

The question was, “How can I use the RTSP stream from an IP camera as a source for a WebRTC application?”

There are two parts to solving this puzzle; (1) Connect to the RTSP stream and (2) Make it appear like a webcam to the client application.

Obvious Answer: vMix

At the outset, let me say that I would address this using vMix. vMix solves both parts of the puzzle handily. If this is all that you needed to achieve, the $60 Basic HD license would suffice.

Of course, you’d need to learn a little about the application, which is deep. To my mind it’s fun, but some might find it daunting. Further, vMix requires a considerable host platform. You’re not going to run it on trivial hardware.

Let’s just say that we’d like to solve the problem with less spending and requiring less knowledge overhead.

Less Obvious Answer: VLC & NDI Tools

VLC is the ubiquitous, open source media player. Available on all platforms it can play anything I’ve every wanted to open. Beyond files, it can open network streams. I’ve used it to listen to my local PBS radio station. I’ve also used it to watch video streams from our Grandstream surveillance cameras, as shown below.

VLS viewing RTSP stream

NDI stands for Network Device Interface. It’s a network protocol, developed by Newtek of TriCaster and Video Toaster fame, that allows low-latency, lightly compressed video to be passed over a gigabit Ethernet network. NDI is impressive, but I won’t wax poetic about that here.

Read More

Logitech’s Brio 4k Webcam Pro

There’s a new webcam in the house…errr…home office! Yes, I have received a sample of Logitech’s latest, the Brio 4K Webcam Pro.

Even before the sample arrived I had a great conversation about the Brio with Dave Michels. Dave captured that discussion for publication on his blog.

I’ve put the Brio through a few simple experiments and learned a few things. At least superficially, it does what it says. Connected via USB 3.0 it delivers a 2160p30 (aka 4k) stream using MJPEG encoding to vMix and OBS.

Read More

Online Marketers: How-To Hold Branded Blabs

OnSip-SMBlabLong-time VUC sponsor OnSIP has been running a series of video chats they call #SMBLAB. Blab is a newer, kinda Hangout-like video chat tool built using WebRTC. This week I participated in one with Mike Oeth, CEO of OnSIP, Angela Leavitt of Mojo Marketing, and Randy Resnick, founder of the VUC.

Blab is dead simple to use. It integrates with Twitter for user authentication, allowing up to four people to join each Blab (call?)  The resulting video chats are recorded. Throw in good social media integration and you can see why it’s an online marketers dream.

As nice as blab is, it’s visual presentation is a bit generic. It doesn’t have the image overlay or lower-third capability that you find in Hangouts. That means that you can’t readily add your name or company logo.

That said, it doesn’t need to be this way! You can take matters into your own hands and deliver strong, visually branded blabs…if you want to. It takes a little effort in advance, but it’s not difficult…and it will strengthen your brand presentation.

Read More

Tip: Faking an HDMI Connection

FITPC-HeadlessLast week I once again saw a need to share the output of an Android device. As I’ve described previously, this requires the use of an HDMI splitter to feed both a monitor and the HDMI capture card in my vMix PC. The monitor satisfies that HDCP handshake, which allows the PC to see the video stream.

However, there are times when it’s just not convenient or practical to have an extra monitor involved. This came up recently in a thread in the Wirecast support forum. Someone wants to capture the screen of a number of Mac Mini’s in order to bring multiple Skype video calls into a streaming production. They run the Mac Mini’s headless, accessing the Mac desktops using a software screen sharing application.

Read More

Observations of the vMix 17 Public Beta

Last week saw the release of the vMix Fun Time Live Show for March which was punctuated by the public release of a beta preview of vMix 17. The official release of vMix is being timed to coincide with the annual NAB Convention, which is April 16-21 in Las Vegas.

In the middle of 2015 vMix replaced Wirecast as my preferred desktop video production software. vMix is effectively a production switcher. It allows me to combine various audio and video sources in real-time, the results being sent to a Hangout-On-Air or recorded to disk. It handles webcams, graphics, animations, video capture cards, live desktop capture and even PowerPoint files with ease. Further, it does so while being less hardware intensive than its competition.

Read More
Back To Top