Skip to content

Repository files navigation

gortmplib

Test Lint CodeCov PkgGoDev

RTMP client and server library for the Go programming language, forked from MediaMTX.

This was created to provide Enhanced RTMP features, like multiple video/audio tracks and additional codecs.

Go ≥ 1.25 is required.

Features:

  • Play and publish multiple video and audio tracks
  • Play and publish tracks encoded with AV1, VP9, H265, H264, Opus, FLAC, MPEG-4 Audio (AAC), MPEG-1/2 Audio (MP3), AC-3, G711 (PCMA, PCMU), LPCM
  • Support most Enhanced RTMP features
  • Support TLS encryption (RTMPS)
  • Support Diffie-hellman based encryption (RTMPE)
  • Support encoding and decoding data with the AMF0 format

Table of contents

Examples

API Documentation

Click to open the API Documentation

Specifications

name area
Action Message Format - AMF0 RTMP
FLV RTMP
RTMP RTMP
Enhanced RTMP v2 RTMP
Codec specifications codecs
Golang project layout project layout

Related projects

About

RTMP client and server library for the Go programming language

Topics

Resources

Stars

23 stars

Watchers

2 watching

Forks

Releases

Used by

Contributors

Languages