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

        return true;
      }

      var matches:Array; /* Used in some cases of below switch-case */
      var separator:int    = line.indexOf(':');
      var attribute:String = line.substr(0, (-1 === separator) ? 0x7FFFFFFF : separator);

      switch (attribute) {
      case 'a=recvonly':

          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;
