Firefighters use compressed air and not pure oxygen in their tanks.
By spraying the compressed air in the room, he is thinning out the concentration of paint fumes. Then, when he is spraying the concentrated air out the window, he is changing the air flow and blowing away the embers much like you would fan away dust in the air