Monday, December 22, 2014

What is WebRTC?

We've been discussing WebRTC a lot here over the last year, and sometimes you have to take a step back and make sure you've brought everyone up to speed. So here's a new little primer describing what it is and why it's important. Enjoy!

Friday, November 14, 2014

Microsoft is a little less evil today

Microsoft today has tipped its hand about the direction it intends to take Skype, and it's pretty good news for us. Besides a commitment to integrate WebRTC in Internet Explorer, they're now talking about integrating Skype with WebRTC.

The devil's in the details of course, but this bodes well for those of you missing Skype integration on STAC-VIP, and it means we may be able to eventually support it on codecs.

As a refresher, WebRTC is a real-time video audio codec built into modern web browsers. Using the right SIP carrier, it can make high quality calls to our ACCESS codec and STAC-VIP talkshow system from virtually any computer, using the high-quality Opus algorithm.

Monday, November 10, 2014

Think I'm kidding about changing default passwords?

I've raged before about people leaving their passwords at default.
I'm not kidding. And neither are the hackers.


Tuesday, September 30, 2014

Verizon obsoletes Pantech USB modems

If you go to the Verizon Wireless website today, you'll find the selection of 4G USB modems (the kind that work well with audio and video codecs) quite reduced. The UML290, and it's newer cousin UML295, have been given the ol' end-of-life treatment. The only remaining option is the Novatel 551L, which does the job but has a very quirky USB connector and doesn't support the new Verizon XLTE service.
USB modems are waning in popularity in general, in favor of Wifi Hotspots, so this isn't a big surprise. We're working on alternative plans but for now, UML295s are available for good prices on eBay. I've bought a bunch and they work very well. Just carry it down to the Verizon store and have them activate it. It gets you out of a 2-year commitment when you bring-your-own anyway. You can even put a prepaid sim into it for a one-time event. And Hotspots (or Jetpacks as Big Red calls them) also work well in conjunction with our codec Wifi adapters.

Edit 10/1/14: The Pantechs appear back on the VZW site today, although my contacts there maintain the ax has fallen on them. So get 'em while you can.

Using free apps with STAC-VIP

We've covered how to make connections to our STAC-VIP talkshow system from web browsers with crystal clear Opus audio, but our experiments with using it on Android have had mixed results. When STAC-VIP first hit the scene, we had our own apps, but they had to be retired for technical reasons (and they weren't free).

For those that want to connect via app (both on iPhone and Android) we've now written up a technote on how to get that all configured. Again, we use our friends at GetOnsip.com, because they provide a free service without huge technical barriers to overcome. And again, we've utilized Linphone as the app, which is such a powerful free tool that we've recently engaged with the developers in making it perfect for broadcast.

Thursday, September 25, 2014

Some other cool things that connect to Comrex codecs

We've recently done some interoperability testing with our ACCESS and BRIC-Link codecs with a couple of companies you might find interesting

1) Backbone Networks is a company out of Westborough Mass that can supply you a "station in the cloud". They handle almost all details of automation, telephone integration and distribution of your station, and you run the whole thing from a MacBook. Most clients are Internet or College broadcasters, but they have signed up some "old school" stations and were interested in codec compatibility to allow distributing their programs to existing stations. Testing was done over the summer of 2014 and they can now stream their programs to your Comrex codec using G.722 (with Opus hopefully soon to follow)

2) ipDTL is a UK company that specializes in making WebRTC easy for remote broadcasters. With a subscription, they will provide a service allowing you to connect two computers (running WebRTC-capable browsers) together via Opus for remote broadcasting. They have achieved compatibility with Comrex codecs, so you can "dial" directly from your browser to your ACCESS/BRIC-Link codec. (Readers of this blog know this is already possible for free via GetOnsip, but ipDTL gives you an option with real support--albeit not free).

Tuesday, September 23, 2014

Linphone got better

We've been working with the developers of Linphone, and our favorite free ACCESS/BRIC-Link compatible app has been updated to resolve a couple of open issues we've found:
1) In the iPhone version, there was a nasty low-end roll off filter that has been removed
2) In the Android version, the data rate for Opus was locked down too low, resulting in artifacts.

We've updated our app note to reflect these changes. I'm hearing from more and more users who find this a really useful tool. And you can't beat the price. But don't forget, if you're in the market for a pro-grade solution with real support, Luci Live and Luci Live Lite will fit the bill.

One more thing: For you Windows Phone users, Linphone for Windows Phone now supports Opus. We haven't tried it (enter phone snobbery snark here) but I'd love to hear from someone who has.


