Ticket #540 (closed feature: invalid)

Opened 4 years ago

Last modified 4 years ago

QOS Monitor

Reported by: jeroen Owned by: jeroen
Priority: Milestone: Flash 4.6
Component: Keywords:
Cc: Forum thread:

Description

As part of bitrate switching, a separate Quality of Service monitor must be introduced to the player. Abstracting out this monitor might be helpful in making the bitrate switching compatible with RTMP, FMS3.5, HTTP and chunked streaming. Even in cases where bitrate switching is not used, such a Monitor would be useful (e.g. for debugging).

Parameters

The following parameters seem like a decent set to start out with:

  • Bitrate of the stream (from manifest XML or video metadata)
  • Available bandwidth (from bytesLoaded or onBWCheck)
  • Frames dropped (from video FPS - currentFPS)
  • Display dimensions (from the RESIZE event)

Event

This data can be broadcasted with a new ModelEvent.QUALITY event. With such an event, we could create a nice quality monitor plugin.

It should also be made calleable by the models that need this data. Perhaps the models that need this data should composite this ServiceMonitor?

Change History

comment:1 Changed 4 years ago by jeroen

  • Status changed from new to closed
  • Resolution set to invalid

This doesn't really work playerwide, since the differences in detection are so different in between models.

Instead, every model will implement its own quality functionality:

  • The video model will only do an initial bandwidth check by loading a chunk of the video.
  • The http model will do bandwidth check on loading, on buffering and when fullscreen changes.
  • The rtmp model will do the same, except when dynamic switching is available. Then, dynamic switching is used.

The other, CDN-specific models inherit from those.

Note: See TracTickets for help on using tickets.