package netmanager.lib.playmanager;

public class PlayDefs {

	public static final int PLAY_LOG_ATTRIBUTE_ENABLE = 0x01;
	public static final int PLAY_LOG_ATTRIBUTE_PRINT = 0x02;
	public static final int PLAY_LOG_ATTRIBUTE_WRITE = 0x04;

	// 按帧序号获取关键帧
	public static final int TYPE_BY_FRAME_NUMBER = 1;
	// 按帧事件获取关键帧
	public static final int TYPE_BY_FRAME_TIME = 2;

	public static final int MAX_SOURCE_BUF_SIZE = 1024 * 1024 * 100;	// 数据流缓冲区最大长度
	public static final int MIN_SOURCE_BUF_SIZE = 1024 * 50;			// 数据流缓冲区最小长度

	public static final int STREAM_TYPE_REALTIME = 0;					// 实时流模式
	public static final int STREAM_TYPE_FILE = 1;						// 文件流模式

	public static final int PlayMS_QueryTime = 1;						//编码中时间信息
	public static final int PlayMS_QueryFileRate = 2;					//帧率信息
	public static final int PlayMS_QueryMediaInfo = 3;					//媒体信息
	public static final int PlayMS_QueryRenderNum = 4;					//当前要渲染的帧号
	public static final int PlayMS_QueryRenderTime = 5;					//当前要渲染的时间
	public static final int PlayMS_QuerySrcTime = 6;					//视频源中的时间信息
	public static final int PlayMS_QueryCurRenderNum = 7;				//当前帧号。4是上一帧的帧号
	public static final int PlayMS_QueryRenderPTS = 8;					//当前要渲染的帧时间戳
	
}