Wednesday, September 3, 2014

Old Comrex product makes cameo in bad sci-fi tv show

I will sheepishly admit I've been binge-watching Under the Dome this summer. Sheepishly because despite the intriguing premise, and the attachment of Stephen Spielberg and Stephen King, the writing is truly awful.

But it was a pleasant surprise to see an old friend make an appearance in the premiere. The plot involves a small-town radio station, with racks of vintage radio gear (obviously someone had an Ebay party) and there on the bottom is a 1980's vintage RTLX 2-line frequency extender decoder.

Spoiler Alert- The station (and I assume the stalwart RTLX) gets burned to the ground later in the series.

Tuesday, August 12, 2014

Prepaid 4G Data Sims

From time to time we get inquiries from folks traveling to the US from overseas, or just in a mode where they need to use USB modems on a temporary basis and want to buy their data on a prepaid SIM.  I just went through all the hoops associated with this on both Verizon and AT&T so I thought it was a good time to share. This isn't the only way to get it done, but I found that if you go into a shop and ask for a prepaid USB modem account, you'll be met with a blank stare and a couple of hours of confusion.

First, you'll really want to invest in a modem for the particular network you're targeting, in order to avoid high costs and diversions to 2-year agreements. Ebay is your friend here. For Verizon, always choose the UML295, as it's the only USB modem to support their XLTE band. For AT&T, either the Aircard 313U or the "Beam" will work well. The Beam is a bit nicer because the display on the modem will give you your data balance. If you choose the Beam, be sure to update its firmware on a computer, as Comrex codecs now only support the latest.

Expect to pay around $50 on Ebay for each of these modems.

The approach from here depends on the provider:

Verizon

By far the easiest way to get prepaid data in Verizon is to carry a Verizon-capable iPad (or Android tablet) into the store. Borrow one if you must. For $50, they will load it with an LTE SIM with 6GB of data attached, enough for several days of audio codec and several hours of video codec use. If you use an iPad, you'll probably need a SIM adapter to fit the Apple-centric "nano" SIM into your UML295 (which uses a micro-SIM). Adapters are available at the shop or easy to get on Amazon.

With Verizon, the alternative is to get a "Jetpack" hotspot SIM (again, Jetpack hardware is cheap on Ebay) and move that to the modem. You'll probably need to cut that down to fit the micro-SIM format. For some strange reason, prepaid hotspot plans are more expensive ($60 for 3GB) than iPad plans.

Make sure your SIM is active and working on your "dummy" device before leaving the store. Also, make sure it uses LTE, and isn't locked to 3G for any reason.

Verizon will always get you for a $35 activation fee for a new account.

AT&T

AT&T iPad SIMs don't work in modems (learned that the hard way). You will need to buy a prepaid hotspot SIM here. But the cost is the same ($50/5GB). AT&T is more open about devices, so the store reps should have no trouble getting your account going directly on the USB modem (just make sure to bring your laptop). Like at Verizon, make sure your modem is running in "4G LTE" mode, and be aware AT&T offers "4G" without LTE which is slower (and which you don't want to be locked into).

Tips for both

1) Make sure they are putting you on a prepaid plan, and not a monthly one (which is different still from a post-paid contract plan). With a monthly, you are subject to overages, and you might not like the results.
2) Make sure your plan doesn't auto-renew (unless you want that). It seems that until recently, auto-renew was the default. But both the Verizon and AT&T plans I got were set to "non-auto renew" by default.
3) Using your SIM's phone number, you can create an account online and recharge your SIM whenever you want. Unused data disappears one month after you load it, so only buy what you need.
4) If you don't reload your card for three months, the carrier will deactivate it and you won't be able to reload it anymore. You'll need a new SIM. At AT&T, this is free, but Verizon charges $35 to activate a new pre-paid account.
5) Remember that if you prefer, you can always leave the SIM in your hotspot or tablet, and tether to your codec via Wi-fi. Note that not all tablets support this on all networks, so do your homework first.

Friday, August 1, 2014

Microsoft kills Skype support in STAC-VIP

We at Comrex spent the better part of a year developing what we felt was a very cool feature in our STAC-VIP product--the ability to integrate with Skype. At the time, the Skype folks were invested in this and helpful. We even had to run the certification gamut, sending a sample to Estonia and having to make all sorts of adjustments to meet their requirements. But it passed, and we were able to introduce the first pro-broadcast gear with Skype support. We were very proud, and it has been received very well.

Enter Microsoft one year ago, purchasing Skype  The first thing they did was to kill the program that allowed us to integrate, called Skypekit. But we were already past the goal line, and they assured us they would still honor registration requests from our products indefinitely.

