RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
with VBN build we can create/use /opt/aamp.cfg to force a specific profile. The relevant configuration options are:
abr | disable abr mode (defaults on) |
default-bitrate | specify initial bitrate while tuning, or target bitrate while abr disabled (defaults to 2500000) |
default-bitrate-4k | specify initial bitrate while tuning 4K contents, or target bitrate while abr disabled for 4K contents (defaults to 13000000) |
For example:
```abr
default-bitrate=1200000```
Will disable abr and use the explicitly specified bitrate.
Bandwidth Throttling
To throttle the bandwidth, enable linux traffic control in the kernel using the tc utility. (This means one can change the bandwidth throttling fair easily from a terminal / script.)
In a terminal, initialize traffic control with a bandwidth of 15000kbit:
modprobe ifb
ifconfig ifb0 up
tc qdisc add dev eth0 ingress
tc filter add dev eth0 parent ffff: protocol all u32 match u32 0 0 action mirred egress redirect dev ifb0
tc qdisc add dev ifb0 root handle 1: htb default 1
tc class add dev ifb0 parent 1: classid 1:1 htb rate 15000kbit
(Here it is connected via ethernet but if its connected on wifi replace eth0 with wlan0, change it according to the interface in the device)
To drop the bandwidth to 5000kbit:
tc class change dev ifb0 parent 1: classid 1:1 htb rate 5000kbit
Review to refer => RDKAAMP-371