RTSP client and server library for the Go programming language
Go
942
2,112 commits
updated Oct 14, 2026
RTSP client and server library for the Go programming language, written for MediaMTX.
Go ≥ 1.26 is required.
Features:
Click to open the API Documentation
In RTSP, media streams are transmitted by using RTP packets, which are encoded in a specific, codec-dependent, format. This library supports the following formats:
| format | documentation | encoder and decoder available |
|---|---|---|
| AV1 | link | ✔️ |
| VP9 | link | ✔️ |
| VP8 | link | ✔️ |
| H265 | link | ✔️ |
| H264 | link | ✔️ |
| MPEG-4 Video (H263, Xvid) | link | ✔️ |
| MPEG-1/2 Video | link | ✔️ |
| M-JPEG | link | ✔️ |
| format | documentation | encoder and decoder available |
|---|---|---|
| Opus | link | ✔️ |
| Vorbis | link | |
| MPEG-4 Audio (AAC) | link | ✔️ |
| MPEG-4 Audio LATM (AAC-LATM) | link | ✔️ |
| MPEG-1/2 Audio (MP3) | link | ✔️ |
| AC-3 | link | ✔️ |
| Speex | link | |
| G726 | link | |
| G722 | link | ✔️ |
| G711 (PCMA, PCMU) | link | ✔️ |
| LPCM | link | ✔️ |
Overall
Maintained
Code review
Go module
Latest release
Releases this year
425 followers · starred Sep 2023
8 followers · starred Jul 2021
8 followers · starred Nov 2025
RTSP client and server library for the Go programming language
Go
942
2,112 commits
updated Oct 14, 2026
RTSP client and server library for the Go programming language, written for MediaMTX.
Go ≥ 1.26 is required.
Features:
Click to open the API Documentation
In RTSP, media streams are transmitted by using RTP packets, which are encoded in a specific, codec-dependent, format. This library supports the following formats:
| format | documentation | encoder and decoder available |
|---|---|---|
| AV1 | link | ✔️ |
| VP9 | link | ✔️ |
| VP8 | link | ✔️ |
| H265 | link | ✔️ |
| H264 | link | ✔️ |
| MPEG-4 Video (H263, Xvid) | link | ✔️ |
| MPEG-1/2 Video | link | ✔️ |
| M-JPEG | link | ✔️ |
| format | documentation | encoder and decoder available |
|---|---|---|
| Opus | link | ✔️ |
| Vorbis | link | |
| MPEG-4 Audio (AAC) | link | ✔️ |
| MPEG-4 Audio LATM (AAC-LATM) | link | ✔️ |
| MPEG-1/2 Audio (MP3) | link | ✔️ |
| AC-3 | link | ✔️ |
| Speex | link | |
| G726 | link | |
| G722 | link | ✔️ |
| G711 (PCMA, PCMU) | link | ✔️ |
| LPCM | link | ✔️ |
Overall
Maintained
Code review
Go module
Latest release
Releases this year
425 followers · starred Sep 2023
8 followers · starred Jul 2021
8 followers · starred Nov 2025