Today we got notice that STAC-VIP (or any other Skypekit-based products) would be retired from the Skype network on August 4. This means your STAC-VIP will likely be unable to register with Skype.

As you can imagine, this is a big disappointment to us. It will certainly cause frustration with some VIP users. There's nothing worse to us than unhappy customers, and when making them happy is out of our control it just adds to the pain.

We've tried to get Microsoft to reconsider, but things look bleak. As an alternative, we recommend considering WebRTC for use with STAC-VIP. Please have a look at our new technote.

Edit 8/14/14: For clarity, Microsoft has informed us of their intention to disallow STAC-VIP to register on the Skype network, even if your unit is currently registered. The units in our lab are still registering and working as of today, so obviously Aug 4 was not a hard deadline, but they are very clear that this will not be the case soon.


Wednesday, July 23, 2014

Universal LTE devices exists

Since we've been supporting 4G modems in our ACCESS and LiveShot products, we've been on a search for a USB modem that works worldwide on any network. The problem is that, while LTE is a good standard, every region has different LTE bands active and no USB modems exist that cover everywhere. The worst offender is the US, where each carrier occupies a hodge-podge of different bands, not to mention the different 3G standards deployed. So there isn't even a common American modem out there (it would certainly make development easier if there were!)

But there is one device that contains an unlocked LTE modem compatible with virtually every 4G network worldwide--The Apple iPad Air. Apple made the decision to make only one version of the Air for use worldwide, and the compatible band list is mind-boggling, covering every 4G and 3G network we've ever encountered, including every American band and modulation. And it's only sold unlocked, to be used worldwide.

It's not as elegant as a USB modem, but the Air can easily be put into "tether" mode, allowing Comrex gear to connect to it via Wi-fi, and sharing the LTE connection.

I've done my share of Apple whining here, but this is one time they did us a solid.

Edit 9/10/14
Neglected to mention that the latest iPad mini also features this latest universal LTE modem, as well as the newly announced iPhone 6. Now we just need one in a USB form factor!


Monday, March 31, 2014

Linphone is the Best Free Codec App

As you may know, Comrex doesn't publish its own mobile phone codec app. We feel there are so many strong third party offerings we prefer to concentrate on making our hardware codecs compatible with as many of the best ones as possible. Luci Live and Luci Live Lite are examples of good, pro-grade apps that talk to our codecs. But some users feel that if an app isn't free, they don't want to try it.






There are good apps in the free realm, but they've generally got one or two drawbacks like:
* G.722 only
* Not iPhone compatible
* Require registration to a SIP provider
* Not really free (require in-app purchase for wideband)

Now that ACCESS and BRIC-Link codecs support Opus, we can recommend Linphone, available for iPhone and Android, as our preferred free app. It doesn't have any of the previous drawbacks, and works great. See our new guide on how to configure Linphone.

Connect to ACCESS and BRIC-Link from any computer

With absolutely no software installation required.

Update 7/30/14: A new, easier way to do all this has now been posted, along with technotes for ACCESS/BRIC-Link and STAC-VIP.

I've been teasing Opus and WebRTC for awhile, and I'll have a lot more to say about it after NAB. But until then, let me leave you with an experiment. This will allow you to run a remote broadcast from pretty much any computer (or Android phone) to your ACCESS or BRIC-Link codec using the Opus algorithm via WebRTC. It's also a great exercise in getting familiar with WebRTC. Here's the instructions:

1) You'll need to upgrade your codec to firmware 3.0. Beware this is an unreleased beta test version, so there could be unknown bugs. ACCESS Rack firmware is here and BRIC-Link firmware is here. Instructions on how to upgrade are on our support page.

2) Go to http://ekiga.net, and apply for a free SIP address. You'll be emailed a username and password. Note we would normally recommend our favorite free SIP provider, getonsip.com, but their addresses are incompatible with this service.

3) Enable your codec to accept NACIP/SIP calls.  This is the option that lets you accept calls from other codec brands. It's found in the System Settings Tab (advanced options) under N/ACIP SIP Settings->Accept Incoming Connections. Click "enabled". (Hint--uncheck this after use if you don't want your codec to answer random incoming SIP calls)

4) Also on the web UI, enter the SIP parameters for your ekiga.net account:
* Use SIP Proxy -> enabled
* SIP Proxy address-> ekiga.net
* SIP username -> <ekiga supplied username>
*SIP Password -> <ekiga supplied password>

Once applied, you can check registration status on the  Connections tab. SIP Status should read "online (200 OK)".

