The most likely problem in this situation is:
All traffic should be going in the same direction, and either you or the other driver is going the wrong way.
In a two-lane street with a broken white line, typically, the lanes are intended for traffic going in the same direction, and the presence of an oncoming vehicle suggests one of the drivers is not following the correct direction.