xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Changes between Initial Version and Version 1 of Ticket #1775, comment 1


Ignore:
Timestamp:
02/28/18 17:06:56 (3 years ago)
Author:
Antoine Martin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1775, comment 1

    initial v1  
    44That should only happen if your connection has limited bandwidth, some jitter or if the browser is running slowly.
    55
    6 This code was added in ticket:1341#comment:6 (16 months ago).
     6This code was added in ticket:1341#comment:6 (16 months ago), see also #845
    77
    88The [https://w3c.github.io/media-source/ MediaSource] (mozilla docs here: [https://developer.mozilla.org/en-US/docs/Web/API/MediaSource MediaSource API] does have an attribute that may allow us to figure out if the browser is buffering too much (not sure how reliable implementations are going to be - ie: Safari will probably just crash if we ask): [https://www.w3.org/TR/html51/semantics-embedded-content.html#dom-htmlmediaelement-buffered media.buffered]: ''The buffered attribute must return a new static normalized TimeRanges object that represents the ranges of the media resource, if any, that the user agent has buffered, at the time the attribute is evaluated. Users agents must accurately determine the ranges available, even for media streams where this can only be determined by tedious inspection.''.