Pyds.get_nvds_buf_surface() does not work for IP Camera!

I think this is a wrong forum.
I found the answer in the DeepStream SDK forum: use nvvideoconvert and capsfilter to convert images to RGBA.