| 패키지 | org.osmf.net.rules |
| 클래스 | public class RuleBase |
| 상속 | RuleBase Object |
| 하위 클래스 | BandwidthRule, DroppedFPSRule, EmptyBufferRule |
| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | OSMF 2.0 |
| 런타임 버전: | Flash Player 10, AIR 1.5 |
RuleBase is a base class for rules used for Adaptive Bitrate. A rule recommends a bitrate to the switch manager and a confidence in the recommended bitrate. A rule's value is computed based on the values of the metrics.
관련 API 요소
org.osmf.net.abr.Recommendation
공용 속성
| 속성 | 정의 주체 | ||
|---|---|---|---|
![]() | constructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다. | Object | |
| metricRepository : MetricRepository [읽기 전용]
The metric repository. | RuleBase | ||
보호 속성
| 속성 | 정의 주체 | ||
|---|---|---|---|
| _metricRepository : MetricRepository | RuleBase | ||
공용 메서드
| 메서드 | 정의 주체 | ||
|---|---|---|---|
RuleBase(metricRepository:MetricRepository)
Constructor. | RuleBase | ||
Returns the recommendation of this rule
(ideal bitrate, confidence, weight)
Subclasses must implement this method. | RuleBase | ||
![]() |
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | |
![]() |
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | |
![]() |
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | |
![]() |
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | |
![]() |
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | |
![]() |
지정된 객체의 문자열 표현을 반환합니다. | Object | |
![]() |
지정된 객체의 프리미티브 값을 반환합니다. | Object | |
속성 세부 정보
_metricRepository | 속성 |
protected var _metricRepository:MetricRepositorymetricRepository | 속성 |
metricRepository:MetricRepository [읽기 전용] | 언어 버전: | ActionScript 3.0 |
| 제품 버전: | OSMF 2.0 |
| 런타임 버전: | Flash Player 10, AIR 1.5 |
The metric repository. Required metrics are obtained from it.
구현
public function get metricRepository():MetricRepository생성자 세부 정보
RuleBase | () | 생성자 |
public function RuleBase(metricRepository:MetricRepository)| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | OSMF 2.0 |
| 런타임 버전: | Flash Player 10, AIR 1.5 |
Constructor.
매개 변수metricRepository:MetricRepository — The metric repository from which to retrieve the necessary metrics
|
메서드 세부 정보
getRecommendation | () | 메서드 |
public function getRecommendation():Recommendation| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | OSMF 2.0 |
| 런타임 버전: | Flash Player 10, AIR 1.5 |
Returns the recommendation of this rule (ideal bitrate, confidence, weight) Subclasses must implement this method.
반환값Recommendation |
Tue Jun 12 2018, 03:17 PM Z
상속되는 공용 속성 숨기기
상속되는 공용 속성 표시