mangui / mangui/flashls

Issue trying to get program_date with fragment_playing event

Open
#411 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

fixed/answered question
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.