Can the metadata provider channel be created with a given name?

By default all metadata channels are named “Metadata 1”, “Metadata 2”, etc. Could the name be changed using the SDK or could it be created with a name given through the SDK?

Yes, you can. There is a sample called Adding Cameras Using Configuration API, and it shows you how to add cameras and change its name. You will change metadata channel name, not a camera, but you can refer the sample. The way of changing is the same so I hope the sample helps you.

https://doc.developer.milestonesys.com/html/index.html?base=samples/componentsamples/configaddcameras/readme.html&tree=tree_2.html