declares channel_max and frame_max as properties