Skip to content

RTSP 1.0 client and server library for the Go programming language

License

Notifications You must be signed in to change notification settings

move2edge/gortsplib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 connection 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
    • Read streams from clients with UDP or TCP
    • Write streams to clients with UDP or TCP
    • Encrypt streams with TLS (RTSPS)
    • 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

IETF Standards

Conventions

About

RTSP 1.0 client and server library for the Go programming language

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 99.0%
  • Other 1.0%