Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 1.2 KB

README.md

File metadata and controls

30 lines (19 loc) · 1.2 KB

Event API (evtapi)

This is an example of how to inject dynamic metadata with GPAC.

What you need to know about this example:

  • It is limited to SCTE-35 injection. It can be extended to any metadata type. We chose SCTE-35 because it is popular and [https://wiki.gpac.io/Howtos/scte35-markers/](well supported in GPAC).
  • It implements an external evtapi filter that's loaded at runtime. It is a passthru filter that attaches a SCTE-35 property to existing packets (more below).
  • The input format is NHML file. In practice it is a small wrapper around the SCTE-35 XML payload.

Build

cmake -S . -B build
cmake --build build

Capabilities

  • NHML payload will be parsed with gf_xml_parse_bit_sequence()
  • Parsed SCTE35 samples will be put to the scte35 property on the video packets

Run

Check out the .vscode/launch.json for the launch configuration.

HTTP Requests

If you use Visual Studio Code, you can add this extension: REST Client and use the test.http file to test the API.

Click on the Send Request link above the request you want to test.