Issue trying to get program_date with fragment_playing event
Nobody has claimed this yet.
- Dominant language
- ActionScript
- Stars
- 744
- Forks
- 259
- PR merge metrics
- No merged PRs in 30d
Description
I'm having some problems trying to fire an event off to my JS player containing the program-date that should be coming with the playMetrics object in the fragment playing event. Is there any reason I would not have access to this? is seems to be a public variable
`private function _fragmentHandler(event:HLSEvent):void {
_programDate = event.playMetrics.program_date; /* <---throwing an exception*/
sendEvent(HtmlMediaEvent.FRAGMENTPLAYING);
};`
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at _fragmentHandler and inspect the HLSEvent and playMetrics definitions to confirm whether program_date is available on the fragment playing event. Trace how the event reaches the JS player and verify that the program-date value can be read without an exception and is included in the emitted fragment-playing event.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100