set snapclient name at runtime #41
-
By default the snapclient name can be set using the constant CONFIG_SNAPCAST_CLIENT_NAME. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
I you would have checked the documentation, you would have found this method! |
Beta Was this translation helpful? Give feedback.
-
So, I checked the documentation and indeed found the "setHostName" method but I can't figure out how to call it in my program ... |
Beta Was this translation helpful? Give feedback.
-
Thanks for the fast answer ... For the benefit of the noobs like me who spent too much time scratching their head on that trivial problem ... : You need to instantiate an object first : then pass that object to the client and finally pass the new hostname to the method Took me a while to figure out. |
Beta Was this translation helpful? Give feedback.
I you would have checked the documentation, you would have found this method!