Esquina is the corner formed by two streets.
If the corner is formed by walls, it's "o canto".
So “o canto do quarto” would be the corner of the room?
Yes.
If you are specifically talking about football, then you'll have "O escanteio".