Allow getting the current URL #6376
Labels
Feature proposal
Needs Triage
If there is a suspected stream issue, apply this label to triage if it is something we should fix.
Is your feature request related to a problem? Please describe.
Right now, the
url
field is private, which means in TypeScript it's not possible to read it, but that would be useful.Describe the solution you'd like
Provide a
public getUrl(): string | null
method to access the url value.Additional context
Right now, from JS there's no problem at all reading the value, in TypeScript you need to do something like
(hls as any).url
to be able to read it.The text was updated successfully, but these errors were encountered: