Files
gortsplib/README.md

3.0 KiB

gortsplib

Test Lint CodeCov PkgGoDev

RTSP 1.0 client and server library for the Go programming language, written for rtsp-simple-server.

Go ≥ 1.14 is required.

Features:

  • Client
    • Query servers about available streams
    • Encrypt connections with TLS (RTSPS)
    • Read
      • Read streams from servers with UDP or TCP
      • Switch protocol automatically (switch to TCP in case of server error or UDP timeout)
      • Read only selected tracks of a stream
      • Pause reading without disconnecting from the server
      • Generate RTCP receiver reports automatically
    • Publish
      • Publish streams to servers with UDP or TCP
      • Switch protocol automatically (switch to TCP in case of server error)
      • Pause publishing without disconnecting from the server
      • Generate RTCP sender reports automatically
  • Server
    • Handle requests from clients
    • Sessions and connections are independent; clients can control multiple sessions
    • Encrypt connections with TLS (RTSPS)
    • Read streams from clients with UDP or TCP
    • Write streams to clients with UDP or TCP
    • Generate RTCP receiver reports automatically
  • Utilities
    • Encode and decode RTSP primitives, RTP/H264, RTP/AAC, SDP

Table of contents

Examples

API Documentation

https://pkg.go.dev/github.com/aler9/gortsplib#pkg-index

Related projects

IETF Standards

Conventions