Skip to content

ossrs/go-oryx-lib

Repository files navigation

go-oryx-lib

Build Status codecov

This library is exported by server go-oryx.

Requires

GO1.4+

Packages

The library provides packages about network and multiple media processing:

  • logger: Connection-Oriented logger for application server.
  • json: Json+ supports c and c++ style comments.
  • options: Frequently used service options with config file.
  • http: For http response with error, jsonp and std reponse.
  • asprocess: The associate-process, for SRS/BMS to work with external process.
  • kxps: The k-some-ps, for example, kbps, krps.
  • https: For https server over lego/acme of letsencrypt.
  • gmoryx: A gomobile API for go-oryx-lib.
  • flv: The FLV muxer and demuxer, for oryx.
  • errors: Fork from pkg/errors, a complex error with message and stack, read article.
  • aac: The AAC utilities to demux and mux AAC RAW data, for oryx.
  • websocket: Fork from websocket.
  • rtmp: The RTMP protocol stack, for oryx.
  • avc: The AVC utilities to demux and mux AVC RAW data, for oryx.
  • sip: A sip RFC3261 library for WebRTC signaling.
  • turn: A turn RFC5766 library for WebRTC and SFU.

Remark: For library, please never use logger, use errors instead.

Other multiple media libraries in golang:

License

This library just depends on golang standard library, we do this by copying the code of other libraries, while all the licenses are liberal:

  1. go-oryx-lib uses MIT License.
  2. pkg/errors uses BSD 2-clause "Simplified" License.
  3. acme uses MIT License.
  4. jose uses Apache License 2.0.
  5. letsencrypt uses BSD 3-clause "New" or "Revised" License.
  6. websocket uses BSD 2-clause "Simplified" License.

Winlin 2016