share(type, localStreamContainer, constraints) {
    Log.i('Room~share', { type, localStreamContainer, constraints });
    // return Local.share(this.uid, type, localStreamContainer, constraints);
    return Local.getLocalVideo(this.uid, type, localStreamContainer, constraints)
      .then(stream => stream.publish(stream));
  }
/**
   * Publish a local stream
   * @param {string} type The stream type, see {@link StreamTypes} for possible values
   * @param {Element} [localStreamContainer] The element the stream is attached to.
   * Can be null if already specified in {@link Config}.
   * @param {MediaStreamConstraints} [constraints] The stream constraints.
   * If not defined, the constraints defined in {@link Config} will be used.
   * @returns {Promise<Local, Error>}
   */
Publish a local stream
@param {string} type The stream type, see  StreamTypes for possible values
@param {Element} [localStreamContainer] The element the stream is attached to.
Can be null if already specified in  Config.
@param {MediaStreamConstraints} [constraints] The stream constraints.
If not defined, the constraints defined in  Config will be used.
@returns {Promise}
Publish a local stream @param { string } type The stream type see StreamTypes for possible values @param { Element } [ localStreamContainer ] The element the stream is attached to . Can be null if already specified in Config . @param { MediaStreamConstraints } [ constraints ] The stream constraints . If not defined the constraints defined in Config will be used . @returns { Promise }
share(type, localStreamContainer, constraints) {
    Log.i('Room~share', { type, localStreamContainer, constraints });
    return Local.getLocalVideo(this.uid, type, localStreamContainer, constraints)
      .then(stream => stream.publish(stream));
  }
share ( type , localStreamContainer , constraints ) { Log . i ( 'Room~share' , { type , localStreamContainer , constraints } ) ; return Local . getLocalVideo ( this . uid , type , localStreamContainer , constraints ) . then ( stream => stream . publish ( stream ) ) ; }
Publish a local stream
 @param {string} type The stream type, see {@link StreamTypes} for possible values
 @param {Element} [localStreamContainer] The element the stream is attached to.
Publish a local stream @param { string } type The stream type see { @link StreamTypes } for possible values @param { Element } [ localStreamContainer ] The element the stream is attached to .
// return Local.share(this.uid, type, localStreamContainer, constraints);