5) Go to http://click2dial.org and choose "sign up". Give a valid email address, and you'll receive an email with two pieces of information:
* Your login password
* A web link. Copy that and store it somewhere. This is what you will send to anyone you want to connect to your codec.
You'll need to validate your click2dial account via the link provided.

6) Go back to click2dial.org and log in with your email address and password. Go to "My Account", and under step 1, choose "add a SIP address". Enter the ekiga address in the following format: sip:<user_name>@ekiga.net

7) The only other thing to worry about is whether the SIP RTP ports to your codec are open. If you're on the public Internet with no router or firewall, you're good to go.  If not, and your router isn't kind to SIP traffic, you may need to forward UDP 6014 and 6015 to your codec.

8) To connect, you'll need a computer with a speaker and a microphone. WebRTC won't function without a mic on the dialing computer.  A USB headset works best, but WebRTC also has a built-in echo canceller if you're using a laptop speaker/mic. Open Chrome or Firefox and go to the link provided by click2dial. You'll be prompted for permission to use the mic. When you allow that, you should establish a nice, low delay, full-duplex Opus audio link to your codec! Even works on Firefox and Chrome for Android. Sorry, no support for iPhone (ask Apple to support WebRTC!)

Let's have a little fun with this. The first user who successfully completes an Opus call from a browser, and sends us a screenshot of the codec's web UI showing a successful Opus call, gets some nifty Comrex swag. Send your screenie to techies@comrex.com. I'll make an update here when we've gotten the winner.

Update 5/5/14: The challenge has been met! Also I updated the Comrex firmware links to the latest version, which fixes a few WebRTC-related bugs.

Update 7/30/14: A new, easier way to do all this has now been posted, along with technotes for ACCESS/BRIC-Link and STAC-VIP.


Friday, March 14, 2014

Here's some of the fires I've been putting out this week


In my role as chief first-responder to technical "fires", I thought it might be interesting to share a couple of the typical glitches we hit here day-to-day. These concern our VIP-QC app, which was designed to be the world's simplest high-quality mobile streaming app. VIP-QC allows "one-button" connect to participating stations that use the STAC-VIP talkshow system.

First, all of a sudden I got word that the app was working fine on phones that are connected via Wi-fi but failed when on the Verizon Wireless network. Weird, right? The answer was in getting packet captures of what was leaving the phone and what was arriving at the STAC-VIP. Here's one of the lines in the "SDP" header, which defines a lot about the outgoing call you wish to make. This is what we sent:
o=MxSIP 85321307875255471 85321307875255472 IN IP4 74.94.151.146
and here's what got through to the other end:
 o=MxSIP43039135937389542286 3039135937389542287 IN IP4 70.192.23.167

So the working theory is that Verizon is processing SIP calls through their wireless networks through an "ALG" that alters a lot of the information sent between devices. This might not be all bad if it works, but if you look closely you'll see the network badly "munged" the line, losing a space and reducing six fields to five. Any device trying to interpret that will fail.

Beyond that, there's also a reported issue that the app now fails when the STAC-VIP you wish to call is registered with our preferred provider, OnSIP. OnSIP is great because they handle the problem of NAT translation very elegantly, and offer free accounts at getonsip.com.

This is a little deep in the weeds, but the problem appears to be with what should have been a benign change with OnSIP accounts. One of the things about our app is that it's extremely simple--no SIP registration is required on the app side to make it work. It just blindly dials any SIP URI programmed as associated with a particular station. This works fine with OnSIP, as they accept calls to SIP addresses without the user needing to be registered on their network (this is fairly gracious behavior and not all providers support this, but it makes the VIP-QC app work).

Like a piece of mail, a SIP call has a destination and return address. Because VIP-QC doesn't register, it creates a dummy "from" address by copying parts of the "to" address. So if it's calling gary@vipuser.onsip.com, the "from" field is set to <mac address of phone>@vipuser.onsip.com.

The change OnSIP appears to have made detects when a call is made from an OnSIP user, and challenges for a password. If the "from" field says it's from a non-OnSIP account, the call proceeds normally. Since VIP-QC made up the dummy OnSIP account, it aborts the call when challenged.

How do we fix these issues? We're working on hacking the app a bit to work around both. Hopefully, we'll have an update soon. In the meantime, try to avoid Verizon Wireless and OnSIP as provider for VIP-QC.



Thursday, March 6, 2014

The Porcupine Hat

