set isPublisher to false after screenshare ends