2020-01-20 10:15:24 +01:00
2021-02-13 20:13:19 +01:00
2022-03-13 14:49:44 +01:00
2022-07-09 17:13:11 +02:00
2022-04-10 15:19:55 +02:00
2022-06-24 16:41:01 +02:00
2022-06-24 16:41:01 +02:00
2020-01-20 10:08:25 +01:00
2022-08-04 18:59:15 +02:00
2022-07-23 23:18:40 +02:00
2022-08-05 23:40:11 +02:00
2022-08-05 23:40:11 +02:00
2022-08-05 23:40:11 +02:00
2022-06-28 12:10:30 +02:00
2022-06-28 12:10:30 +02:00
2022-08-05 23:40:11 +02:00
2022-05-10 10:28:52 +02:00

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 and tracks
    • Read
      • Read streams from servers with the UDP, UDP-multicast or TCP transport protocol
      • Read TLS-encrypted streams (TCP only)
      • Switch transport protocol automatically
      • Read only selected tracks of a stream
      • Pause or seek without disconnecting from the server
      • Generate RTCP receiver reports (UDP only)
      • Reorder incoming RTP packets (UDP only)
      • Clean up non-compliant streams (remove padding, re-encode RTP packets if they are too big)
    • Publish
      • Publish streams to servers with the UDP or TCP transport protocol
      • Publish TLS-encrypted streams (TCP only)
      • Switch transport protocol automatically
      • Pause without disconnecting from the server
      • Generate RTCP sender reports (UDP only)
  • Server
    • Handle requests from clients
    • Sessions and connections are independent
    • Publish
      • Read streams from clients with the UDP or TCP transport protocol
      • Read TLS-encrypted streams (TCP only)
      • Generate RTCP receiver reports (UDP only)
      • Reorder incoming RTP packets (UDP only)
      • Clean up non-compliant streams (remove padding, re-encode RTP packets if they are too big)
    • Read
      • Write streams to clients with the UDP, UDP-multicast or TCP transport protocol
      • Write TLS-encrypted streams
      • Compute and provide SSRC, RTP-Info to clients
      • Generate RTCP sender reports (UDP only)
  • Utilities
    • Parse RTSP elements: requests, responses, SDP
    • Parse H264 elements and formats: RTP/H264, Annex-B, AVCC, anti-competition, DTS
    • Parse AAC elements and formats: RTP/AAC, ADTS, MPEG-4 audio configurations

Table of contents

Examples

API Documentation

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

Related projects

Standards

Description
No description provided
Readme MIT 15 MiB
Languages
Go 99.8%
Makefile 0.2%