air-gh / gortsplib

gortsplib for VRChat with forcing use of TCP for WMPlayer to coexist ExoPlayer TCP fallback issue

Home Page:https://github.com/google/ExoPlayer/issues/11069

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 MediaMTX.

Go ≥ 1.18 is required.

Features:

  • Client
    • Query servers about available media streams
    • Read
      • Read media 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 media streams
      • Pause or seek without disconnecting from the server
      • Generate RTCP receiver reports (UDP only)
      • Reorder incoming RTP packets (UDP only)
    • Publish
      • Publish media 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
  • Server
    • Handle requests from clients
    • Sessions and connections are independent
    • Publish
      • Read media 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)
    • Read
      • Write media 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
  • Utilities
    • Parse RTSP elements
    • Encode/decode format-specific frames into/from RTP packets. The following formats are supported:
      • Video: H264, H265, M-JPEG, VP8, VP9, MPEG-4 Video (H263, Xvid)
      • Audio: G711 (PCMA, PCMU), G722, LPCM, MPEG-2 Audio (MP3), MPEG-4 Audio (AAC), Opus

Table of contents

Examples

API Documentation

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

Standards

Links

Related projects

About

gortsplib for VRChat with forcing use of TCP for WMPlayer to coexist ExoPlayer TCP fallback issue

https://github.com/google/ExoPlayer/issues/11069

License:MIT License


Languages

Language:Go 99.4%Language:C 0.3%Language:Makefile 0.2%Language:Dockerfile 0.1%Language:Shell 0.0%