Class TestMediaSession

java.lang.Object
org.jivesoftware.smackx.jingleold.media.JingleMediaSession
org.jivesoftware.smackx.jingleold.mediaimpl.test.TestMediaSession

This Class implements a complete JingleMediaSession for unit testing.
  • Constructor Details

    • TestMediaSession

      public TestMediaSession(PayloadType payloadType, TransportCandidate remote, TransportCandidate local, String locator, JingleSession jingleSession)
      Creates a TestMediaSession 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