bug-22076: Set archive/live mode in publisher session