You have to put yourself in the bus drivers seat, and how he or she reads the road, as you said you were 3 feet out from the kerb and the bus was a foot from yourself, so he was being forced out into the oncoming traffic, he or she no doubt was expecting you to move back nearer the kerb as soon as you had passed the car that had overshoot the white line, from your video, for city or town cycling you had heaps of room, not really the amount of room us cyclist want but its what we get, so to a certain extent we have to adopt our riding skills to deal with it.