For the Samsung Blu-Ray player ... and the CEC commands themselves are not standardized. The only way for HDMI CEC to be a reliable tool is to figure out commands for these devices.
Samsung TVs do not have eARC mode on as a default ... External Device Manager, then select Anynet+ (HDMI-CEC) to turn this ...
Samsung has long been one of the leading brands ... Select External Device Manager, and enable Anynet+ (HDMI-CEC) Of course, it's also worth checking if your TV's firmware is up to date.