Skip to content

openaudiocollective/sap

Repository files navigation

sap

Package sap provides SAP (Session Announcement Protocol) parsing compliant with RFC 2974

This package is still experimental, breaking changes can happen.

Usage

Get the Module go get github.com/openaudiocollective/sap

Use the NewPacket function to create a Packet or create it manually. Unmarshal the packet to a byte slice or Marshal the packet into a structured Packet object.

Check the examples folder

Documentation

Head to the documentation page for more information.

TODO

  • Encryption/Decryption
  • Compression
  • Authentication

Inspired by pion/sdp and pion/rtp. Thanks!