Felipe Martínez e3f37a3e36 Support JPEG comment markers in MJPEG encoder (#219)
* Skip JPEG comments

* simplify code

---------

Co-authored-by: Alessandro Ros <aler9.dev@gmail.com>
2023-03-28 14:26:45 +02:00
2023-03-23 11:31:31 +01:00
2023-03-23 11:28:06 +01:00
2020-01-20 10:15:24 +01:00
2021-02-13 20:13:19 +01:00
2022-09-17 21:19:40 +02:00
2023-01-22 11:44:20 +01:00
2020-01-20 10:08:25 +01:00
2023-02-25 17:59:58 +01:00
2023-03-26 17:17:18 +02:00
2022-05-10 10:28:52 +02:00
2022-12-11 22:54:16 +01: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.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
      • Audio: G711 (PCMA, PCMU), G722, LPCM, MPEG4 Audio (AAC), Opus
    • Parse codec-specific elements. The following codecs are supported:
      • Video: H264, H265, M-JPEG
      • Audio: MPEG4 Audio (AAC)

Important announcement

my main open source projects are being transferred to the bluenviron organization, in order to allow the community to maintain and evolve the code regardless of my personal availability.

In the next months, the repository name will be changed accordingly.

Table of contents

Examples

API Documentation

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

Standards

Related projects

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