0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 13:08:50 +02:00
obs-studio/libobs
jp9000 4a6d19f206 libobs: Add services API, reduce repeated code
Add API for streaming services.  The services API simplifies the
creation of custom service features and user interface.

Custom streaming services later on will be able to do things such as:

 - Be able to use service-specific APIs via modules, allowing a more
   direct means of communicating with the service and requesting or
   setting service-specific information

 - Get URL/stream key via other means of authentication such as OAuth,
   or be able to build custom URLs for services that require that sort
   of thing.

 - Query information (such as viewer count, chat, follower
   notifications, and other information)

 - Set channel information (such as current game, current channel title,
   activating commercials)

Also, I reduce some repeated code that was used for all libobs objects.
This includes the name of the object, the private data, settings, as
well as the signal and procedure handlers.

I also switched to using linked lists for the global object lists,
rather than using an array of pointers (you could say it was..
pointless.)  ..Anyway, the linked list info is also stored in the shared
context data structure.
2014-04-19 20:38:53 -07:00
..
callback Check for duplicate names (function parser) 2014-03-02 19:44:22 -07:00
graphics Add NULL checks and assertions to fix clang static analysis problems 2014-04-14 23:02:53 +02:00
media-io Add NULL checks and assertions to fix clang static analysis problems 2014-04-14 23:02:53 +02:00
util util/darray.h: Fix astoundingly silly assert 2014-04-19 20:35:03 -07:00
CMakeLists.txt libobs: Add services API, reduce repeated code 2014-04-19 20:38:53 -07:00
config.h.in Add config.h generation and wrapper header, currently only for OBS_VERSION 2014-04-01 22:11:44 +02:00
obs-avc.c obs-output module: Fill out more functions 2014-04-02 00:42:12 -07:00
obs-avc.h obs-output module: Fill out more functions 2014-04-02 00:42:12 -07:00
obs-cocoa.c Rename obs-data.h to obs-internal.h 2014-01-26 18:48:14 -07:00
obs-config.h Add config.h generation and wrapper header, currently only for OBS_VERSION 2014-04-01 22:11:44 +02:00
obs-data.c Make sure ot use the right enum name 2014-03-16 20:44:27 -07:00
obs-data.h obs-data: Internally store as int or double 2014-03-16 20:38:13 -07:00
obs-defs.h Implement RTMP module (still needs drop code) 2014-04-07 22:00:10 -07:00
obs-display.c libobs: Add services API, reduce repeated code 2014-04-19 20:38:53 -07:00
obs-encoder.c libobs: Add services API, reduce repeated code 2014-04-19 20:38:53 -07:00
obs-encoder.h Fix issue when using multiple video encoders 2014-04-10 11:59:42 -07:00
obs-internal.h libobs: Add services API, reduce repeated code 2014-04-19 20:38:53 -07:00
obs-module.c libobs: Add services API, reduce repeated code 2014-04-19 20:38:53 -07:00
obs-module.h Well, that was embarassing. (Remove size macro) 2014-04-05 01:49:21 -07:00
obs-nix.c Add more checks for NULL pointers 2014-02-23 22:39:33 -07:00
obs-output.c libobs: Add services API, reduce repeated code 2014-04-19 20:38:53 -07:00
obs-output.h Remove the weird size stuff from OBS_DECLARE_MODULE 2014-04-05 01:45:53 -07:00
obs-properties.c obs-properties: Add a few features 2014-04-19 20:29:11 -07:00
obs-properties.h obs-properties: Add a few features 2014-04-19 20:29:11 -07:00
obs-scene.c libobs: Add services API, reduce repeated code 2014-04-19 20:38:53 -07:00
obs-scene.h Use atomic functions where appropriate 2014-03-16 18:26:46 -07:00
obs-service.c libobs: Add services API, reduce repeated code 2014-04-19 20:38:53 -07:00
obs-service.h libobs: Add services API, reduce repeated code 2014-04-19 20:38:53 -07:00
obs-source.c libobs: Add services API, reduce repeated code 2014-04-19 20:38:53 -07:00
obs-source.h Fix drawing bug with async video sources 2014-04-13 02:22:28 -07:00
obs-ui.h Revamp API and start using doxygen 2014-02-12 08:04:50 -07:00
obs-video.c libobs: Add services API, reduce repeated code 2014-04-19 20:38:53 -07:00
obs-view.c Activate user-selected audio devices 2014-03-07 17:03:34 -07:00
obs-windows.c Implement some basic logging for windows 2014-04-14 04:02:11 -07:00
obs.c libobs: Add services API, reduce repeated code 2014-04-19 20:38:53 -07:00
obs.h libobs: Add services API, reduce repeated code 2014-04-19 20:38:53 -07:00
obs.hpp Add source properties window (very preliminary) 2014-03-23 01:07:54 -07:00