some refactoring to allow activating rtps, too