You need to convert videos to all required different qualities like 360p, 720p etc., using a Transcoder (For example : AWS Transcoder) and then you need to keep all the different bitrate files in wowza server for adaptive bitrate streaming.
The below helps you to setup Adaptive Bitrate streaming in Wowza Server