Package net.bramp.ffmpeg.progress
Class UdpProgressParser
java.lang.Object
net.bramp.ffmpeg.progress.AbstractSocketProgressParser
net.bramp.ffmpeg.progress.UdpProgressParser
- All Implemented Interfaces:
Closeable
,AutoCloseable
,ProgressParser
-
Constructor Summary
ConstructorDescriptionUdpProgressParser
(ProgressListener listener) UdpProgressParser
(ProgressListener listener, int port, InetAddress addr) -
Method Summary
Modifier and TypeMethodDescriptionprotected Runnable
getRunnable
(CountDownLatch startSignal) protected String
getUri()
The URL to parse to FFmpeg to communicate with this parservoid
stop()
Methods inherited from class net.bramp.ffmpeg.progress.AbstractSocketProgressParser
close, start
-
Constructor Details
-
UdpProgressParser
- Throws:
SocketException
URISyntaxException
-
UdpProgressParser
public UdpProgressParser(ProgressListener listener, int port, InetAddress addr) throws SocketException, URISyntaxException - Throws:
SocketException
URISyntaxException
-
-
Method Details
-
stop
- Specified by:
stop
in interfaceProgressParser
- Overrides:
stop
in classAbstractSocketProgressParser
- Throws:
IOException
-
getThreadName
- Specified by:
getThreadName
in classAbstractSocketProgressParser
-
getRunnable
- Specified by:
getRunnable
in classAbstractSocketProgressParser
-
getUri
Description copied from interface:ProgressParser
The URL to parse to FFmpeg to communicate with this parser- Returns:
- The URI to communicate with FFmpeg.
-