buresu / ndi-python

NewTek NDI Python wrapper
MIT License
133 stars 30 forks source link

NDI routing: can't set name #9

Closed ja-ha closed 2 years ago

ja-ha commented 2 years ago

Hi, for some reason I can't set the ndi_name property for the NDIlib.RoutingCreate object.

Example:

if not ndi.initialize():
   return 0

route_settings = ndi.RoutingCreate()
route_settings.ndi_name = "test"

Result:

route_settings.ndi_name
>>> '`;\x12\x1d'

I'm using the develop branch code with NDI SDK 4. Any ideas on how to fix this?

ja-ha commented 2 years ago

Fixed with https://github.com/buresu/ndi-python/pull/11