link start!
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package com.tridium.videoDriver.mobile;
|
||||
|
||||
import javax.baja.security.BUsernameAndPassword;
|
||||
|
||||
public interface IMobileConnectionParams {
|
||||
String getBase64StreamUrl();
|
||||
|
||||
BUsernameAndPassword getConnectionCredentials();
|
||||
|
||||
BMobileDecoderType getDecoderType();
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package com.tridium.videoDriver.mobile.http;
|
||||
|
||||
import com.tridium.videoDriver.mobile.IMobileConnectionParams;
|
||||
|
||||
public interface IMobileHttpConnectionParams extends IMobileConnectionParams {
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.tridium.videoDriver.mobile.rtsp;
|
||||
|
||||
import com.tridium.videoDriver.mobile.IMobileConnectionParams;
|
||||
|
||||
public interface IMobileRtspConnectionParams extends IMobileConnectionParams {
|
||||
int getControlPort();
|
||||
|
||||
int getDataPort();
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.tridium.videoDriver.videoStream;
|
||||
|
||||
import com.tridium.videoDriver.videoStream.decoder.IVideoDecoder;
|
||||
|
||||
public interface IVideoDestination {
|
||||
IVideoDecoder getVideoDecoder();
|
||||
|
||||
IVideoSession getVideoSession();
|
||||
|
||||
void receiveVideoStream(IVideoStream iVideoStream);
|
||||
|
||||
void videoStreamTimeout();
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.tridium.videoDriver.videoStream;
|
||||
|
||||
public interface IVideoPlayback {
|
||||
void changePlayback(BPlaybackParams bPlaybackParams);
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package com.tridium.videoDriver.videoStream;
|
||||
|
||||
public interface IVideoSession extends IVideoPlayback {
|
||||
int getVideoSessionId();
|
||||
|
||||
void stopVideoSession();
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.tridium.videoDriver.videoStream;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
|
||||
public interface IVideoStream {
|
||||
void closeVideoStream() throws IOException;
|
||||
|
||||
InputStream getInputStream();
|
||||
|
||||
BPlaybackParams getPlaybackParams();
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
package com.tridium.videoDriver.videoStream.decoder;
|
||||
|
||||
import com.tridium.videoDriver.ui.BIVideoPlayer;
|
||||
import com.tridium.videoDriver.videoStream.BIVideoSource;
|
||||
import com.tridium.videoDriver.videoStream.IVideoDestination;
|
||||
import com.tridium.videoDriver.videoStream.IVideoSession;
|
||||
import com.tridium.videoDriver.videoStream.WaitForStopDecoding;
|
||||
import javax.baja.sys.BRelTime;
|
||||
|
||||
public interface IVideoDecoder extends IVideoDestination {
|
||||
void decodeFrame(VidFrame vidFrame) throws Exception;
|
||||
|
||||
IVideoMultistreamDecoder getMultistreamDecoder();
|
||||
|
||||
BIVideoPlayer getVideoPlayer();
|
||||
|
||||
IVideoSession getVideoSession();
|
||||
|
||||
BIVideoSource getVideoSource();
|
||||
|
||||
void init(BIVideoSource bIVideoSource, BIVideoPlayer bIVideoPlayer, BRelTime bRelTime, IVideoSession iVideoSession);
|
||||
|
||||
boolean isFinished();
|
||||
|
||||
void keepAlive();
|
||||
|
||||
void readFrameData(VidFrame vidFrame) throws Exception;
|
||||
|
||||
void setMultistreamDecoder(IVideoMultistreamDecoder iVideoMultistreamDecoder);
|
||||
|
||||
void stopDecoding(WaitForStopDecoding waitForStopDecoding);
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.tridium.videoDriver.videoStream.decoder;
|
||||
|
||||
import javax.baja.gx.Graphics;
|
||||
import javax.baja.ui.BWidget;
|
||||
|
||||
public interface IVideoImagePainter {
|
||||
void paintImage(Graphics graphics, BWidget bWidget);
|
||||
}
|
||||
Reference in New Issue
Block a user