|
@@ -148,6 +148,10 @@ Service Definition Structure
|
|
|
the data manually (typically best to use strlist_split to
|
|
|
generate this)
|
|
|
|
|
|
+.. member:: const char *(*obs_service_info.get_protocol)(void *data)
|
|
|
+
|
|
|
+ :return: The protocol used by the service
|
|
|
+
|
|
|
|
|
|
General Service Functions
|
|
|
-------------------------
|
|
@@ -305,6 +309,12 @@ General Service Functions
|
|
|
for the service, terminated with a *NULL* pointer. Does not
|
|
|
need to be freed
|
|
|
|
|
|
+---------------------
|
|
|
+
|
|
|
+.. function:: const char *obs_service_get_protocol(const obs_service_t *service)
|
|
|
+
|
|
|
+ :return: Protocol currently used for this service
|
|
|
+
|
|
|
.. ---------------------------------------------------------------------------
|
|
|
|
|
|
.. _libobs/obs-service.h: https://github.com/obsproject/obs-studio/blob/master/libobs/obs-service.h
|