Open Tomas1337 opened 3 years ago
I just ran into this as well. For some instance variables NULL is a legitimate value and you should be able to set/get them. e.g. p_groups, ndi_name
hey @rawbengal and @Tomas1337 im wondering if this is similar behavior to what im seeing (see the latest issue that ive posted)...
No matter what i do i cant get the data from an NDI audio frame, though i could just be doing something very wrong!
Driving me a bit nuts as its the last part of a project i need to get working :)
Any assistance greatly appreciated!
Hi, sorry for late reply. I confirmed the problem and reproduced it. I will try fix it.
I added a fix at 956379f89f1f5f8ccc180604a3ac0044df331d3e Since ndi_name is type string, it returns empty string if it is empty.
I've come across this problem several times while developing an application but i've always just let it pass since it's a debug problem. I'll open this issue since its becoming more prevalent:
Example:
source_object = ndi.Source() source_object.ndi_name = ndi_name print(source_object.url_address)
Expected Behavior:
print(source_object.url_address)
should print None or output an errorActual Behavior: Exits the application immediately When debugging using VS Code and PTVSD,
Server[1] closes unexpectedly