Migrate all files to AAR project
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
package com.limelight.nvstream;
|
||||
|
||||
import java.net.InetAddress;
|
||||
|
||||
import javax.crypto.SecretKey;
|
||||
|
||||
import com.limelight.nvstream.av.video.VideoDecoderRenderer;
|
||||
import com.limelight.nvstream.av.video.VideoDecoderRenderer.VideoFormat;
|
||||
|
||||
public class ConnectionContext {
|
||||
// Gen 3 servers are 2.1.1 - 2.2.1
|
||||
public static final int SERVER_GENERATION_3 = 3;
|
||||
|
||||
// Gen 4 servers are 2.2.2+
|
||||
public static final int SERVER_GENERATION_4 = 4;
|
||||
|
||||
// Gen 5 servers are 2.10.2+
|
||||
public static final int SERVER_GENERATION_5 = 5;
|
||||
|
||||
// Gen 6 servers haven't been seen in the wild
|
||||
public static final int SERVER_GENERATION_6 = 6;
|
||||
|
||||
// Gen 7 servers are GFE 2.11.2.46+
|
||||
public static final int SERVER_GENERATION_7 = 7;
|
||||
|
||||
public InetAddress serverAddress;
|
||||
public StreamConfiguration streamConfig;
|
||||
public VideoDecoderRenderer videoDecoderRenderer;
|
||||
public NvConnectionListener connListener;
|
||||
public SecretKey riKey;
|
||||
public int riKeyId;
|
||||
|
||||
public int serverGeneration;
|
||||
|
||||
// This is the version quad from the appversion tag of /serverinfo
|
||||
public int[] serverAppVersion;
|
||||
|
||||
public VideoFormat negotiatedVideoFormat;
|
||||
public int negotiatedWidth, negotiatedHeight;
|
||||
public int negotiatedFps;
|
||||
}
|
||||
Reference in New Issue
Block a user