BSSVideo.java 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. package bssoft.stack.sip;
  2. import java.util.Date;
  3. public class BSSVideo {
  4. public static int HNS_SERVICE_NONE = 9;
  5. public static int HNS_SERVICE_DOOR = 0;
  6. public static int HNS_SERVICE_LOBBY = 1;
  7. public static int HNS_SERVICE_GUARD = 2;
  8. public static int HNS_SERVICE_NEIGHBOR = 3;
  9. public static int HNS_SERVICE_TELEPHONE = 4;
  10. public static int HNS_SERVICE_HISTORY = 5;
  11. public static int HNS_SERVICE_PICTURE = 6;
  12. public static int HNS_SERVICE_ORIGINATOR_SELECTED = HNS_SERVICE_NEIGHBOR;
  13. public static int HNS_SERVICE_RECEIVER_SELECTED = HNS_SERVICE_NONE;
  14. public static String HNS_PREFIX_LOBBY = "HNSLOBBY.";
  15. public static String HNS_PREFIX_GUARD = "HNSGUARD.";
  16. public static String HNS_PREFIX_NEIGHBOR = "HNSNEIGHBOR.";
  17. public static String HNS_POSTFIX_LOBBY = ".HNSLOBBY";
  18. public static String HNS_POSTFIX_GUARD = ".HNSGUARD";
  19. public static String HNS_POSTFIX_NEIGHBOR = ".HNSNEIGHBOR";
  20. public static int codec = 98;
  21. public static int VIDEO_PTIME = 200;
  22. public static boolean bInitializeMode = false;
  23. public static int camera_width = 320;
  24. public static int camera_height = 240;
  25. public static int decode_width = 320;
  26. public static int decode_height = 240;
  27. public static int yuv_width = 320;
  28. public static int yuv_height = 240;
  29. public static int yuv_offset_x = 0;
  30. public static int yuv_offset_y = 0;
  31. public static int ENCODE_FRAME_RATE = 30;
  32. public static int KEY_FRAME_RATE = 15;
  33. public static int KEY_I_FRAME_INTERVAL = 5;
  34. public static int KEY_BIT_RATE = 1440000;
  35. public static boolean bService = false;
  36. public static boolean bViewme = false;
  37. public static int displaySizeType = 0;
  38. public static boolean bSending = false;
  39. public static boolean bFrameSet = false;
  40. public static int iFrames = 0;
  41. public static String remoteIp = null;
  42. public static int remotePort = 3002;
  43. public static int iRunmode = 0;
  44. public static boolean bVideoEncoding = false;
  45. public static boolean bVideoDecoding = false;
  46. public static boolean bSurfaceoutput = true;
  47. public static boolean bCover = true;
  48. public static boolean bRemoteview = false;
  49. public static Date dateVideoincoming = new Date();
  50. public static int incurtenLength = 2000;
  51. public static int outcurtenLength = 1000;
  52. public static boolean bVideoMute = false;
  53. public static boolean bProgressvideooffer = false;
  54. }