uvgrtp-base/examples/README.md

1.2 KiB

uvgRTP example codes

This directory contains a collection of simple examples that demonstrate how to use uvgRTP

Available examples

We provide several simple and thoroughly commented examples on how to use uvgRTP.

How to create a simple RTP sender

How to use fragmented input with uvgRTP HEVC slices

How to fragment generic media types

How to configure uvgRTP to send high-quality video

How to create a simple RTP receiver (hooking)

NOTE: The hook should not be used for media processing. It should be rather used as interface between application and library where the frame handout happens.

How to create a simple RTP receiver (polling)

How to create an RTCP instance (polling)

How to create an RTCP instance (hoooking)

How to use SRTP with ZRTP

How to use SRTP with user-managed keys

Memory ownership/deallocation

If you have not enabled the system call dispatcher, you don't need to worry about these

Method 1, unique_ptr

Method 2, copying

Method 3, deallocation hook