GstConstants.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. #ifndef _GSTCONSTANTS_H_
  2. #define _GSTCONSTANTS_H_
  3. /** the GST class defines configuration and runtime constants
  4. pertaining to the Gstreamer media backend class */
  5. class GST
  6. {
  7. public:
  8. static const uint8 MIN_MAJOR_VERSION ;
  9. static const uint8 MIN_MINOR_VERSION ;
  10. // NOTE: compositor inputs are either mutually exclusive (compositor disabled)
  11. // or must all be enabled (compositor enabled)
  12. // N_COMPOSITOR_INPUTS is coupled to the state of AvCaster::DisabledFeatures
  13. static const int N_COMPOSITOR_INPUTS ;
  14. // element IDs
  15. static const String PIPELINE_ID ;
  16. static const String SCREENCAP_BIN_ID ;
  17. static const String CAMERA_BIN_ID ;
  18. static const String TEXT_BIN_ID ;
  19. static const String IMAGE_BIN_ID ;
  20. static const String COMPOSITOR_BIN_ID ;
  21. static const String PREVIEW_BIN_ID ;
  22. static const String PREVIEW_SINK_ID ;
  23. static const String PREVIEW_FAUXSINK_ID ;
  24. static const String PREVIEW_SINKPAD_ID ;
  25. static const String AUDIO_BIN_ID ;
  26. static const String MUXER_BIN_ID ;
  27. static const String OUTPUT_BIN_ID ;
  28. // plugin IDs
  29. #if JUCE_LINUX
  30. static const String SCREEN_PLUGIN_ID ;
  31. static const String CAMERA_PLUGIN_ID ;
  32. static const String ALSA_PLUGIN_ID ;
  33. static const String PULSE_PLUGIN_ID ;
  34. static const String JACK_PLUGIN_ID ;
  35. static const String PREVIEW_PLUGIN_ID ;
  36. #endif //JUCE_LINUX
  37. static const String FAUXSRC_PLUGIN_ID ;
  38. static const String FAUXSINK_PLUGIN_ID ;
  39. static const String TESTVIDEO_PLUGIN_ID ;
  40. static const String TESTAUDIO_PLUGIN_ID ;
  41. static const String FILESINK_PLUGIN_ID ;
  42. static const String RTMPSINK_PLUGIN_ID ;
  43. static const String LCTV_RTMP_URL ;
  44. // library error messages
  45. static const String ALSA_INIT_ERROR ;
  46. static const String PULSE_INIT_ERROR ;
  47. static const String JACK_INIT_ERROR ;
  48. static const String XV_INIT_ERROR ;
  49. static const String FILE_SINK_ERROR ;
  50. } ;
  51. #endif // _GSTCONSTANTS_H_