Ticket #555 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

Clean up models by removing CDN specific ones / make their specific stuff settable

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

Description (last modified by jeroen) (diff)

There's two cases in which CDNs are simply derivatives of default streaming formats:

  1. HTTP streaming with a slightly different start parameter:
    • bitgravity (starttime)
    • edgecast (ec_seek)
    • flvseek (fs)
    • lighttpd (start)
  2. RTMP streaming with a SMIL file for load balancing:
    • highwinds
    • vdox

Removing these models and adding flashvars for these settings cleans up a lot of code. We need the following flashvars, with their defaults:

  • http.startparam (undefined)
  • rtmp.loadbalance (false)

Of course we shouldn't break backward compatibility. Therefore, a translation array should be introduced to translate the CDN types to their parent types, also setting the correct flashvars. The logic for that should reside in the controller (getModelType). The list for that can be put into AbstractModel or another model helper class.

Change History

comment:1 Changed 4 years ago by jeroen

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

comment:2 Changed 4 years ago by jeroen

  • Description modified (diff)
Note: See TracTickets for help on using tickets.