Pick one and try it. Then please let us know.
HDMI is touchy and these type of units advertised to work may not, as they can fall foul of the fact that HDMI is touchy and has a lot of inbuilt digital rights management. Especially the latter means you can never guarantee success with any course of action.
If you look at the reviews, then you can see both worked to some degree 75% of the time. For the rest it did not work or there were significant issues.
You should know that the legality of those units is questionable as it strips the HDCP codes, which is part of digital rights management. The industry has threatened, and has taken, legal action against those type of devices. They are known collectively as HDMI audio strippers.
Basically the industry wants only HDMI to HDMI connections, and continues to ramp up actions against other connections. In short they continue to try and enforce the HDMI handshake between devices.
Your best option is to get a soundbar with a certified HDMI input. Lastly even if your solution works now, it could be silenced down the road with a firmware upgrade.