Class ImageTransmitter
java.lang.Object
org.jivesoftware.smackx.jingleold.mediaimpl.sshare.api.ImageTransmitter
- All Implemented Interfaces:
Runnable
UDP Image Receiver.
It uses PNG Tiles into UDP packets.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionImageTransmitter
(DatagramSocket socket, InetAddress remoteHost, int remotePort, Rectangle area) -
Method Summary
Modifier and TypeMethodDescriptionGet the encoder used to encode Images Tiles.void
run()
void
setEncoder
(ImageEncoder encoder) Set the encoder used to encode Image Tiles.void
setTransmit
(boolean transmit) Set Transmit Enabled/Disabled.void
start()
void
stop()
Stops Transmitter.
-
Field Details
-
tileWidth
- See Also:
-
KEYFRAME
- See Also:
-
-
Constructor Details
-
ImageTransmitter
public ImageTransmitter(DatagramSocket socket, InetAddress remoteHost, int remotePort, Rectangle area)
-
-
Method Details