You may not even need direct line of sight, as long as the TV can see what your remote is shining on. I know my remotes work from behind obstacles if I just aim them up at the ceiling.
There are also inexpensive IR repeaters, intended to let you have your AV equipment stuffed in a closet and still be able to use all the remotes.
There are also inexpensive IR repeaters, intended to let you have your AV equipment stuffed in a closet and still be able to use all the remotes.