Interface PublisherKit.PublisherListener

Enclosing class:
PublisherKit

public static interface PublisherKit.PublisherListener
Monitors when a publisher starts and stops streaming to the session.
See Also:
  • Method Details

    • onStreamCreated

      void onStreamCreated(PublisherKit publisher, Stream stream)
      Invoked when the publisher's stream is created.
      Parameters:
      publisher - The publisher.
      stream - The stream that that is created.
    • onStreamDestroyed

      void onStreamDestroyed(PublisherKit publisher, Stream stream)
      Invoked when the publisher's stream is destroyed.
      Parameters:
      publisher - The publisher.
      stream - The stream that that is destroyed.
    • onError

      void onError(PublisherKit publisher, OpentokError error)
      Invoked when the publisher fails.
      Parameters:
      publisher - The publisher.
      error - The error that invoked this callback.