Ticking driveshafts mean that one or both outer joints are dry. If it clicks when you turn right, the left joint is worn and vice versa. If the inner joints are worn you should feel a vibration when driving straight ahead especially at speeds
The joint dries out when you get a hole in the rubber boot. You normally only need to dismantle the joint and clean the ball bearings and carrier. Refit and pack with fresh Moly grease and fit a new rubber boot.
While you are at it you clean and grease the inner joints.
I did this to my old car. The rubber boot was torn when the clicking started. After a week I replaced the boot and drove another 60,000 km before I scrapped the car.