Skip to content

KERNEL: Extract a service module for modules to use. #820

Closed
@winlinvip

Description

@winlinvip

Right now, there are some applications or library of SRS:

  1. Binary objs/srs, generated by core/kernel/protocol/app/main.
  2. Binary objs/srs_hls_ingester, generated by core/kernel/protocol/app/main. But, it's not compatible with config object, so it set the _srs_config to NULL. That's rediculous.
  3. Library objs/lib/srs_librtmp.a, generated by core/kernel/protocol.
  4. Binaries objs/research/library/*, generated by research and srs_librtmp.a.

SRS also support modules, for example, srs_hls_ingester is a module. For all SRS modules, the config object doesn't works well, because the config object is only for objs/srs. In another word, some objects are not available for modules, so we extract a service in src/service for modules.

Please refer to the arch https://github.com/ossrs/srs/tree/develop#modularity-architecture.

Metadata

Metadata

Assignees

Labels

EnhancementImprovement or enhancement.TransByAITranslated by AI/GPT.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions