Type Alias PublishWithStreamOptions

PublishWithStreamOptions: {
    mediaStream: MediaStream;
    releaseOnLeave?: boolean;
}

Options to publish with a MediaStream object managed outside of this SDK.

Type declaration

  • mediaStream: MediaStream

    The MediaStream object to publish to the stream.

  • OptionalreleaseOnLeave?: boolean

    Release the mediaStream when unpublishing the source.

    Default value is true.