diff --git a/Source/SocketRocket/Internal/Utilities/ARTSRURLUtilities.m b/Source/SocketRocket/Internal/Utilities/ARTSRURLUtilities.m index 0aebb29e2..7a5c4d05f 100644 --- a/Source/SocketRocket/Internal/Utilities/ARTSRURLUtilities.m +++ b/Source/SocketRocket/Internal/Utilities/ARTSRURLUtilities.m @@ -80,6 +80,12 @@ extern BOOL ARTSRURLRequiresSSL(NSURL *url) networkServiceType = NSStreamNetworkServiceTypeVoice; break; +#if (TARGET_OS_MACCATALYST || TARGET_OS_MAC) && !TARGET_OS_TV && !TARGET_OS_IOS + case NSURLNetworkServiceTypeVoIP: + networkServiceType = NSStreamNetworkServiceTypeVoIP; + break; +#endif + #if _ARTSR_XCODE_VERSION_11_OR_LATER case NSURLNetworkServiceTypeAVStreaming: networkServiceType = NSStreamNetworkServiceTypeVideo;