Implement IBitRateInfo

This is copy of gabest's implementation with some minor modifications.