A man is sentenced to hang for murder following a virtual court session amid the coronavirus pandemic.