resolve #27 , public check box is added. If it is checked,
registerLiveStream is called with true, otherwise it is called by false