Media fragment parser

This commit is contained in:
sreeise 2019-07-12 06:31:27 -04:00
parent 95b304b786
commit dc11219496
7 changed files with 464 additions and 11 deletions

View file

@ -55,6 +55,10 @@ impl AudioTrack {
self.id.clone()
}
pub fn kind(&self) -> DOMString {
self.kind.clone()
}
pub fn enabled(&self) -> bool {
self.enabled.get()
}
@ -72,7 +76,7 @@ impl AudioTrackMethods for AudioTrack {
// https://html.spec.whatwg.org/multipage/#dom-audiotrack-kind
fn Kind(&self) -> DOMString {
self.kind.clone()
self.kind()
}
// https://html.spec.whatwg.org/multipage/#dom-audiotrack-label