add send set encoding packet and set pixel format packet