We propose a game-theory-based cross-layer optimization scheme for wireless Direct Sequence Code Division Multiple Access (DS-CDMA) visual sensor networks. The scheme uses the Nash Bargaining Solution (NBS), which assumes that the nodes negotiate, with the help of a centralized control unit, on how to allocate resources. The NBS takes into account the video quality each node could achieve without making an agreement. The cross-layer optimization scheme determines the source coding rate, channel coding rate, and transmission power for each node. We compare the proposed game-theory-based scheme with competing schemes that minimize the average or maximum distortion among the nodes. Experimental results are presented and conclusions are drawn.