 
   import flash.utils.ByteArray;
   import flash.external.ExternalInterface;
+
+  import mx.utils.StringUtil;
 
   public class SDP {
     private var version:int = -1;

      var success:Boolean = true;
      var currentMediaBlock:Object = null;

      /* Could end up with '\r' in the 'line' variable, just keep in mind when matching */
      for each (var line:String in content.toString().split("\n")) {
        line = line.replace(/\r/, '');
        if (0 === line.length) continue;

        switch (line.charAt(0)) {
        case 'v':

          return false;
        }

        media.fmtp = new Object();
        for each (var param:String in matches[2].split(';')) {
          var idx:int = param.indexOf('=');
          media.fmtp[StringUtil.trim(param.substr(0, idx))] = StringUtil.trim(param.substr(idx + 1));
        }

        break;