It's the internal working name for this:
Our thinking on LiveShot has been pretty consistent--with the advent of 4G, a pair of modems should be more than enough to get to the "sweet spot" of 1-2Mb/s for live video. But we've been up against two things:
1) Areas of the world where 4G is not yet deployed
2) Folks who simply believe more is better and will not try LiveShot without more modem support
The hat (officially called the "LiveShot Hub") clips to the top of the present LiveShot and provides a distributed row of USB ports at varying heights.
It's been a concern of ours since LiveShot early development that multiple modems have enough "spacial diversity" to prevent degradation of one modem's receiver while the other is transmitting. As you can see, the design of the hat allows for up to six modems to co-exist in a small space, while providing a maximal difference in space and orientation to allow lots of options for each modem's polarization. We'll be demonstrating it at NAB next month and shipping it this summer.

Friday, February 14, 2014

This is Radio Comrex

First iteration
We're putting the finishing touches on a mini-radio studio we've been working on over the last several months, located in the Comrex headquarters conference room. As you can see, the idea started out as pretty meager but grew into something we can showcase.  The idea is to allow for a place for our staff to exercise new features of more sophisticated devices like talk show systems, with a console that provides telco mix-minuses. It can also be used for sales training and support. Who knows, maybe someday someone will do a remote from here!

The studio includes a STAC-VIP talkshow system, a STAC Classic, ACCESS codec, 2 BRIC-Links, a LiveShot video codec, an AudioArts console (kudos to Jay at Wheatstone), Arrakis furniture and various audio/video sources and switches.
Final Product

Tuesday, January 28, 2014

Switchboard server for ACCESS/BRIC-Link Lives!

If you're an active user of our BRIC-TS service for finding and connecting your audio codecs together, you might notice some changes on your account interface today.

We've had a project going for a few months in modernizing how the system works, and it went live today. Most users should notice nothing, but if you log into your account you'll notice the new structure right away.

It's also moved to a new, more reliable hosting company. Our Sales Director Chris Crump has this quotable nugget about the project coming to fruition:

"Yippee!"

Why Opus is Important

Here's a secret: We're currently working on integrating the Opus codec into ACCESS and STAC-VIP. Why?

Not because Opus sounds better or is easier to use, but in fact it sounds almost as good at the AAC family of algorithms, and it's not encumbered by expensive patent licenses.

We're integrating Opus to ACCESS because it's the key to mobile app support. Many new Android and iOS softphones support it, including a particularly new one I'll be blogging about soon.

For STAC-VIP, Opus compatibility opens up huge possibilities in creating phone/web integration. If you're viewing this blog with a Chrome or Firefox browser, you actually have an Opus audio codec embedded in there, and it just takes a few more pieces in the chain to link it all together.

That's pretty exciting stuff and we'll be focusing on it a lot as we run up to our yearly big event, NAB. Watch this space for more as news develops!

Friday, January 24, 2014

When iOS Becomes the Problem Instead of the Solution

Time for some more developer whining today. We've hit quite a number of situations lately where we have a great idea to support customers better, and while gaming the concept out we hit a wall. And that wall is increasingly becoming iOS.

So many of our products have a significant web component to them now, and it's growing fast. User interfaces, support services, cloud-based registration servers etc etc. And we're actively developing apps for mobile devices that make our products easier to use.

You'll see a lot of opinion on the web about which major ecosystem- iOS or Android- is easier for developers. But what's not always mentioned is the annoying tendency for Apple to say "no way" to your idea. Sometimes it's because it crosses a technical boundary that Apple truly has installed to protect their products and users. I can sympathize with that to some extent.

But so many times it's apparent that the decision comes from a desire to control and point the user only to products that are from Apple. That really stinks. It's hard enough trying to keep my Internet provider from deciding which websites get the most bandwidth to me, and my cellular company from deciding which mobile apps I can use. But in that mix is Apple, holding a hatchet over any innovation that threatens their business model.

One example is WebRTC, which I'll blog a lot more about soon. It's about the most exciting technology to come along in our domain (wideband audio transmission) in a long time. Google's leading the drive, but a host of smaller companies are investing and innovating with it. It's a crazy, wild ride right now.

Except with Apple. WebRTC threatens their control over videoconferencing with FaceTime. So no native WebRTC in iOS browsers.

Anyone trying to innovate in the mobile space needs Apple's support to succeed. There's just so many iProducts out there. Designing only for Android leaves half the market unserved. To their credit, Apple led the charge and created the market for mobile apps. But their absolute control over their ecosystem has doomed a lot of innovative ideas, including a few in our lab. It's getting worse and under normal circumstances I would expect a backlash against this behavior. But users and the press are so enamored with the company and the products it's hard to see that happening soon.