new callback handler for the mjpg server support