Class ScreenShareMediaManager
java.lang.Object
org.jivesoftware.smackx.jingleold.media.JingleMediaManager
org.jivesoftware.smackx.jingleold.mediaimpl.sshare.ScreenShareMediaManager
Implements a JingleMediaManager for ScreenSharing.
It currently uses an Audio payload Type. Which needs to be fixed in the next version.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateMediaSession
(PayloadType payloadType, TransportCandidate remote, TransportCandidate local, JingleSession jingleSession) Returns a new JingleMediaSession.getName()
Return all supported Payloads for this Manager.Returns the Preferred PayloadType of the Media Manager.void
setDecoder
(ImageDecoder decoder) void
setEncoder
(ImageEncoder encoder) Methods inherited from class org.jivesoftware.smackx.jingleold.media.JingleMediaManager
getTransportManager
-
Field Details
-
MEDIA_NAME
- See Also:
-
-
Constructor Details
-
ScreenShareMediaManager
-
-
Method Details
-
getPayloads
Return all supported Payloads for this Manager.- Specified by:
getPayloads
in classJingleMediaManager
- Returns:
- The Payload List
-
createMediaSession
public JingleMediaSession createMediaSession(PayloadType payloadType, TransportCandidate remote, TransportCandidate local, JingleSession jingleSession) Returns a new JingleMediaSession.- Specified by:
createMediaSession
in classJingleMediaManager
- Parameters:
payloadType
- payloadTyperemote
- remote Candidatelocal
- local CandidatejingleSession
- the jingle session.- Returns:
- JingleMediaSession JingleMediaSession
-
getPreferredPayloadType
Description copied from class:JingleMediaManager
Returns the Preferred PayloadType of the Media Manager.- Overrides:
getPreferredPayloadType
in classJingleMediaManager
- Returns:
- The PayloadType
-
getDecoder
-
getEncoder
-
getName
- Overrides:
getName
in classJingleMediaManager
-