remote mode
Hello! When using remote mode, the following error often occurs:
Task <88DC4801-6F6D-42C9-A04B-B1F9A0098C1D>.<14> finished with error [57] Error Domain=NSPOSIXErrorDomain Code=57 "Socket is not connected" UserInfo={NSErrorFailingURLStringKey=https://youtubekit-remote.losjet.com/v1?videoID=gir8BEqAutk, NSErrorFailingURLKey=https://youtubekit-remote.losjet.com/v1?videoID=gir8BEqAutk, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalWebSocketTask <88DC4801-6F6D-42C9-A04B-B1F9A0098C1D>.<14>" ), _NSURLErrorFailingURLSessionTaskErrorKey=LocalWebSocketTask <88DC4801-6F6D-42C9-A04B-B1F9A0098C1D>.<14>} Task <B5795580-51EA-4DF9-BE99-1886B8CE8D5B>.<15> finished with error [57] Error Domain=NSPOSIXErrorDomain Code=57 "Socket is not connected" UserInfo={NSErrorFailingURLStringKey=https://youtubekit-remote.losjet.com/v1?videoID=nBZlrbrBO1I, NSErrorFailingURLKey=https://youtubekit-remote.losjet.com/v1?videoID=nBZlrbrBO1I, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalWebSocketTask <B5795580-51EA-4DF9-BE99-1886B8CE8D5B>.<15>" ), _NSURLErrorFailingURLSessionTaskErrorKey=LocalWebSocketTask <B5795580-51EA-4DF9-BE99-1886B8CE8D5B>.<15>}
I currently don't properly return error messages from the remote server - it just closes connection. Will implement it later. But it basically means that extraction failed because the video is not available (in your country) or is banned.