Class ScreenShareSession

java.lang.Object
org.jivesoftware.smackx.jingleold.media.JingleMediaSession
org.jivesoftware.smackx.jingleold.mediaimpl.sshare.ScreenShareSession

This Class implements a complete JingleMediaSession. It should be used to transmit and receive captured images from the Display. This Class should be automatically controlled by JingleSession. For better NAT Traversal support this implementation don't support only receive or only transmit. To receive you MUST transmit. So the only implemented and functionally methods are startTransmit() and stopTransmit()
  • Constructor Details

    • ScreenShareSession

      public ScreenShareSession(PayloadType payloadType, TransportCandidate remote, TransportCandidate local, String locator, JingleSession jingleSession)
      Creates a org.jivesoftware.jingleaudio.jmf.AudioMediaSession with defined payload type, remote and local candidates.
      Parameters:
      payloadType - Payload of the jmf
      remote - the remote information. The candidate that the jmf will be sent to.
      local - the local information. The candidate that will receive the jmf
      locator - media locator
      jingleSession - the jingle session.
  • Method Details