libobs: Add ability for service to specify its output type
Allows the ability to change the output type in case one service requires a different output type. NOTE: This should be considered a temporarily yet simple solution to a specific problem: support for RTMP-like outputs. This will allows seamless integration of supporting different RTMP-like output types within the same service. This should probably be replaced with a more ideal solution later, such as implementing a completely different service type instead, when time permits.
This commit is contained in:
@@ -72,6 +72,8 @@ struct obs_service_info {
|
||||
void *type_data;
|
||||
void (*free_type_data)(void *type_data);
|
||||
|
||||
const char *(*get_output_type)(void *data);
|
||||
|
||||
/* TODO: more stuff later */
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user