       };
     }
 
-    public function createMetaDataTag():void {
+    public function createMetaDataTag(params):void {
       var size:uint = 0;
 
       /* FLV Tag */

        break;

      case 7: /* Sequence parameter set */
        /* What to do about these? Inserting new decoder configurations doesn't seem to work. */
        /* createDecoderConfigRecordTag(nalu.getPayload(), new ByteArray()); */
        break;

      case 8: /* Picture parameter set */
        /* What to do about these? Inserting new decoder configurations doesn't seem to work. */
        /* createDecoderConfigRecordTag(new ByteArray(), nalu.getPayload()); */
        break;

      default:


      /* Method call */
      size += writeString("onMetaData");

      /* Arguments */
      size += writeECMAArray({
