This is my whole code. When I call GetServiceCapabilities(), OSD returns True so I think my camera does support OSD. How can I fix this error? Answer Solved this by adding VideoSourceConfigurationToken. Final code:
This is my whole code. When I call GetServiceCapabilities(), OSD returns True so I think my camera does support OSD. How can I fix this error? Answer Solved this by adding VideoSourceConfigurationToken. Final code: