{"id":221091,"date":"2014-04-28T07:08:03","date_gmt":"2014-04-28T03:08:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=221091"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=221091","title":{"rendered":"<span class=\"post_title\">\u0412\u0438\u0434\u0435\u043e \u043c\u043e\u043d\u0438\u0442\u043e\u0440 \u0434\u043b\u044f \u0440\u0435\u0431\u0435\u043d\u043a\u0430 \u043d\u0430 iOS \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u0445 (\u0431\u0435\u0437 WebRTC)<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/1a0\/e69\/183\/1a0e691830058df490b05fb3876189e6.png\" alt=\"image\" align=\"left\"\/>\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u043f\u043e\u0441\u0442\u0435 \u043f\u043e\u0439\u0434\u0435\u0442 \u0440\u0435\u0447\u044c \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u2014 baby monitor, \u043a\u043e\u0433\u0434\u0430 \u043e\u0434\u043d\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e (\u043f\u043b\u0430\u043d\u0448\u0435\u0442) \u0432\u044b \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0435 \u0432\u043e\u0437\u043b\u0435 \u043a\u0440\u043e\u0432\u0430\u0442\u043a\u0438 \u0440\u0435\u0431\u0435\u043d\u043a\u0430, \u0430 \u0432\u0442\u043e\u0440\u043e\u0435 (\u0442\u0435\u043b\u0435\u0444\u043e\u043d), \u0431\u0435\u0440\u0435\u0442\u0435 \u0441 \u0441\u043e\u0431\u043e\u0439, \u0441\u043a\u0430\u0436\u0435\u043c \u043d\u0430 \u043a\u0443\u0445\u043d\u044e, \u0438 \u0432\u0440\u0435\u043c\u044f \u043e\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043f\u043e\u0433\u043b\u044f\u0434\u044b\u0432\u0430\u0435\u0442\u0435 \u0437\u0430 \u0440\u0435\u0431\u0435\u043d\u043a\u043e\u043c \u0447\u0435\u0440\u0435\u0437 \u044d\u043a\u0440\u0430\u043d.<\/p>\n<p>  \u041a\u0430\u043a \u043d\u043e\u0432\u043e\u0438\u0441\u043f\u0435\u0447\u0435\u043d\u043d\u044b\u0439 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c, \u0445\u043e\u0447\u0443 \u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442 \u043a\u0443\u0447\u0443 \u043d\u0435\u0440\u0432\u043e\u0432 \u2014 \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u0438\u0441\u043b\u0443\u0448\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043a \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u0448\u043e\u0440\u043e\u0445\u0443 \u0438\u043b\u0438 \u0434\u0435\u0442\u0441\u043a\u043e\u043c\u0443 \u043a\u0440\u0438\u043a\u0443 \u0441 \u0443\u043b\u0438\u0446\u044b, \u043c\u043e\u0436\u043d\u043e \u043e\u0434\u043d\u0438\u043c \u0432\u0437\u0433\u043b\u044f\u0434\u043e\u043c \u0443\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e c \u0447\u0430\u0434\u043e\u043c \u0432\u0441\u0451 \u0432 \u043f\u043e\u0440\u044f\u0434\u043a\u0435. \u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043e \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0447\u0430\u0441\u0442\u0438: \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043d\u0430\u0448\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u0447\u043a\u0430 <a href=\"http:\/\/quickblox.com\/developers\/SimpleSample-videochat-ios\">iOS \u0432\u0438\u0434\u0435\u043e\u0447\u0430\u0442\u0430<\/a>, \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u0443\u044e \u0447\u0430\u0441\u0442\u044c (\u0441\u0438\u0433\u043d\u0430\u043b\u0438\u043d\u0433 \u0438 TURN \u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u043b\u044f NAT traversal), \u044d\u0442\u043e \u0432\u0441\u0451 \u0432 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u0435. \u0412\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043a\u0430\u043a \u0447\u0435\u0440\u0435\u0437 Wi-Fi, \u0442\u0430\u043a \u0438 \u0447\u0435\u0440\u0435\u0437 2G\/3G\/4G. \u0412 \u0430\u043f\u043f\u0441\u0442\u043e\u0440\u0435 \u0434\u043e \u043d\u0435\u0434\u0430\u0432\u043d\u0435\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0435 \u0431\u044b\u043b\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0434\u0435\u0442\u0441\u043a\u043e\u0433\u043e \u0432\u0438\u0434\u0435\u043e\u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0447\u0435\u0440\u0435\u0437 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 (\u0432\u0438\u0434\u0438\u043c\u043e \u0438\u0437-\u0437\u0430 \u0442\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u0435\u0439 \u0441 NAT traversal), \u043d\u043e \u043f\u043e\u043a\u0430 \u043c\u044b <s>\u043f\u0440\u043e\u043a\u0440\u0430\u0441\u0442\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u043b\u0438<\/s> \u0433\u043e\u0442\u043e\u0432\u0438\u043b\u0438 \u043f\u043e\u0441\u0442, \u043e\u0434\u043d\u043e \u0438\u0437 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043b\u0438\u0434\u0435\u0440\u043e\u0432 \u0432\u044b\u043f\u0443\u0441\u0442\u0438\u043b\u0438 \u043f\u043b\u0430\u0442\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 \u044d\u0442\u043e\u0433\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0430. \u0412 \u043b\u044e\u0431\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u0441\u0442\u0430\u0442\u044c\u044f \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u0435\u0437\u043d\u0430 \u0432\u0430\u043c, \u0435\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0437\u0430\u043f\u0438\u043b\u0438\u0442\u044c \u0432\u0438\u0434\u0435\u043e\u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433 \u0438\u043b\u0438 \u0434\u0432\u0443\u0445\u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0439 \u0432\u0438\u0434\u0435\u043e\u0437\u0432\u043e\u043d\u043e\u043a \u0432 \u0441\u0432\u043e\u0451\u043c iOS \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438. \u0421\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c, \u0447\u0442\u043e \u044d\u0442\u043e \u0432\u0435\u0440\u0441\u0438\u044f \u0431\u0435\u0437 WebRTC, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043e \u0432\u0435\u0431-\u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 (\u043a\u0430\u043a \u0438 \u043e\u0431 Android) \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u043c\u0441\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e, \u0442\u0430\u043c \u0435\u0441\u0442\u044c \u0441\u0432\u043e\u0438 \u043d\u044e\u0430\u043d\u0441\u044b.<\/p>\n<p>  <a name=\"habracut\"><\/a>\u0422\u0417: <br \/>  \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0445 \u0434\u0435\u0442\u0435\u0439 (\u0433\u0440\u0443\u0434\u043d\u043e\u0433\u043e \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430) \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u043f\u043e\u0434 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c iOS. \u041f\u0440\u0438 \u0441\u0442\u0430\u0440\u0442\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043d\u0430\u0439\u0442\u0438 \u0441\u043e\u0441\u0435\u0434\u043d\u0435\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0441 \u043d\u0438\u043c \u0438 \u0434\u0430\u043b\u0435\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0432\u0438\u0434\u0435\u043e-\u0437\u0432\u043e\u043d\u043e\u043a. \u0412 \u0445\u043e\u0434\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f, \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c \u0432\u0438\u0434\u0438\u0442 \u0440\u0435\u0431\u0435\u043d\u043a\u0430, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u043c \u043d\u0430 \u0442\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 \u2014 \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0441\u0432\u0435\u0442 (\u0432\u0441\u043f\u044b\u0448\u043a\u0443), \u043f\u0440\u043e\u0438\u0433\u0440\u0430\u0442\u044c \u043a\u043e\u043b\u044b\u0431\u0435\u043b\u044c\u043d\u0443\u044e, \u043f\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c \u0442\u0443\u0434\u0430 \u0432 \u043c\u0438\u043a\u0440\u043e\u0444\u043e\u043d.<\/p>\n<p>  \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043f\u0440\u043e\u0435\u043a\u0442 \u043d\u0435 \u0442\u044f\u0436\u0435\u043b\u044b\u0439, \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043b\u0435\u0436\u0430\u043b\u0438 \u0432 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 2\u0445 \u043f\u0443\u043d\u043a\u0442\u043e\u0432:  <\/p>\n<ul>\n<li>\u043f\u043e\u0438\u0441\u043a \u0438 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u044f \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432<\/li>\n<li>\u0432\u0438\u0434\u0435\u043e\u0441\u0432\u044f\u0437\u044c<\/li>\n<\/ul>\n<p>  \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u044d\u0442\u0438 \u043f\u0443\u043d\u043a\u0442\u044b \u0447\u0443\u0442\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435:<\/p>\n<p>  <b>\u041f\u043e\u0438\u0441\u043a \u0438 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u044f \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432<\/b><\/p>\n<p>  \u0421\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u043e \u0441\u0435\u0442\u0438 Wi-Fi \u0438\u043b\u0438 Bluetooth. \u041f\u043e\u0433\u0443\u0433\u043b\u0438\u0432, \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b\u0438 4 \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u043a\u0430\u043a \u044d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c. \u041f\u0440\u0438\u0432\u0435\u0434\u0435\u043c \u0438\u0445 \u043a\u0440\u0430\u0442\u043a\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435, \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430 \u0438 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u0438:<\/p>\n<ol>\n<li><a href=\"https:\/\/developer.apple.com\/bonjour\/\">Bonjour service<\/a> \u2014 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u043e Wi-Fi. \u0412 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430\u0445 \u043d\u0430\u0439\u0442\u0438 \u0442\u0430\u043a\u043e\u0439 \u0441\u0435\u043c\u043f\u043b \u043d\u0435 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0442\u0440\u0443\u0434\u0430. \u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 iOS 6-7<\/li>\n<li><a href=\"https:\/\/developer.apple.com\/library\/ios\/documentation\/NetworkingInternetWeb\/Conceptual\/CoreBluetooth_concepts\/AboutCoreBluetooth\/Introduction.html\">Core Bluetooth<\/a> \u2014 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u043a\u0430\u043a \u0431\u044b \u044d\u0442\u043e \u043d\u0435\u043e\u0436\u0438\u0434\u0430\u043d\u043d\u043e \u043d\u0438 \u0437\u0432\u0443\u0447\u0430\u043b\u043e, \u043f\u043e \u043a\u0430\u043d\u0430\u043b\u0443 Bluetooth \u0441 iOS 5 \u0438 \u0432\u044b\u0448\u0435. \u041d\u043e \u0432\u043e\u0442 \u0432 \u0447\u0435\u043c \u043d\u044e\u0430\u043d\u0441 \u2014 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e Bluetooth 4 LE. <\/li>\n<li><a href=\"https:\/\/developer.apple.com\/library\/ios\/documentation\/NetworkingInternet\/Conceptual\/GameKit_Guide\/Matchmaking\/Matchmaking.html\">GameKit<\/a>. \u041a\u0440\u0443\u0442\u0430\u044f \u0448\u0442\u0443\u043a\u0430. \u0412 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435, \u0432\u0441\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043a\u0430\u043a \u0434\u0432\u0435\u0440\u0438. \u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e, \u043d\u0430 \u043e\u0431\u044b\u0447\u043d\u043e\u043c bluetooth (\u0434\u043b\u044f \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 iPhone 4 \u0438 \u0434\u0430\u0436\u0435 \u043d\u0438\u0436\u0435). \u0422\u0430\u043a\u0436\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 Bonjour \u2014 \u0438 \u0434\u043b\u044f WiFi \u0441\u0435\u0442\u0435\u0439. \u041d\u043e \u0435\u0441\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u043a \u2014 deprecated \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 iOS 7. <\/li>\n<li><a href=\"https:\/\/developer.apple.com\/library\/ios\/documentation\/MultipeerConnectivity\/Reference\/MultipeerConnectivityFramework\/Introduction\/Introduction.html\">Multipeer Connectivity<\/a> \u2014 \u043d\u043e\u0432\u044b\u0439 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a, \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0432 iOS 7. \u041f\u043e \u0441\u0443\u0442\u0438, \u0434\u043b\u044f \u043d\u0430\u0441 \u044d\u0442\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b\u043e \u043a\u0430\u043a \u0430\u043d\u0430\u043b\u043e\u0433 GameKit, \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f iOS 7. \u0415\u0433\u043e \u043c\u044b \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043c \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438.<\/li>\n<\/ol>\n<p>  \u041c\u044b \u0441\u043c\u043e\u0433\u043b\u0438 \u0438\u043d\u043a\u0430\u043f\u0441\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u043f\u043e\u0434 \u043e\u0434\u0438\u043d \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0438 \u043d\u0435\u0432\u0430\u0436\u043d\u043e, \u043a\u0430\u043a\u0438\u043c \u0431\u044b \u0438\u0437 \u044d\u0442\u0438\u0445 \u0447\u0435\u0442\u044b\u0440\u0435\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u043c\u044b \u0432\u044b\u0431\u0440\u0430\u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0432 \u0438\u0442\u043e\u0433\u0435. \u042d\u0442\u043e \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u044b\u043c. <\/p>\n<p>  \u041e\u0431\u0449\u0438\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0442\u0430\u043a\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a (\u043f\u0440\u0435\u0444\u0438\u043a\u0441 \u00abBB\u00bb \u044d\u0442\u043e \u043e\u0442 \u043d\u0430\u0448\u0435\u0433\u043e \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0432\u044b, \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0430\u0437\u0432\u0430\u0442\u044c \u043a\u0430\u043a-\u0442\u043e \u043f\u043e-\u0434\u0440\u0443\u0433\u043e\u043c\u0443):<\/p>\n<pre><code class=\"objectivec\">#import &quot;BBDeviceModel.h&quot;  typedef enum CommonServi\u0441eType { \tCommonServiceTypeBonjour = 0, \tCommonServiceTypeBluetoothLE, \tCommonServiceTypeGameKitWiFi, \tCommonServiceTypeGameKitBluetooth, \tCommonServiceTypeMultipeer, }CommonServi\u0441eType;   @protocol BBCommonServiceDelegate;   @interface BBCommonService : NSObject  @property (nonatomic, weak) id&lt;BBCommonServiceDelegate&gt; delegate;  -(void) setConnectionType:(CommonServi\u0441eType)type;  -(void) startServerSide; -(void) stopServerSide;  -(void) startSearchDevices; -(void) stopSearchDevices; -(void) selectDevice:(BBDeviceModel *)deviceModel;  -(void) clean;  @end  @protocol BBCommonServiceDelegate &lt;NSObject&gt;  @optional  -(void) service:(BBCommonService *)servi\u0441e didFindDevice:(BBDeviceModel *)device; -(void) service:(BBCommonService *)servi\u0441e didRemoveDevice:(BBDeviceModel *)device;  -(void) service:(BBCommonService *)servi\u0441e serverDidFinishedSync:(BOOL)isFinished; -(void) service:(BBCommonService *)servi\u0441e clientDidFinishedSync:(BOOL)isFinished;  @end  @interface BBDeviceModel : NSObject  @property (nonatomic, strong)\tid\t\tdevice;  -(NSString *)deviceName; -(void)setDeviceName:(NSString *)name;  -(BOOL) isDeviceEqualTo:(id)otherDevice;  @end <\/code><\/pre>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u043d\u0430\u0441\u043b\u0435\u0434\u0443\u0435\u043c\u0441\u044f \u043e\u0442 BBCommonService \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0432\u0438\u0434\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0438 \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c \u043c\u0435\u0442\u043e\u0434\u044b start- \u0438 stop-, clean, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0432 \u043d\u0443\u0436\u043d\u044b\u0445 \u043c\u0435\u0441\u0442\u0430\u0445 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u043f\u043e\u0442\u043e\u043c \u043c\u0435\u0442\u043e\u0434\u044b \u0434\u0435\u043b\u0435\u0433\u0430\u0442\u0430. <\/p>\n<p>  <b>\u0412\u0438\u0434\u0435\u043e\u0441\u0432\u044f\u0437\u044c<\/b><\/p>\n<p>  \u0414\u043b\u044f \u0432\u0438\u0434\u0435\u043e\u0441\u0432\u044f\u0437\u0438 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 QuickBlox. \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0443\u0436\u043d\u043e <a href=\"http:\/\/admin.quickblox.com\/signin\">\u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f<\/a> \u2014 \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0447\u0435\u0433\u043e \u0432\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0435 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0430\u0434\u043c\u0438\u043d \u043f\u0430\u043d\u0435\u043b\u0438. \u0412 \u043d\u0435\u0439 \u0432\u044b \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0435 \u0441\u0432\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435. \u0414\u0430\u043b\u0435\u0435 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u0442\u0435 \u0441\u0430\u043c \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0441 <a href=\"http:\/\/quickblox.com\/developers\/IOS\">\u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430<\/a>. \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0431\u043e\u043b\u0435\u0435 \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u043e \u0437\u0434\u0435\u0441\u044c \u2014 <a href=\"http:\/\/quickblox.com\/developers\/IOS-how-to-connect-Quickblox-framework\">http:\/\/quickblox.com\/developers\/IOS-how-to-connect-Quickblox-framework<\/a>. \u0415\u0441\u043b\u0438 \u0432\u043a\u0440\u0430\u0442\u0446\u0435, \u0442\u043e:<\/p>\n<p>  1) \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c Quickblox.framework, \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u043f\u0440\u043e\u0435\u043a\u0442, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0448\u0442\u0443\u043a 15 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u2014 \u0438\u0445 \u0441\u043f\u0438\u0441\u043e\u043a \u0435\u0441\u0442\u044c \u0432 \u0442\u0443\u0442\u043e\u0440\u0438\u0430\u043b\u0435<br \/>  2) \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e, \u043d\u0443\u0436\u043d\u043e \u0432\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f \u0432 \u0430\u0434\u043c\u0438\u043d \u043f\u0430\u043d\u0435\u043b\u044c, \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0441\u0432\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0438 \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u0440\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u2014 Application id, Authorization key \u0438 Authorization secret \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430:<\/p>\n<pre><code class=\"objectivec\">[QBSettings setApplicationID:APP_ID]; [QBSettings setAuthorizationKey:AUTH_KEY]; [QBSettings setAuthorizationSecret:AUTH_SECRET]; <\/code><\/pre>\n<p>  \u0412\u0441\u0435, \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c.<\/p>\n<p>  <b>1. \u0421\u0435\u0441\u0441\u0438\u044f<\/b><\/p>\n<p>  \u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c \u043a\u043b\u0438\u0435\u043d\u0442-\u0441\u0435\u0440\u0432\u0435\u0440\u043d\u044b\u0435 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 QuickBlox, \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0435\u0441\u0441\u0438\u044e. \u0414\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u044d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e:<\/p>\n<pre><code class=\"objectivec\">[QBAuth createSessionWithDelegate:self]; <\/code><\/pre>\n<p>  \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043f\u043e\u0441\u044b\u043b\u0430\u0435\u0442\u0441\u044f \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0441\u0435\u0441\u0441\u0438\u0438 \u0438 \u043e\u0442\u0432\u0435\u0442 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u0432 \u043c\u0435\u0442\u043e\u0434 \u0434\u0435\u043b\u0435\u0433\u0430\u0442\u0430:<\/p>\n<pre><code class=\"objectivec\">- (void)completedWithResult:(Result *)result { \tQBAAuthResult *authResult = (QBAAuthResult *)result; \tif ([authResult isKindOfClass:[QBAAuthResult class]]) { \t\/\/ do something\t \t} }  <\/code><\/pre>\n<p>  <b>2. \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u044e\u0437\u0435\u0440\u0430 \u0438\u043b\u0438 \u043b\u043e\u0433\u0438\u043d. <\/b><\/p>\n<p>  \u0414\u043b\u044f \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0430\u043c \u043d\u0443\u0436\u0435\u043d \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c. \u0411\u0435\u0437 \u043d\u0435\u0433\u043e \u043d\u0438\u043a\u0443\u0434\u0430. \u0414\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u044d\u0442\u043e \u0442\u043e\u0436\u0435 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e:<\/p>\n<pre><code class=\"objectivec\">\/\/ registration  QBUUser *user\t= [QBUUser new]; \tuser.password\t= aPass; \tuser.login\t\t= aLogin; \t \t[QBUsers signUp:user \t\t   delegate:self]; <\/code><\/pre>\n<p>  \u0438\u043b\u0438 <\/p>\n<pre><code class=\"objectivec\">\/\/ login  [QBUsers logInWithUserLogin:aLogin                        password:aPass                        delegate:self]; <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u044d\u0442\u0438\u0445 \u0438 \u0432\u0441\u0435\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u043e\u0442\u0432\u0435\u0442 \u043e\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u0432 \u043c\u0435\u0442\u043e\u0434 \u0434\u0435\u043b\u0435\u0433\u0430\u0442\u0430 <code>completedWithResult:<\/code><\/p>\n<p>  \u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043b\u043e\u0433\u0438\u043d\/\u043f\u0430\u0440\u043e\u043b\u044c \u043f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u0431\u0440\u0430\u0442\u044c \u0441 UITextField\u2019\u043e\u0432. \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0437\u0430\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0435\u0449\u0435 \u0447\u0442\u043e-\u0442\u043e \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0432\u0432\u043e\u0434\u0438\u0442\u044c, \u043c\u044b \u0434\u0435\u043b\u0430\u043b\u0438 \u0441\u043a\u0440\u044b\u0442\u0443\u044e \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044e, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u043b\u0438 \u043b\u043e\u0433\u0438\u043d \u0438 \u043f\u0430\u0440\u043e\u043b\u044c \u043d\u0430 \u0431\u0430\u0437\u0435 vendorID. <\/p>\n<p>  <b>3. \u0425\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u043f\u0430\u0440\u0435<\/b><\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u0438, \u043c\u044b \u0440\u0435\u0448\u0438\u043b\u0438 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u044c Pair, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0441\u0432\u043e\u0439 id \u0438 \u043e\u043f\u043f\u043e\u043d\u0435\u043d\u0442\u0430 (\u0432\u0442\u043e\u0440\u043e\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0441 \u0434\u0430\u043d\u043d\u044b\u043c). \u0422\u0430\u043a\u0436\u0435, \u0435\u0435 \u043d\u0435 \u043c\u0435\u0448\u0430\u043b\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0433\u0434\u0435-\u043d\u0438\u0431\u0443\u0434\u044c \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440, \u0447\u0442\u043e\u0431\u044b \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043c \u043d\u0435 \u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u044e. \u0412 \u044d\u0442\u043e\u043c \u043d\u0430\u043c \u043f\u043e\u043c\u043e\u0433 \u043c\u043e\u0434\u0443\u043b\u044c <a href=\"http:\/\/quickblox.com\/developers\/SimpleSample-customObjects-ios\">Custom Objects<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e \u0441\u0443\u0442\u0438 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0411\u0414 \u0441 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u044b\u043c\u0438 \u043f\u043e\u043b\u044f\u043c\u0438. \u0418\u0442\u0430\u043a, \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b\u043e \u044d\u0442\u043e \u043f\u0440\u0438\u0431\u043b\u0438\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<pre><code class=\"objectivec\">QBCOCustomObject *customObject = [QBCOCustomObject customObject]; \t \tcustomObject.className = @&quot;Pair&quot;; \t \t\/\/ Object fields \t[customObject.fields setObject:@(userID) forKey:@\u201copponentID\u201d]; \tcustomObject.userID = self.currentUser.ID; \t \t\/\/ permissions \tQBCOPermissions *permissions = [QBCOPermissions permissions]; \tpermissions.readAccess = QBCOPermissionsAccessOpen; \tpermissions.updateAccess = QBCOPermissionsAccessOpen; \tcustomObject.permissions = permissions; \t     [QBCustomObjects createObject:customObject                          delegate:self];   - (void)completedWithResult:(Result *)result { \tQBCOCustomObjectResult *coResult = (QBCOCustomObjectResult *)result; \tif ([authResult isKindOfClass:[QBCOCustomObjectResult class]]) { \t\t\/\/ do something\t \t\tQBCOCustomObjectResult *customObjectResult = (QBCOCustomObjectResult *)result; \t\tBBPair *pair = [BBPair createEntityFromData:customObjectResult.object]; \t\tself.currentPair = pair; \t\t\/\/ ..  \t} }  <\/code><\/pre>\n<p>  \u0415\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u2014 \u0442\u0443\u0442 \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0439\u0442\u0438 \u0432 \u0430\u0434\u043c\u0438\u043d \u043f\u0430\u043d\u0435\u043b\u044c \u0438 \u0432\u043e \u0432\u043a\u043b\u0430\u0434\u043a\u0435 Custom Objects \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0443\u044e \u043c\u043e\u0434\u0435\u043b\u044c \u0441 \u043f\u043e\u043b\u044f\u043c\u0438. \u0422\u0430\u043c \u0432\u0441\u0435 \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e \u0438 \u0438\u043d\u0442\u0443\u0438\u0442\u0438\u0432\u043d\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u0442\u0430\u043a \u0447\u0442\u043e \u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442\u044c \u043d\u0435 \u0431\u0443\u0434\u0443 (\u043d\u0430 \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u2014 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0435 \u0442\u0438\u043f\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f \u043f\u043e\u043b\u0435\u0439 \u2014 integer, float, boolean, string, file).<\/p>\n<p>  \u0415\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u044c \u0441 \u0411\u0414 \u043a\u0430\u043a\u0438\u0435-\u043d\u0438\u0431\u0443\u0434\u044c \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0438, \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u044d\u0442\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u2014 <\/p>\n<pre><code class=\"objectivec\">NSMutableDictionary *getRequest = [NSMutableDictionary dictionary]; [getRequest setObject:@(self.currentUser.ID) forKey:@&quot;user_id[or]&quot;]; [getRequest setObject:@(self.currentUser.ID) forKey:@&quot;opponentID[or]&quot;]; \t [QBCustomObjects objectsWithClassName:@&quot;Pair&quot; \t\t\t\t\t\t  extendedRequest:getRequest \t\t\t\t\t\t\t\t delegate:self]; <\/code><\/pre>\n<p>  \u0414\u0430\u043d\u043d\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 \u0438\u0449\u0435\u0442 \u0432\u0441\u0435 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0438, \u0433\u0434\u0435 \u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0438\u043b\u0438 \u0442\u0435\u043a\u0443\u0449\u0438\u043c \u044e\u0437\u0435\u0440\u043e\u043c \u0438\u043b\u0438 \u043e\u043f\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u043c. <\/p>\n<p>  \u0423\u0434\u0430\u043b\u0438\u0442\u044c \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 \u0435\u0449\u0435 \u043f\u0440\u043e\u0449\u0435 \u2014 \u043d\u0443\u0436\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u043d\u0430\u0442\u044c \u0435\u0433\u043e ID.<\/p>\n<pre><code class=\"objectivec\">NSString *className = @&quot;Pair&quot;; [QBCustomObjects deleteObjectWithID:self.currentPair.pairID \t\t\t\t\t\t\t  className:className \t\t\t\t\t\t\t   delegate:self]; <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0441 \u044d\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u043a\u043e\u0433\u0434\u0430 \u044e\u0437\u0435\u0440 \u0437\u0430\u0445\u043e\u0447\u0435\u0442 \u0440\u0430\u0441\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0439 ipad\/ipod\/iphone \u0437\u0430\u0442\u0435\u043c, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0447\u0442\u043e\u0431\u044b \u0441\u0432\u044f\u0437\u0430\u0442\u044c \u0435\u0433\u043e \u043f\u043e\u0442\u043e\u043c \u0441 \u0434\u0440\u0443\u0433\u0438\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u043c. \u0412 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u043c\u044b \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0435\u043b\u0438 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043a\u043d\u043e\u043f\u043e\u0447\u043a\u0443 \u00abUnpair\u00bb \u0432 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435 Settings.<\/p>\n<p>  <b>4. \u0412\u0438\u0434\u0435\u043e\u0441\u0432\u044f\u0437\u044c<\/b><\/p>\n<p>  \u0417\u0434\u0435\u0441\u044c \u0443\u0436\u0435 \u0447\u0443\u0442\u044c \u043f\u043e\u0441\u043b\u043e\u0436\u043d\u0435\u0435. \u0412\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u043a\u0440\u043e\u043c\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0441\u0435\u0441\u0441\u0438\u0438 \u0438 \u043b\u043e\u0433\u0438\u043d\u0430 \u0435\u0449\u0435 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0437\u0430\u043b\u043e\u0433\u0438\u043d\u0438\u0442\u044c\u0441\u044f \u0432 \u0447\u0430\u0442\u0435, \u0442.\u043a. \u0447\u0430\u0442-\u0441\u0435\u0440\u0432\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0432\u0438\u0434\u0435\u043e \u0441\u0438\u0433\u043d\u0430\u043b\u043b\u0438\u043d\u0433\u0430. \u042d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u2014 <\/p>\n<pre><code class=\"objectivec\">[QBChat instance].delegate = self; [[QBChat instance] loginWithUser:self.currentUser];   \/\/ self.currentUser - QBUUser <\/code><\/pre>\n<p>  \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043c\u044b \u0431\u0435\u0440\u0435\u043c \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438 \u043b\u043e\u0433\u0438\u043d\u0438\u043c \u0435\u0433\u043e \u0432 \u0447\u0430\u0442, \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0432 \u0434\u0435\u043b\u0435\u0433\u0430\u0442. \u0415\u0441\u043b\u0438 \u0432\u0441\u0435 \u0445\u043e\u0440\u043e\u0448\u043e, \u0442\u043e \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u0440\u0430\u0437\u0443 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043e\u0434\u0438\u043d \u0438\u0437 \u043c\u0435\u0442\u043e\u0434\u043e\u0432:<\/p>\n<pre><code class=\"objectivec\">-(void)chatDidLogin { \tself.presenceTimer = [NSTimer scheduledTimerWithTimeInterval:30 target:[QBChat instance] selector:@selector(sendPresence) userInfo:nil repeats:YES]; }  -(void)chatDidNotLogin { \t }  -(void)chatDidFailWithError:(NSInteger)code {  } <\/code><\/pre>\n<p>  \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0438\u0441\u0445\u043e\u0434\u0430. \u0422\u0430\u043a\u0436\u0435, \u043c\u044b \u0441\u0440\u0430\u0437\u0443 \u0432\u0435\u0448\u0430\u0435\u043c \u043d\u0430 \u0442\u0430\u0439\u043c\u0435\u0440 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0443 presence \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0433\u043e \u043b\u043e\u0433\u0438\u043d\u0430. \u0411\u0435\u0437 \u043d\u0438\u0445 \u043c\u044b \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0443\u0439\u0434\u0435\u043c \u0432 \u043e\u0444\u0444\u043b\u0430\u0439\u043d \u0433\u0434\u0435-\u0442\u043e \u0447\u0435\u0440\u0435\u0437 \u043c\u0438\u043d\u0443\u0442\u0443. <\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0432\u0441\u0435 \u043f\u0440\u043e\u0448\u043b\u043e \u0443\u0441\u043f\u0435\u0448\u043d\u043e, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0430\u0442\u044c \u043a \u0441\u0430\u043c\u043e\u0439 \u0442\u044f\u0436\u0435\u043b\u043e\u0439 \u0447\u0430\u0441\u0442\u0438. \u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0432\u0438\u0434\u0435\u043e\u0441\u0432\u044f\u0437\u044c\u044e \u043d\u0430\u043c \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e\u0442 \u043a\u043b\u0430\u0441\u0441 QBVideoChat.<\/p>\n<p>  \u00ab\u0417\u0432\u043e\u043d\u044f\u0449\u0430\u044f\u00bb \u0441\u0442\u043e\u0440\u043e\u043d\u0430 \u0432\u043d\u0430\u0447\u0430\u043b\u0435 \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 <\/p>\n<pre><code class=\"objectivec\">self.videoChat = [[QBChat instance] createAndRegisterVideoChatInstance];<\/code><\/pre>\n<p>  \u0414\u0435\u043b\u0435\u0435 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c view \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u0438 \u043e\u043f\u043f\u043e\u043d\u0435\u043d\u0442\u0430 \u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e, \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0437\u0432\u0443\u043a\u0430 (\u0432\u043a\u043b\/\u0432\u044b\u043a\u043b) \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u2014 \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 useBackCamera:<\/p>\n<pre><code>self.videoChat.viewToRenderOwnVideoStream = myView; self.videoChat.viewToRenderOwnVideoStream = opponentView; self.videoChat.useHeadphone = NO; self.videoChat.useBackCamera = NO; self.videoChat.microphoneEnabled = YES; <\/code><\/pre>\n<p>  \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u0437\u0432\u043e\u043d\u043e\u043a:<\/p>\n<pre><code class=\"objectivec\">[self.videoChat callUser:currentPair.opponentID conferenceType:QBVideoChatConferenceTypeAudioAndVideo]; <\/code><\/pre>\n<p>  \u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0448\u0430\u0433\u043e\u043c \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u043c \u043c\u0435\u0442\u043e\u0434\u044b \u0434\u0435\u043b\u0435\u0433\u0430\u0442\u0430 \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044e. \u0415\u0441\u043b\u0438 \u0432\u0441\u0435 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u2014 \u0443 \u043e\u043f\u043f\u043e\u043d\u0435\u043d\u0442\u0430 \u0434\u043e\u043b\u0436\u0435\u043d \u043e\u0442\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043c\u0435\u0442\u043e\u0434:<\/p>\n<pre><code class=\"objectivec\">-(void) chatDidReceiveCallRequestFromUser:(NSUInteger)userID withSessionID:(NSString *)_sessionID conferenceType:(enum QBVideoChatConferenceType)conferenceType { \tself.videoChat = [[QBChat instance] createAndRegisterVideoChatInstanceWithSessionID:_sessionID]; \t     \/\/ video chat setup \tself.videoChat.viewToRenderOwnVideoStream = nil;  \tself.videoChat.useHeadphone = NO; \tself.videoChat.useBackCamera = NO; \t \tif (self.videoSide == BBVideoParentSide) { \t\tself.videoChat.viewToRenderOpponentVideoStream = self.renderView; \t\tself.videoChat.viewToRenderOwnVideoStream = nil; \t\tself.videoChat.microphoneEnabled = NO; \t\t \t}else if (self.videoSide == BBVideoChildSide) { \t\tself.videoChat.viewToRenderOpponentVideoStream = nil; \t\tself.videoChat.viewToRenderOwnVideoStream = self.renderView; \t\tself.videoChat.microphoneEnabled = NO; \t} \t \tBBPair *currentPair = [QBClient shared].currentPair; \t[self.videoChat acceptCallWithOpponentID:currentPair.opponentID conferenceType:QBVideoChatConferenceTypeAudioAndVideo]; } <\/code><\/pre>\n<p>  \u0438\u043b\u0438 <\/p>\n<pre><code class=\"objectivec\">-(void) chatCallUserDidNotAnswer:(NSUInteger)userID { } <\/code><\/pre>\n<p>  \u041d\u0430\u0434\u0435\u0435\u043c\u0441\u044f \u043d\u0430 \u0443\u0441\u043f\u0435\u0448\u043d\u044b\u0439 \u0438\u0441\u0445\u043e\u0434 \ud83d\ude42 \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043c\u044b \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e \u043e\u0442 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u043f\u043e \u0441\u0432\u043e\u0435\u043c\u0443 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c view \u0438 \u0437\u0432\u0443\u043a. \u0422\u0443\u0442 \u0432\u0441\u0435 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e \u043a\u0430\u043a \u0438 \u0432 \u043d\u0430\u0447\u0430\u043b\u0435, \u0441 \u0442\u043e\u0439 \u043b\u0438\u0448\u044c \u0440\u0430\u0437\u043d\u0438\u0446\u0435\u0439, \u0447\u0442\u043e \u0432 \u043a\u043e\u043d\u0446\u0435 \u043c\u044b \u043f\u043e\u0441\u044b\u043b\u0430\u0435\u043c accept \u0438\u043d\u0438\u0446\u0438\u0430\u0442\u043e\u0440\u0443 \u0437\u0432\u043e\u043d\u043a\u0430.<\/p>\n<p>  \u0423 \u043d\u0435\u0433\u043e \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043c\u0435\u0442\u043e\u0434 <\/p>\n<pre><code class=\"objectivec\">-(void) chatCallDidAcceptByUser:(NSUInteger)userID {\t } <\/code><\/pre>\n<p>  \u0418 \u043f\u043e\u0442\u043e\u043c \u043d\u0430 \u043e\u0431\u043e\u0438\u0445 \u0441\u0442\u043e\u0440\u043e\u043d\u0430\u0445 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442<\/p>\n<pre><code class=\"objectivec\">-(void)chatCallDidStartWithUser:(NSUInteger)userID sessionID:(NSString *)sessionID {  } <\/code><\/pre>\n<p>  \u044d\u0442\u043e\u0442 \u043c\u0435\u0442\u043e\u0434 \u043f\u043e\u043b\u0435\u0437\u0435\u043d \u0434\u043b\u044f UI \u2014 \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0443 \u0432\u0430\u0441 \u043a\u0440\u0443\u0442\u0438\u0442\u0441\u044f \u0441\u043f\u0438\u043d\u043d\u0435\u0440, \u043f\u043e\u043a\u0430 \u0432\u0441\u0435 \u044d\u0442\u043e \u0434\u0435\u043b\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442, \u0438 \u043f\u043e\u0442\u043e\u043c \u0432\u044b \u0435\u0433\u043e \u043f\u0440\u044f\u0447\u0435\u0442\u0435 \u0432 \u044d\u0442\u043e\u043c \u043c\u0435\u0442\u043e\u0434\u0435. \u0421 \u044d\u0442\u043e\u0433\u043e \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432\u0438\u0434\u0435\u043e\u0441\u0432\u044f\u0437\u044c. <\/p>\n<p>  \u041a\u043e\u0433\u0434\u0430 \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u0442\u044c \u0441\u0435\u0430\u043d\u0441 \u0438 \u00ab\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c \u0442\u0440\u0443\u0431\u043a\u0443\u00bb \u2014 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c <\/p>\n<pre><code class=\"objectivec\">[self.videoChat finishCall];  <\/code><\/pre>\n<p>  \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u043c\u0435\u0442\u043e\u0434 \u0434\u0435\u043b\u0435\u0433\u0430\u0442\u0430 \u043d\u0430 \u043f\u0440\u043e\u0442\u0438\u0432\u043e\u043f\u043e\u043b\u043e\u0436\u043d\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u0435<\/p>\n<pre><code class=\"objectivec\">-(void)chatCallDidStopByUser:(NSUInteger)userID status:(NSString *)status {  } <\/code><\/pre>\n<p>  \u0418\u043c\u0435\u0435\u0442\u0441\u044f \u0442\u0430\u043a\u0436\u0435 \u0432\u0435\u0440\u0441\u0438\u044f \u044d\u0442\u043e\u0433\u043e \u043c\u0435\u0442\u043e\u0434\u0430 \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438, \u043d\u0430 \u0441\u043b\u0443\u0447\u0430\u0439 \u0435\u0441\u043b\u0438 \u0432\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0447\u0442\u043e-\u0442\u043e \u0435\u0449\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c. <\/p>\n<p>  \u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0430\u044f \u0430\u0443\u0434\u0438\u043e- \u0432\u0438\u0434\u0435\u043e \u0441\u0435\u0441\u0441\u0438\u044f. \u0412 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0422\u0417 \u2014 \u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0432\u0438\u0434\u0435\u043e \u0438 \u0430\u0443\u0434\u0438\u043e \u0438 \u043f\u043e\u0442\u043e\u043c \u0441 \u043d\u0438\u043c \u0447\u0442\u043e-\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u2014 \u0442\u043e \u0432\u0430\u043c \u043b\u0443\u0447\u0448\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 \u0430\u0443\u0434\u0438\u043e- \u0432\u0438\u0434\u0435\u043e \u0441\u0435\u0441\u0441\u0438\u0438. SDK \u044d\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044d\u0442\u043e \u043d\u0435 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u0442\u0441\u044f, \u043d\u043e \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0437\u0434\u0435\u0441\u044c: <a href=\"http:\/\/quickblox.com\/developers\/SimpleSample-videochat-ios#Use_custom_capture_session\">http:\/\/quickblox.com\/developers\/SimpleSample-videochat-ios#Use_custom_capture_session<\/a><\/p>\n<p>  \u0418\u0442\u0430\u043a, \u0432\u0438\u0434\u0435\u043e\u0441\u0432\u044f\u0437\u044c \u043d\u0430\u043b\u0430\u0436\u0435\u043d\u0430. \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u2014 \u044d\u0442\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a\u043e\u043b\u044b\u0431\u0435\u043b\u044c\u043d\u043e\u0439 \u043d\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435 \u0440\u0435\u0431\u0435\u043d\u043a\u0430, \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u043a\u0430\u043c\u0435\u0440\u0443, \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442 \u0438 \u0442.\u0434\u2026<br \/>  \u0412\u0441\u0435 \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e. \u041f\u043e\u043c\u043d\u0438\u0442\u0435 \u043c\u044b \u043b\u043e\u0433\u0438\u043d\u0438\u043b\u0438\u0441\u044c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0432 \u0447\u0430\u0442\u0435? \u0442\u0430\u043a \u0432\u043e\u0442 \u2014 \u044d\u0442\u043e \u0435\u0449\u0435 \u043e\u0434\u0438\u043d \u043c\u043e\u0434\u0443\u043b\u044c, \u043e\u043d \u0442\u0430\u043a \u0438 \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u2014 Chat \ud83d\ude42<br \/>  \u0412 \u043d\u0435\u043c \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f. \u0427\u0442\u043e \u043c\u044b \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u2014 \u043f\u0440\u043e\u0441\u0442\u043e \u0431\u0443\u0434\u0435\u043c \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0440\u0430\u0437\u043d\u044b\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f, \u0430 \u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 \u043e\u043f\u043f\u043e\u043d\u0435\u043d\u0442\u0430 \u0438\u0445 \u043f\u0430\u0440\u0441\u0438\u0442\u044c \u0438, \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f, \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u043a\u0430\u043a\u0438\u0435-\u043b\u0438\u0431\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u2014 \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u0441\u043f\u044b\u0448\u043a\u0443 \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0438\u043b\u0438 \u0435\u0449\u0435 \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c.<\/p>\n<p>  \u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u043e (\u043c\u044b \u0432\u044b\u043d\u0435\u0441\u043b\u0438 \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043c\u0435\u0442\u043e\u0434) \u2014 <\/p>\n<pre><code class=\"objectivec\">-(void) sendServiceMessageWithText:(NSString *)text parameters:(NSMutableDictionary *)parameters{ \tBBPair *currentPair = [QBClient shared].currentPair; \t \tQBChatMessage *message = [QBChatMessage new]; \tmessage.text = text; \tmessage.senderID = currentPair.myID; \tmessage.recipientID = currentPair.opponentID; \t \tif (parameters) \t\tmessage.customParameters = parameters; \t \t[[QBChat instance] sendMessage:message]; } <\/code><\/pre>\n<p>  Text \u2014 \u044d\u0442\u043e \u0438 \u0435\u0441\u0442\u044c \u043d\u0430\u0448 \u0442\u0438\u043f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435. <\/p>\n<p>  \u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u0441\u044e\u0434\u0430 \u2014 <\/p>\n<pre><code class=\"objectivec\">-(void)chatDidReceiveMessage:(QBChatMessage *)message { \tif ([message.text isEqualToString:kRouteFlashMessage]) { \t\/\/ .. do something \t\t \t}else if ([message.text isEqualToString:kRouteCameraMessage]) { \t\/\/ ..   \t} } <\/code><\/pre>\n<p>  \u0412\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u2014 \u044d\u0442\u043e UI \u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0444\u0438\u0448\u043a\u0438. \u0412 \u0446\u0435\u043b\u043e\u043c, \u0432\u0441\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u043d\u0435\u043f\u043b\u043e\u0445\u043e. \u0412 \u043a\u043e\u043d\u0446\u0435 \u0445\u043e\u0442\u0435\u043b \u0431\u044b \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0434\u0432\u0430 \u043d\u044e\u0430\u043d\u0441\u0430:<\/p>\n<p>  1) \u0441\u0440\u043e\u043a \u0436\u0438\u0437\u043d\u0438 \u0441\u0435\u0441\u0441\u0438\u0438 \u2014 2 \u0447\u0430\u0441\u0430. \u041e\u043d \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0440\u043e\u0434\u043b\u0435\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u0441\u043b\u0435 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043d\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430. \u041d\u043e \u0435\u0441\u043b\u0438 \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u044e\u0437\u0435\u0440 \u0441\u0432\u0435\u0440\u043d\u0443\u043b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 \u043f\u043e\u043b\u0434\u043d\u044f, \u0442\u043e \u0435\u0435 \u043d\u0443\u0436\u043d\u043e \u043a\u0430\u043a-\u0442\u043e \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c. \u0414\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u044d\u0442\u043e \u043d\u0435\u0441\u043b\u043e\u0436\u043d\u043e \u2014 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 extended request:<\/p>\n<pre><code class=\"objectivec\">QBASessionCreationRequest *extendedRequest = [QBASessionCreationRequest new]; extendedRequest.userLogin = self.currentUser.login; extendedRequest.userPassword = self.currentUser.password; \t [QBAuth createSessionWithExtendedRequest:extendedRequest \t\t\t\t\t\t\t\t\tdelegate:self]; <\/code><\/pre>\n<p>  \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043c\u043e\u0436\u043d\u043e, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 <code>applicationWillEnterForeground<\/code>.<\/p>\n<p>  2) \u041c\u0435\u0442\u043e\u0434 <code>- (void)completedWithResult:(Result *)result<\/code> \u043e\u0447\u0435\u043d\u044c \u0431\u044b\u0441\u0442\u0440\u043e \u0440\u0430\u0437\u0440\u0430\u0441\u0442\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043d\u0435\u0443\u0434\u043e\u0431\u043d\u043e. \u041f\u043e\u0447\u0442\u0438 \u043a\u0430\u0436\u0434\u044b\u0439 \u043c\u0435\u0442\u043e\u0434 \u0435\u0441\u0442\u044c \u0432 2\u0445 \u0432\u0435\u0440\u0441\u0438\u044f\u0445 \u2014 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0438 \u0441 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043e\u043c. \u041a\u0430\u043a \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0431\u043b\u043e\u043a\u0438 \u2014 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u0438\u0445 \u043a\u0430\u043a \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442. \u0412\u043e\u0442 \u043a\u0430\u043a \u044d\u0442\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0441\u0435\u0441\u0441\u0438\u0438:<\/p>\n<pre><code class=\"objectivec\">typedef void (^qbSessionBlock)(BOOL isCreated, NSError *anError);  -(void) createSessionWithBlock:(qbSessionBlock)aBlock {     void (^block)(Result *) = ^(Result *result) {         if (!result.success) { \t\t\taBlock(NO, [self errorWithQBResult:result]);         } else { \t\t\taBlock(YES, nil);         }     };     [QBAuth createSessionWithDelegate:self                               context:(__bridge_retained void *)(block)]; }    - (void)completedWithResult:(Result *)result                     context:(void *)contextInfo {     void(^myBlock)(Result *result) = (__bridge void (^)(Result *__strong))(contextInfo);     myBlock(result);     Block_release(contextInfo); } <\/code><\/pre>\n<p>  \u0422\u0430\u043a \u043d\u0430\u043c\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0449\u0435. <\/p>\n<p>  \u041d\u0430 \u044d\u0442\u043e\u043c, \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435, \u0432\u0441\u0451. \u0415\u0441\u043b\u0438 \u0447\u0442\u043e \u043d\u0435 \u043f\u043e\u043d\u044f\u0442\u043d\u043e \u2014 \u043f\u0438\u0448\u0438\u0442\u0435 \u0432 \u043b\u0438\u0447\u043a\u0443 \u0438\u043b\u0438 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438. \u0417\u0434\u0435\u0441\u044c \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c, \u0447\u0442\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0448\u043b\u0430 \u0440\u0435\u0447\u044c \u0432 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435, \u0431\u044b\u043b\u043e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u043e\u0432\u0430\u043d\u043e Apple, \u0432\u044b\u0448\u043b\u043e \u0432 US Appstore \u043d\u0430 \u043f\u0435\u0440\u0432\u044b\u0435 \u043c\u0435\u0441\u0442\u0430 \u0438 \u0438\u0437 \u0442\u0440\u0451\u0445 \u043f\u043b\u0430\u0442\u043d\u044b\u0445 in-app purchase, \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0432\u0438\u0434\u0435\u043e\u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0430 \u043e\u043a\u0430\u0437\u0430\u043b\u0430\u0441\u044c \u0441\u0430\u043c\u043e\u0439 \u0432\u043e\u0441\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u043d\u043e\u0439. \u041c\u044b \u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u043c \u043d\u0430\u0434 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u043c\u0438 \u0441 \u0432\u0438\u0434\u0435\u043e \u0437\u0432\u043e\u043d\u043a\u0430\u043c\u0438 \u043f\u043e\u0434 iOS, Android, Web \u2014 \u043e\u0431\u044b\u0447\u043d\u043e \u044d\u0442\u043e \u0434\u0435\u0439\u0442\u0438\u043d\u0433\/\u0441\u043e\u0446\u0438\u0430\u043b\u043a\u0438 \u0438\u043b\u0438 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c\/\u0432\u0438\u0434\u0435\u043e\u043d\u0430\u0431\u043b\u044e\u0434\u0435\u043d\u0438\u0435, \u0442\u0430\u043a \u0447\u0442\u043e \u0431\u0443\u0434\u0443 \u0440\u0430\u0434 \u043f\u043e\u043c\u043e\u0447\u044c \u0441\u043e\u0432\u0435\u0442\u043e\u043c \u0438\u043b\u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u043c\u0438 \u043a\u043e\u0434\u0430, \u0435\u0441\u043b\u0438 \u0432\u044b \u0434\u0435\u043b\u0430\u0435\u0442\u0435 \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0435.    \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/221091\/\"> http:\/\/habrahabr.ru\/post\/221091\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/1a0\/e69\/183\/1a0e691830058df490b05fb3876189e6.png\" alt=\"image\" align=\"left\"\/>\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u043f\u043e\u0441\u0442\u0435 \u043f\u043e\u0439\u0434\u0435\u0442 \u0440\u0435\u0447\u044c \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u2014 baby monitor, \u043a\u043e\u0433\u0434\u0430 \u043e\u0434\u043d\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e (\u043f\u043b\u0430\u043d\u0448\u0435\u0442) \u0432\u044b \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0435 \u0432\u043e\u0437\u043b\u0435 \u043a\u0440\u043e\u0432\u0430\u0442\u043a\u0438 \u0440\u0435\u0431\u0435\u043d\u043a\u0430, \u0430 \u0432\u0442\u043e\u0440\u043e\u0435 (\u0442\u0435\u043b\u0435\u0444\u043e\u043d), \u0431\u0435\u0440\u0435\u0442\u0435 \u0441 \u0441\u043e\u0431\u043e\u0439, \u0441\u043a\u0430\u0436\u0435\u043c \u043d\u0430 \u043a\u0443\u0445\u043d\u044e, \u0438 \u0432\u0440\u0435\u043c\u044f \u043e\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043f\u043e\u0433\u043b\u044f\u0434\u044b\u0432\u0430\u0435\u0442\u0435 \u0437\u0430 \u0440\u0435\u0431\u0435\u043d\u043a\u043e\u043c \u0447\u0435\u0440\u0435\u0437 \u044d\u043a\u0440\u0430\u043d.<\/p>\n<p>  \u041a\u0430\u043a \u043d\u043e\u0432\u043e\u0438\u0441\u043f\u0435\u0447\u0435\u043d\u043d\u044b\u0439 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c, \u0445\u043e\u0447\u0443 \u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442 \u043a\u0443\u0447\u0443 \u043d\u0435\u0440\u0432\u043e\u0432 \u2014 \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u0438\u0441\u043b\u0443\u0448\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043a \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u0448\u043e\u0440\u043e\u0445\u0443 \u0438\u043b\u0438 \u0434\u0435\u0442\u0441\u043a\u043e\u043c\u0443 \u043a\u0440\u0438\u043a\u0443 \u0441 \u0443\u043b\u0438\u0446\u044b, \u043c\u043e\u0436\u043d\u043e \u043e\u0434\u043d\u0438\u043c \u0432\u0437\u0433\u043b\u044f\u0434\u043e\u043c \u0443\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e c \u0447\u0430\u0434\u043e\u043c \u0432\u0441\u0451 \u0432 \u043f\u043e\u0440\u044f\u0434\u043a\u0435. \u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043e \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0447\u0430\u0441\u0442\u0438: \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043d\u0430\u0448\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u0447\u043a\u0430 <a href=\"http:\/\/quickblox.com\/developers\/SimpleSample-videochat-ios\">iOS \u0432\u0438\u0434\u0435\u043e\u0447\u0430\u0442\u0430<\/a>, \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u0443\u044e \u0447\u0430\u0441\u0442\u044c (\u0441\u0438\u0433\u043d\u0430\u043b\u0438\u043d\u0433 \u0438 TURN \u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u043b\u044f NAT traversal), \u044d\u0442\u043e \u0432\u0441\u0451 \u0432 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u0435. \u0412\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043a\u0430\u043a \u0447\u0435\u0440\u0435\u0437 Wi-Fi, \u0442\u0430\u043a \u0438 \u0447\u0435\u0440\u0435\u0437 2G\/3G\/4G. \u0412 \u0430\u043f\u043f\u0441\u0442\u043e\u0440\u0435 \u0434\u043e \u043d\u0435\u0434\u0430\u0432\u043d\u0435\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0435 \u0431\u044b\u043b\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0434\u0435\u0442\u0441\u043a\u043e\u0433\u043e \u0432\u0438\u0434\u0435\u043e\u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0447\u0435\u0440\u0435\u0437 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 (\u0432\u0438\u0434\u0438\u043c\u043e \u0438\u0437-\u0437\u0430 \u0442\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u0435\u0439 \u0441 NAT traversal), \u043d\u043e \u043f\u043e\u043a\u0430 \u043c\u044b <s>\u043f\u0440\u043e\u043a\u0440\u0430\u0441\u0442\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u043b\u0438<\/s> \u0433\u043e\u0442\u043e\u0432\u0438\u043b\u0438 \u043f\u043e\u0441\u0442, \u043e\u0434\u043d\u043e \u0438\u0437 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043b\u0438\u0434\u0435\u0440\u043e\u0432 \u0432\u044b\u043f\u0443\u0441\u0442\u0438\u043b\u0438 \u043f\u043b\u0430\u0442\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 \u044d\u0442\u043e\u0433\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0430. \u0412 \u043b\u044e\u0431\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u0441\u0442\u0430\u0442\u044c\u044f \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u0435\u0437\u043d\u0430 \u0432\u0430\u043c, \u0435\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0437\u0430\u043f\u0438\u043b\u0438\u0442\u044c \u0432\u0438\u0434\u0435\u043e\u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433 \u0438\u043b\u0438 \u0434\u0432\u0443\u0445\u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0439 \u0432\u0438\u0434\u0435\u043e\u0437\u0432\u043e\u043d\u043e\u043a \u0432 \u0441\u0432\u043e\u0451\u043c iOS \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438. \u0421\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c, \u0447\u0442\u043e \u044d\u0442\u043e \u0432\u0435\u0440\u0441\u0438\u044f \u0431\u0435\u0437 WebRTC, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043e \u0432\u0435\u0431-\u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 (\u043a\u0430\u043a \u0438 \u043e\u0431 Android) \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u043c\u0441\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e, \u0442\u0430\u043c \u0435\u0441\u0442\u044c \u0441\u0432\u043e\u0438 \u043d\u044e\u0430\u043d\u0441\u044b.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-221091","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/221091","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=221091"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/221091\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=221091"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=221091"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=221091"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}