tmatth / gortsplib

RTSP 1.0 client and server library for the Go programming language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gortsplib

Test Lint Go Report Card CodeCov PkgGoDev

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

Go ≥ 1.16 is required.

Features:

  • Client
    • Query servers about available streams
    • Read
      • Read streams from servers with the UDP, UDP-multicast or TCP transport protocols
      • Read streams encrypted with TLS
      • Switch protocol automatically (switch to TCP in case of server error or UDP timeout)
      • Read only selected tracks of a stream
      • Pause or seek without disconnecting from the server
      • Generate RTCP receiver reports automatically
    • Publish
      • Publish streams to servers with the UDP or TCP transport protocols
      • Publish streams encrypted with TLS
      • Switch protocol automatically (switch to TCP in case of server error)
      • Pause without disconnecting from the server
      • Generate RTCP sender reports automatically
  • Server
    • Handle requests from clients
    • Sessions and connections are independent
    • Write streams to clients with the UDP, UDP-multicast or TCP transport protocols
    • Write streams to clients encrypted with TLS
    • Read streams from clients with the UDP or TCP transport protocols
    • Write streams to clients encrypted with TLS
    • Provide SSRC, RTP-Info to clients automatically
    • 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

Links

Related projects

Standards

About

RTSP 1.0 client and server library for the Go programming language

License:MIT License


Languages

Language:Go 99.2%Language:C 0.3%Language:Makefile 0.3%Language:Dockerfile 0.2%Language:Shell 0.0%