Also rename canStreamOnChannel to checkCanStreamOnChannel. It makes more sense since it sets the channelErrorLabel text as well as returning the status.
Alternatively it could be renamed to checkCanStreamOnChannelAndSetLabelText, but that's very verbose.
Also rename
canStreamOnChannel
tocheckCanStreamOnChannel
. It makes more sense since it sets thechannelErrorLabel
text as well as returning the status.Alternatively it could be renamed to
checkCanStreamOnChannelAndSetLabelText
, but that's very verbose.