2026-09-06 20:46:08 -07:00
|
|
|
/*
|
|
|
|
|
streamer-tools OBS Camera Plugin
|
|
|
|
|
Copyright (C) 2026 CyberCoveLLC <jknapp85@gmail.com>
|
|
|
|
|
|
2026-09-07 04:44:16 -07:00
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
2026-09-06 20:46:08 -07:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/* Adapted from obsproject/obs-plugintemplate (commit 3e7d7ac,
|
|
|
|
|
* 2025-12-09), the standard starting point for third-party OBS
|
|
|
|
|
* plugins. */
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
#include <stdarg.h>
|
|
|
|
|
#include <string.h>
|
|
|
|
|
|
|
|
|
|
extern const char *PLUGIN_NAME;
|
|
|
|
|
extern const char *PLUGIN_VERSION;
|
|
|
|
|
|
|
|
|
|
void obs_log(int log_level, const char *format, ...);
|
|
|
|
|
extern void blogva(int log_level, const char *format, va_list args);
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|