API for sending LLHLS ID3v2 Timed Metadata #1075
getroot
announced in
Announcement
Replies: 2 comments 1 reply
-
Is this a path to SCTE35 insertion? :-) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Could you please clarify, is there a limit on the number of events that can be sent per second? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
An API has been released that allows you to insert events into streams. Right now events only support the ID3v2 format and only the LLHLS publisher handles it. Events delivered to LLHLS Publisher are inserted as emsg boxes within the m4s container.
POST /v1/vhosts/{vhost name}/apps/{app name}/streams/{stream name}:sendEvent
eventFormat
Currently only
id3v2
is supported.eventType (Optional, Default :
event
)Select one of
event
,video
, andaudio
.event
inserts an event into every track.video
inserts events only on tracks of type video.audio
inserts events only on tracks of audio type.events
It accepts only Json array format and can contain multiple events.
frameType
Currently, only TXXX and T??? (Text Information Frames, e.g. TIT2) are supported.
info
This field is used only in TXXX and is entered in the Description field of TXXX.
data
If the frameType is TXXX, it is entered in the Value field, and if the frameType is "T???", it is entered in the Information field.
How to listen for events in OvenPlayer
Most HLS players support ID3v2 Timed Metadata events. In the case of hls.js, events can be received with Hls.Events.FRAG_PARSING_METADATA. Example code is below.
Beta Was this translation helpful? Give feedback.
All reactions