GbSteamIdentification.java 990 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. package com.genersoft.iot.vmp.gb28181.bean;
  2. /**
  3. * 码流索引标识
  4. */
  5. public enum GbSteamIdentification {
  6. /**
  7. * 主码流 stream:0
  8. * 子码流 stream:1s
  9. */
  10. streamMain("stream", new String[]{"0","1"}),
  11. /**
  12. * 国标28181-2022定义的方式
  13. * 主码流 streamnumber:0
  14. * 子码流 streamnumber:1
  15. */
  16. streamnumber("streamnumber", new String[]{"0","1"}),
  17. /**
  18. * 主码流 streamprofile:0
  19. * 子码流 streamprofile:1
  20. */
  21. streamprofile("streamprofile", new String[]{"0","1"}),
  22. /**
  23. * 适用的品牌: TP-LINK
  24. */
  25. streamMode("streamMode", new String[]{"main","sub"}),
  26. ;
  27. GbSteamIdentification(String value, String[] indexArray) {
  28. this.value = value;
  29. this.indexArray = indexArray;
  30. }
  31. private String value;
  32. private String[] indexArray;
  33. public String getValue() {
  34. return value;
  35. }
  36. public String[] getIndexArray() {
  37. return indexArray;
  38. }
  39. }