Prevents possible NPE in the VideoChannel.setLastN() method
Takes into account the pinned endpoint when calculating the lastN set.