tvkitchen / appliances

A one stop shop for official TV Kitchen Appliances
GNU Lesser General Public License v3.0
3 stars 0 forks source link

Add segment support to the SRT appliance #92

Closed slifty closed 3 years ago

slifty commented 3 years ago

Task

Description

Now that we have the video segmentor appliance it would be good to update the srt generator to optionally honor segment announcements to reset timestamps.

From an implementation perspective this would mean adding SEGMENT.START to the payload input type list.

I'm not sure if we want "honoring segments" to be something that gets directly configured or if segments starts should simply be honored if they are ever emitted. For this issue I don't think we should add a configuration setting, but just have it so if a segment announcement occurs it triggers an SRT reset (counter reset + base timestamp reset) on new segments.