I don't see where you are actually adding the cue point to the metadata. Take a look at the CuePointSample in the OSMF release or in the repository. It shows how to dynamically add cue points at run-time. Notice the method "onClickAddCuePoint", the "addMarker" call is what adds it.
Okay, there is some things about the CuePoint Sample that don't quite make sense to me.
When I try to add markers to the dynamicTimelineMetadata, I keep getting "null" when I trace the dynamicTimelineMetadata.
For this event:
Is that triggered when a marker is added to the dynamicTimeLineMetaData?
Because if the dynamicTimelineMetadata is returning null,
then how can I add a marker to it?