whip-service.h 478 B

123456789101112131415161718
  1. #pragma once
  2. #include <obs-module.h>
  3. #include <string>
  4. struct WHIPService {
  5. std::string server;
  6. std::string bearer_token;
  7. WHIPService(obs_data_t *settings, obs_service_t *service);
  8. void Update(obs_data_t *settings);
  9. static obs_properties_t *Properties();
  10. static void ApplyEncoderSettings(obs_data_t *video_settings, obs_data_t *audio_settings);
  11. bool CanTryToConnect();
  12. const char *GetConnectInfo(enum obs_service_connect_info type);
  13. };
  14. void register_whip_service();