Virtual Box Bootcamp Windows 8.1

So after a bit of trial and error with some help from some forums.. I was able to get my windows 8.1 bootcamp installed system load up in my virtual box. This makes it possible to test items quickly without having to boot over completely.. but leaves a nice option to dual boot if you need to get more performance out of your system and 8.1.

My steps were pretty straightfoward and were based somewhat off of the Windows 7 tutorial found here:

Wowza Remote/Local Debugging with IntelliJ IDEA

When moving from eclipse to intellij one of the things I missed most was the ability to debug wowza applications from within the IDE. Luckily there is a way to get IntelliJ to accomplish this same thing.

I'm basing this off of Wowza Streaming Engine 4.0.3 and IntelliJ IDEA 13.1.2. Wowza running on Ubuntu 12.04 and IntelliJ on my Mac (OSX 10.9.2)

This will require a change to a wowza config and adding a new run option inside of IntelliJ for a debug session. Let's walk through this.

Intellij Code Style ActionScript Arrangement feature is awesome

I've been using Intellij IDEA for a while now and didn't really dig into the code cleanup stuff until today. I must say.. it is awesome. If you're unsure what it is then I'd suggest you take a look at the Preferences > Code Style > ActionScript.. or any other language you use.

At first it seemed somewhat cryptic with what a var vs a property was.. but it cleared up. The default profile is not ideal for what I wanted so I tweaked it for my specific actionscript style. I'll post it here for folks who may want to do a simple import or if I lose my config for some reason.

Happy coding!

Wowza Media Server Documentation and IntelliJ IDEA

Recently I've switched to using IntelliJ IDEA for all my work.. including my Java work for Wowza. It works great I must say. The one area that was struggling with was integrating the documentation into my wowza global library. It's not that it was difficult but that the wowza documentation online was all pdf. After some looking around I finally found wowza hosted online documentation. So here is the proces of adding a global library for wowza with online or offline documentation enabled.

#1. Open your project settings

NetConnectionSmart turns 1

As of today I have updated the NetConnectionSmart library to include full support for all the flash protocols. This includes rtmp,rtmpt,rtmpe,rtmpte,rtmps, and rtmfp.

Up until today rtmfp was left out to fend for itself. Now it's possible to use the NetConnectionSmart capabilities with rtmfp like auto reconnect.

NetStreamSmart plays well with this also which is a great feather as well in it's proverbial hat.

Check them out here for more info:

HipChat Mac Native Client

I've been using HipChat with a client for some time now and really like it. The initial application was an Air application which worked ok.. but they have recently released a Mac native version. What's cooler even still.. this version made it out before a native Windows client. Gotta love that.

Here is the link to check it out and grab it.

Eclipse Bare Bones

Spent another 30 min trying to figure this out.. thought I'd just get it written somewhere.

This site is where you can grab the binary versions of Eclipse. These are the bare bones of what you need to get Eclipse running. From there you can add onto it. Much cleaner if you ask me.

Incidentally.. I'm starting to look harder at intellij and see where that brings me.

Flash Audio Echo Cancellation (AEC) Broken. >SOLVED

Wow.. been a rough few weeks.. 11.2 was causing some serious issues with the Buffer Events for publishing streams not working.. and I was fighting with why AEC had stopped working.

After MUCH code teardown and debugging.. it turns out that if you set the bufferTime property on the netstream you're playing on to 0.1 then AEC fails. Like so:

ns_other_guy = new NetStream();
ns_other_guy.bufferTime = 0.1;

As soon as you publish your stream and start playing the incoming on.. AEC doesn't work. Setting the value to anything other than 0 causes issues.

Migrate from gitosis to gitolite

I had searched around on the net for easy solutions to do this.. and to be frank.. didn't find anything super helpful that wasn't overly complex. So here is an easy way to do it. My system is an Ubuntu 10.04.3 but should be similar to many other systems.

1. Install gitolite (apt-get install gitolite). This is a good reference:

2. Edit your gitosis conf file to disable access to your current git repositories

Amazon Web Service with Elastic Load Balancing and Nginx over SSL

I just spent the better part of a day trying to get this working. I was forwarding 443 (HTTPS) from ELB to 443 (HTTPS) that Nginx was listening on.

Everything was working fine except when we tried to do jquery ajax POSTs. The browser would get back a 502 (Bad Gateway) error every time.

We even tried to just have Nginx listen on 80 (HTTP) but the same problem occurred. So our solution.. was to just use TCP forwards for 443 and it started working. Seems ELB messes with the data flowing over it.

Syndicate content