Refactor codes of setting stream info. and add support for setting internal stream...