code: function (mediaStreamId, options, plugin) {
      var Proto = function MediaStreamTrack () {},
          api = new Proto();
  
      api.id = options.id;
      api.kind = options.kind;
      api.label = options.label;
      api.enabled = $.castToBoolean(options.enabled);
      api.streamId = mediaStreamId;
  
      api.setEnabled = function (enabled) {
        api.enabled = $.castToBoolean(enabled);
  
        if (api.enabled) {
          plugin._.enableMediaStreamTrack(mediaStreamId, api.id);
        }
        else {
          plugin._.disableMediaStreamTrack(mediaStreamId, api.id);
        }
      };
  
      return api;
    }
docs: /* global VideoContainer:true /* exported MediaStream