{"id":284657,"date":"2017-04-08T19:55:02","date_gmt":"2017-04-08T15:55:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=284657"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=284657","title":{"rendered":"WebRTC, Safari"},"content":{"rendered":"<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/214\/344\/1c1\/2143441c12084cad878446094574736a.png\" \/><\/div>\n<p>  \u0412 \u0430\u043f\u0440\u0435\u043b\u0435 \u043f\u0440\u043e\u0448\u043b\u043e\u0433\u043e \u0433\u043e\u0434\u0430 \u043f\u043e \u0441\u0435\u0442\u0438 \u043f\u0440\u043e\u043a\u0430\u0442\u0438\u043b\u0441\u044f \u043f\u0440\u0435\u0441\u0441-\u0440\u0435\u043b\u0438\u0437 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e Apple \u0432\u044b\u043a\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 WebRTC \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445 Safari \u0434\u043b\u044f Mac OS \u0438 iOS. \u0421 \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u0432\u044b\u0445\u043e\u0434\u0430 \u043f\u0440\u0435\u0441\u0441-\u0440\u0435\u043b\u0438\u0437\u0430 \u0441\u043a\u043e\u0440\u043e \u043f\u0440\u043e\u0439\u0434\u0435\u0442 \u0440\u043e\u0432\u043d\u043e 1 \u0433\u043e\u0434 \u043a\u0430\u043a Apple \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u0442 \u0432\u044b\u043a\u0430\u0442\u044b\u0432\u0430\u0442\u044c WebRTC \u0434\u043b\u044f Safari. \u0416\u0434\u0435\u043c.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/89c\/9bc\/f66\/89c9bcf66dd74025946df4ed6ca086c6.png\" \/><\/div>\n<p>  \u041e\u0434\u043d\u0430\u043a\u043e \u0436\u0434\u0443\u0442 \u043d\u0435 \u0432\u0441\u0435. \u041a\u043e\u043c\u0443-\u0442\u043e \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0440\u0435\u0430\u043b-\u0442\u0430\u0439\u043c \u0432\u0438\u0434\u0435\u043e \u0432 Safari \u043f\u0440\u044f\u043c\u043e \u0441\u0435\u0439\u0447\u0430\u0441 \u0438 \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0435\u043c \u043a\u0430\u043a \u043e\u0431\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0431\u0435\u0437 WebRTC \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 iOS Safari \u0438 Mac OS Safari \u0438 \u0447\u0435\u043c \u043c\u043e\u0436\u043d\u043e \u0435\u0433\u043e \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c.<a name=\"habracut\"><\/a><\/p>\n<p>  \u041d\u0430 \u0441\u0435\u0433\u043e\u0434\u043d\u044f\u0448\u043d\u0438\u0439 \u0434\u0435\u043d\u044c \u043d\u0430\u043c \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b:<\/p>\n<ul>\n<li>HLS<\/li>\n<li>Flash<\/li>\n<li>Websockets<\/li>\n<li>WebRTC Plugin<\/li>\n<li>iOS native app<\/li>\n<\/ul>\n<p>  \u0422\u0430\u043a \u043a\u0430\u043a \u043c\u044b \u0438\u0449\u0435\u043c \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u0443 RTC (Real Time Communication), \u0442\u043e \u0441\u0440\u0430\u0432\u043d\u0438\u043c \u044d\u0442\u0438 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430\u043c iOS \/ Mac OS, \u043d\u043e \u0438 \u043f\u043e \u0441\u0440\u0435\u0434\u043d\u0435\u0439 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0435 (Latency) \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0430\u0445.  <\/p>\n<table>\n<tbody>\n<tr>\n<td><\/td>\n<td><b>iOS<\/b><\/td>\n<td><b>Mac OS<\/b><\/td>\n<td>Latency<\/td>\n<\/tr>\n<tr>\n<td>HLS, DASH<\/td>\n<td><font color=\"#088A08\"><b>\u0414\u0430<\/b><\/font><\/td>\n<td><font color=\"#088A08\"><b>\u0414\u0430<\/b><\/font><\/td>\n<td>15<\/td>\n<\/tr>\n<tr>\n<td>Flash RTMP<\/td>\n<td>\u041d\u0435\u0442<\/td>\n<td><font color=\"#088A08\"><b>\u0414\u0430<\/b><\/font><\/td>\n<td>3<\/td>\n<\/tr>\n<tr>\n<td>Flash RTMFP<\/td>\n<td>\u041d\u0435\u0442<\/td>\n<td><font color=\"#088A08\"><b>\u0414\u0430<\/b><\/font><\/td>\n<td>1<\/td>\n<\/tr>\n<tr>\n<td>Websockets<\/td>\n<td><font color=\"#088A08\"><b>\u0414\u0430<\/b><\/font><\/td>\n<td><font color=\"#088A08\"><b>\u0414\u0430<\/b><\/font><\/td>\n<td>3<\/td>\n<\/tr>\n<tr>\n<td>WebRTC Plugin<\/td>\n<td>\u041d\u0435\u0442<\/td>\n<td><font color=\"#088A08\"><b>\u0414\u0430<\/b><\/font><\/td>\n<td>0.5<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>  <\/p>\n<h3>HLS<\/h3>\n<p>  \u041a\u0430\u043a \u0432\u0438\u0434\u043d\u043e \u0438\u0437 \u044d\u0442\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u044b, HLS \u0441\u043e\u0432\u0441\u0435\u043c \u0432\u044b\u043f\u0430\u0434\u0430\u0435\u0442 \u0438\u0437 \u0440\u0435\u0430\u043b\u0442\u0430\u0439\u043c\u0430 \u0441\u043e \u0441\u0432\u043e\u0438\u043c\u0438 15 \u0438 \u0431\u043e\u043b\u0435\u0435 \u0441\u0435\u043a\u0443\u043d\u0434\u0430\u043c\u0438 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0438, \u0445\u043e\u0442\u044f \u0438 \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 \u043e\u0431\u043e\u0438\u0445 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430\u0445.<\/p>\n<h3>Flash RTMP<\/h3>\n<p>  \u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u00abFlash \u0443\u043c\u0435\u0440\u00bb, \u043e\u043d \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0430 Mac OS \u0438 \u0434\u0430\u0451\u0442 \u0433\u043e\u0434\u043d\u0443\u044e \u0434\u043b\u044f \u0440\u0435\u0430\u043b\u0442\u0430\u0439\u043c\u0430 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0443. \u041d\u043e \u0434\u0435\u043b\u0430 \u0443 \u0444\u043b\u044d\u0448\u0430 \u043d\u0430 Safari \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u0431\u0441\u0442\u043e\u044f\u0442 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c. \u0411\u044b\u0432\u0430\u0435\u0442 \u0442\u0430\u043a, \u0447\u0442\u043e Flash \u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u043f\u0440\u043e\u0441\u0442\u0443 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d.<\/p>\n<h3>Flash RTMFP<\/h3>\n<p>  \u0422\u043e\u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u0447\u0442\u043e \u0438 Flash RTMP, \u0441 \u0442\u043e\u0439 \u043b\u0438\u0448\u044c \u0440\u0430\u0437\u043d\u0438\u0446\u0435\u0439, \u0447\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u043e UDP \u0438 \u0443\u043c\u0435\u0435\u0442 \u0441\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0442\u044c \u043f\u0430\u043a\u0435\u0442\u044b, \u0447\u0442\u043e \u043d\u0435\u0441\u043e\u043c\u043d\u0435\u043d\u043d\u043e \u043b\u0443\u0447\u0448\u0435 \u0434\u043b\u044f \u0440\u0435\u0430\u043b\u0442\u0430\u0439\u043c\u0430. \u0425\u043e\u0440\u043e\u0448\u0430\u044f \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0430. \u041d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 iOS.<\/p>\n<h3>Websockets<\/h3>\n<p>  \u041d\u0435\u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u0430 \u0434\u043b\u044f HLS, \u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u0430 \u0441\u0440\u0430\u0432\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0438\u0437\u043a\u0430\u044f \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0430. \u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432 iOS \u0438 Mac OS.<\/p>\n<p>  \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u0447\u0435\u0440\u0435\u0437 Websockets (RFC6455), \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 JavaScript \u0438 \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0430 <b>HTML5 canvas<\/b> \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <b>WebGL<\/b>. \u042d\u0442\u043e\u0442 \u0441\u043f\u043e\u0441\u043e\u0431 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u0431\u044b\u0441\u0442\u0440\u0435\u0435 HLS, \u043d\u043e \u0438\u043c\u0435\u0435\u0442 \u0441\u0432\u043e\u0438 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u0438:<\/p>\n<ol>\n<li>\u041e\u0434\u043d\u043e\u0441\u0442\u043e\u0440\u043e\u043d\u043d\u044f\u044f \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0430.\u041f\u043e\u0442\u043e\u043a \u043c\u043e\u0436\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0438\u0433\u0440\u0430\u0442\u044c \u0432 \u0440\u0435\u0430\u043b\u0442\u0430\u0439\u043c\u0435, \u043d\u043e \u043d\u0435\u043b\u044c\u0437\u044f \u0437\u0430\u0445\u0432\u0430\u0442\u0438\u0442\u044c \u0441 \u043a\u0430\u043c\u0435\u0440\u044b \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440.<\/li>\n<li>\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u043f\u043e \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u044e. \u041f\u0440\u0438 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0438 800&#215;400 \u0438 \u0432\u044b\u0448\u0435, \u043d\u0443\u0436\u0435\u043d \u0443\u0436\u0435 \u043c\u043e\u0449\u043d\u044b\u0439 CPU \u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 iPhone \u0438\u043b\u0438 iPad \u0434\u043b\u044f \u0440\u043e\u0432\u043d\u043e\u0433\u043e \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0442\u0430\u043a\u043e\u0433\u043e \u043f\u043e\u0442\u043e\u043a\u0430 \u043d\u0430 JavaScript. \u0421 iPhone5 \u0438 iPhone6 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0441\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e \u043d\u0435 \u0443\u0434\u0430\u0441\u0442\u0441\u044f \u043f\u043e\u0434\u043d\u044f\u0442\u044c \u0432\u044b\u0448\u0435 640&#215;480 \u0438 \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u043b\u0430\u0432\u043d\u044b\u043c.<\/li>\n<\/ol>\n<p>  <\/p>\n<h3>WebRTC Plugin<\/h3>\n<p>  \u0412 Mac OS \u043c\u043e\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c WebRTC \u043f\u043b\u0430\u0433\u0438\u043d, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u0442 WebRTC. \u042d\u0442\u043e \u043d\u0435\u0441\u043e\u043c\u043d\u0435\u043d\u043d\u043e \u0434\u0430\u0435\u0442 \u0441\u0430\u043c\u0443\u044e \u043b\u0443\u0447\u0448\u0443\u044e \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0443, \u043d\u043e \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u043c \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0435\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0433\u043e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f. \u041c\u043e\u0436\u043d\u043e \u0441\u043f\u0440\u0430\u0432\u0435\u0434\u043b\u0438\u0432\u043e \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e Adobe Flash Player \u0442\u043e\u0436\u0435 \u043f\u043b\u0430\u0433\u0438\u043d \u0438 \u0442\u043e\u0436\u0435 \u043c\u043e\u0436\u0435\u0442 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u0442\u044c \u0440\u0443\u0447\u043d\u043e\u0439 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438, \u043d\u043e \u00ab\u043c\u0435\u0440\u0442\u0432\u044b\u0439 \u0444\u043b\u044d\u0448\u00bb \u043f\u043b\u0430\u0433\u0438\u043d \u043e\u0442 Adobe, \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e, \u043e\u0431\u0433\u043e\u043d\u044f\u0435\u0442 Noname WebRTC \u043f\u043b\u0430\u0433\u0438\u043d\u044b \u043f\u043e \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u043d\u043e\u0441\u0442\u0438. \u041a\u0440\u043e\u043c\u0435 \u044d\u0442\u043e\u0433\u043e, WebRTC \u043f\u043b\u0430\u0433\u0438\u043d\u044b \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u0432 iOS Safari.<\/p>\n<h2>\u0414\u0440\u0443\u0433\u0438\u0435 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u044b WebRTC \u0434\u043b\u044f iOS<\/h2>\n<p>  \u0415\u0441\u043b\u0438 \u043d\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u043c Safari, \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b:<\/p>\n<h3>iOS native app<\/h3>\n<p>  \u0418\u043c\u043f\u043b\u0435\u043c\u0435\u043d\u0442\u0438\u043c iOS \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 WebRTC \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043d\u0438\u0437\u043a\u0443\u044e \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0443 \u0438 \u0432\u0441\u044e \u043c\u043e\u0449\u044c WebRTC-\u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438. \u041d\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440. \u0422\u0440\u0435\u0431\u0443\u0435\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0438\u0437 App Store.<\/p>\n<h3>Browser<\/h3>\n<p>  \u0411\u0440\u0430\u0443\u0437\u0435\u0440 \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 WebRTC \u043f\u043e\u0434 iOS. \u0413\u043e\u0432\u043e\u0440\u044f\u0442, \u0447\u0442\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 WebRTC, \u043d\u043e \u043c\u044b \u043d\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u0438. \u041d\u0435 \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0439 \u0431\u0440\u0430\u0443\u0437\u0435\u0440. \u041d\u043e \u0435\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0438\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c.<\/p>\n<h3>Ericsson<\/h3>\n<p>  \u0422\u043e\u0436\u0435 \u0447\u0442\u043e \u0438 Bowser. \u041d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0445\u043e\u0440\u043e\u0448\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 WebRTC. \u041d\u0435 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u0435\u043d \u043d\u0430 iOS.<\/p>\n<h3>\u0416\u0434\u0443\u043d<\/h3>\n<p>  \u041c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043e\u0436\u0434\u0430\u0442\u044c \u0432\u043d\u0435\u0434\u0440\u0435\u043d\u0438\u0435 WebRTC \u043e\u0442 Apple. \u041f\u0440\u043e\u0448\u0435\u043b \u0443\u0436\u0435 \u0433\u043e\u0434. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0436\u0434\u0430\u0442\u044c \u043d\u0435 \u0442\u0430\u043a \u0443\u0436 \u0438 \u0434\u043e\u043b\u0433\u043e. \u041c\u043e\u0436\u0435\u0442 \u0443 \u043a\u043e\u0433\u043e-\u0442\u043e \u0435\u0441\u0442\u044c \u0438\u043d\u0441\u0430\u0439\u0434?<\/p>\n<h2>Websockets \u043a\u0430\u043a \u0437\u0430\u043c\u0435\u043d\u0430 WebRTC \u043d\u0430 iOS<\/h2>\n<p>  \u0418\u0437 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0432\u044b\u0448\u0435 \u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u043d\u0430 iOS Safari \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u0432\u0430 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430: <b>HLS<\/b> \u0438 <b>Websockets<\/b>. \u041f\u0435\u0440\u0432\u044b\u0439 \u0438\u043c\u0435\u0435\u0442 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0443 \u0431\u043e\u043b\u0435\u0435 <b>15 \u0441\u0435\u043a\u0443\u043d\u0434<\/b>. \u0412\u0442\u043e\u0440\u043e\u0439 \u0438\u043c\u0435\u0435\u0442 \u0441\u0432\u043e\u0438 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0438 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0443 \u043e\u043a\u043e\u043b\u043e <b>3 \u0441\u0435\u043a\u0443\u043d\u0434<\/b>. \u0415\u0441\u0442\u044c \u0435\u0449\u0435 <b>MPEG DASH<\/b>, \u043d\u043e \u044d\u0442\u043e \u0442\u043e\u0442 \u0436\u0435 HLS \/ HTTP \u0432 \u043f\u043b\u0430\u043d\u0435 \u0440\u0435\u0430\u043b\u0442\u0430\u0439\u043c\u0430.<\/p>\n<p>  \u0412 \u0441\u0438\u043b\u0443 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0445 \u0432\u044b\u0448\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0439:<\/p>\n<ul>\n<li>\u0414\u0435\u043a\u043e\u0434\u0438\u043d\u0433 \u043d\u0430 JavaScript \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u043d\u0438\u0437\u043a\u0438\u0445 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0439<\/li>\n<li>\u041e\u0434\u043d\u043e\u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0439 \u0441\u0442\u0440\u0438\u043c\u0438\u043d\u0433 (\u0442\u043e\u043b\u044c\u043a\u043e \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435)<\/li>\n<\/ul>\n<p>  \u0412\u0435\u0431\u0441\u043e\u043a\u0435\u0442\u044b, \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435, \u043d\u0435 \u043c\u043e\u0433\u0443\u0442 \u043f\u0440\u0435\u0442\u0435\u043d\u0434\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u0443\u044e \u0437\u0430\u043c\u0435\u043d\u0443 WebRTC \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 iOS Safari, \u043d\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u0438\u0433\u0440\u0430\u0442\u044c \u0440\u0435\u0430\u043b\u0442\u0430\u0439\u043c-\u043f\u043e\u0442\u043e\u043a\u0438 \u043f\u0440\u044f\u043c\u043e \u0441\u0435\u0439\u0447\u0430\u0441.<\/p>\n<p>  \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u0441\u0445\u0435\u043c\u0430 \u0440\u0435\u0430\u043b\u0442\u0430\u0439\u043c\u043e\u0432\u043e\u0439 \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<ol>\n<li>\u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c WebRTC \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0441 Mac OS \u0438\u043b\u0438 Win, \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 Chrome \u043d\u0430 WebRTC-\u0441\u0435\u0440\u0432\u0435\u0440 \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0430\u0446\u0438\u0438 \u0432 \u0432\u0435\u0431\u0441\u043e\u043a\u0435\u0442\u044b.<\/li>\n<li>WebRTC-\u0441\u0435\u0440\u0432\u0435\u0440 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u043f\u043e\u0442\u043e\u043a \u0432 MPEG + G.711 \u0438 \u0437\u0430\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u0442 \u0432 \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u043d\u044b\u0439 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b Websockets.<\/li>\n<li>3iOS Safari \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c \u043f\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443 Websockets \u0438 \u0437\u0430\u0431\u0438\u0440\u0430\u0435\u0442 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a. \u0414\u0430\u043b\u0435\u0435 \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u0442 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a \u0438 \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u0443\u0435\u0442 \u0430\u0443\u0434\u0438\u043e \u0438 \u0432\u0438\u0434\u0435\u043e. \u0410\u0443\u0434\u0438\u043e \u043f\u0440\u043e\u0438\u0433\u0440\u044b\u0432\u0430\u0435\u0442 \u0447\u0435\u0440\u0435\u0437 Web Audio API, \u0430 \u0432\u0438\u0434\u0435\u043e \u0440\u0435\u043d\u0434\u0435\u0440\u0438\u0442 \u0432 Canvas \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c WebGL.<\/li>\n<\/ol>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/3aa\/3e7\/7ff\/3aa3e77ffbe54a55b78d8390e531e7ee.png\" \/><\/div>\n<h2>\u0422\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043f\u043e Websockets \u0432 iOS Safari<\/h2>\n<p>  \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f Web Call Server 5, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0442\u0430\u043a\u0443\u044e \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0430\u0446\u0438\u044e \u0438 \u043e\u0442\u0434\u0430\u0435\u0442 \u043f\u043e\u0442\u043e\u043a \u043d\u0430 iOS Safari \u043f\u043e Websockets. \u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u043e\u043c \u0440\u0435\u0430\u043b\u0442\u0430\u0439\u043c\u043e\u0432\u043e\u0433\u043e \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u0430 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0432\u0435\u0431\u043a\u0430\u043c\u0435\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0432\u0438\u0434\u0435\u043e \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u0438\u043b\u0438 \u0436\u0435 IP \u043a\u0430\u043c\u0435\u0440\u0430, \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0430\u044f \u043f\u043e RTSP.<\/p>\n<p>  \u0422\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0440\u0435\u0430\u043b\u0442\u0430\u0439\u043c\u043e\u0432\u043e\u0433\u043e WebRTC \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u0430 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 Google Chrome \u0441 \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u0430:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/f52\/0e2\/531\/f520e253155c4755be900e1f8ffedc04.png\" \/><\/div>\n<p>  \u0410 \u0442\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u044d\u0442\u043e\u0433\u043e \u0436\u0435 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u0430 \u0432 \u0440\u0435\u0430\u043b\u0442\u0430\u0439\u043c\u0435, \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 iOS Safari:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/591\/d70\/608\/591d7060848f4e4ba1f95a743d8e7471.png\" \/><\/div>\n<p>  \u0417\u0434\u0435\u0441\u044c \u043c\u044b \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0438\u043c\u0435\u043d\u0438 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u0430 \u0443\u043a\u0430\u0437\u0430\u043b\u0438 <b>d3c6<\/b>, \u0442.\u0435. \u0422\u043e\u0442 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u044b\u043b \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d \u0441 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 Chrome \u043f\u043e WebRTC.<\/p>\n<p>  \u0412 \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a \u0437\u0430\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u0441 IP-\u043a\u0430\u043c\u0435\u0440\u044b, \u0432 iOS Safari \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0442\u0430\u043a:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/a5a\/d94\/6ad\/a5ad946ad8544fb1819b3dd7d539ec34.png\" \/><\/div>\n<p>  \u041a\u0430\u043a \u0432\u0438\u0434\u043d\u043e \u0438\u0437 \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u0430, \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0438\u043c\u0435\u043d\u0438 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u0430 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 RTSP \u0430\u0434\u0440\u0435\u0441. \u0421\u0435\u0440\u0432\u0435\u0440 \u0437\u0430\u0431\u0440\u0430\u043b RTSP \u043f\u043e\u0442\u043e\u043a \u0438 \u0441\u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043b \u0435\u0433\u043e \u0432 Websockets \u0434\u043b\u044f iOS Safari.<\/p>\n<h2>\u0418\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f \u043f\u043b\u0435\u0435\u0440\u0430 \u0434\u043b\u044f iOS Safari \u0432 \u0432\u0435\u0431 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443<\/h2>\n<p>  \u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u043f\u043b\u0435\u0435\u0440\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d <a href=\"https:\/\/github.com\/flashphoner\/flashphoner_client\/tree\/wcs_api-2.0\/examples\/demo\/streaming\/player\">\u0437\u0434\u0435\u0441\u044c<\/a>. \u041e\u0434\u043d\u0430\u043a\u043e \u043f\u043b\u0435\u0435\u0440 \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f iOS Safari. \u041e\u043d \u043c\u043e\u0436\u0435\u0442 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f \u043c\u0435\u0436\u0434\u0443 \u0442\u0440\u0435\u043c\u044f \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044f\u043c\u0438: WebRTC, Flash, Websockets \u0432 \u043f\u043e\u0440\u044f\u0434\u043a\u0435 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442\u0430 \u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u043a\u043e\u0434\u0430, \u0447\u0435\u043c \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0432 iOS Safari.<\/p>\n<p>  \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u043c\u0438\u043d\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u0434 \u043f\u043b\u0435\u0435\u0440\u0430 \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u0443\u044e \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u0443\u0434\u0435\u0442 \u0438\u0433\u0440\u0430\u0442\u044c \u0432 iOS Safari<\/p>\n<p>  \u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u0434 HTML-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0442\u0430\u043a: <b>player-ios-safari.html<\/b><\/p>\n<pre><code class=\"html\">&lt;html&gt; &lt;head&gt;     &lt;script language=&quot;javascript&quot; src=&quot;flashphoner.js&quot;&gt;&lt;\/script&gt;     &lt;script language=&quot;javascript&quot; src=&quot;player-ios-safari.js&quot;&gt;&lt;\/script&gt; &lt;\/head&gt; &lt;body onLoad=&quot;init_page()&quot;&gt; &lt;h1&gt;The player&lt;\/h1&gt; &lt;div id=&quot;remoteVideo&quot; style=&quot;width:320px;height:240px;border: 1px solid&quot;&gt;&lt;\/div&gt; &lt;input type=&quot;button&quot; value=&quot;start&quot; onClick=&quot;start()&quot;\/&gt; &lt;p id=&quot;status&quot;&gt;&lt;\/p&gt; &lt;\/body&gt; &lt;\/html&gt;<\/code><\/pre>\n<p>  \u0418\u0437 \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u0434\u0430 \u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u0433\u043b\u0430\u0432\u043d\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u2014 \u044d\u0442\u043e div-\u0431\u043b\u043e\u043a <\/p>\n<pre><code class=\"html\">&lt;div id=&quot;remoteVideo&quot; style=&quot;width:320px;height:240px;border: 1px solid&quot;&gt;&lt;\/div&gt;<\/code><\/pre>\n<p>  \u0418\u043c\u0435\u043d\u043d\u043e \u044d\u0442\u043e\u0442 \u0431\u043b\u043e\u043a \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u0432\u0435\u0447\u0430\u0442\u044c \u0437\u0430 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0438 \u0432\u0438\u0434\u0435\u043e, \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e \u043a\u0430\u043a \u0441\u043a\u0440\u0438\u043f\u0442\u044b API \u0432\u0441\u0442\u0430\u0432\u044f\u0442 \u0442\u0443\u0434\u0430 HTML5 Canvas.<\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u0438\u0434\u0435\u0442 \u0441\u043a\u0440\u0438\u043f\u0442 \u043f\u043b\u0435\u0435\u0440\u0430. \u041e\u0431\u044a\u0435\u043c \u0441\u043a\u0440\u0438\u043f\u0442\u0430: 80 \u0441\u0442\u0440\u043e\u043a: <b>player-ios-safari.js<\/b><\/p>\n<pre><code class=\"javascript\">var SESSION_STATUS = Flashphoner.constants.SESSION_STATUS; var STREAM_STATUS = Flashphoner.constants.STREAM_STATUS; var remoteVideo; var stream;  function init_page() {      \/\/init api     try {         Flashphoner.init({             receiverLocation: '..\/..\/dependencies\/websocket-player\/WSReceiver2.js',             decoderLocation: '..\/..\/dependencies\/websocket-player\/video-worker2.js'         });     } catch(e) {         return;     }      \/\/video display     remoteVideo = document.getElementById(&quot;remoteVideo&quot;);     onStopped(); }  function onStarted(stream) {     \/\/on playback start }   function onStopped() {     \/\/on playback stop }  function start() {      Flashphoner.playFirstSound();      var url = &quot;wss:\/\/wcs5-eu.flashphoner.com:8443&quot;;      \/\/create session     console.log(&quot;Create new session with url &quot; + url);     Flashphoner.createSession({urlServer: url}).on(SESSION_STATUS.ESTABLISHED, function(session){         setStatus(session.status());         \/\/session connected, start playback         playStream(session);     }).on(SESSION_STATUS.DISCONNECTED, function(){         setStatus(SESSION_STATUS.DISCONNECTED);         onStopped();     }).on(SESSION_STATUS.FAILED, function(){         setStatus(SESSION_STATUS.FAILED);         onStopped();     });  }  function playStream(session) {     var streamName = &quot;12345&quot;;     var options = {         name: streamName,         display: remoteVideo     };      options.playWidth = 640;     options.playHeight = 480;      stream = session.createStream(options).on(STREAM_STATUS.PLAYING, function(stream) {         setStatus(stream.status());         onStarted(stream);     }).on(STREAM_STATUS.STOPPED, function() {         setStatus(STREAM_STATUS.STOPPED);         onStopped();     }).on(STREAM_STATUS.FAILED, function() {         setStatus(STREAM_STATUS.FAILED);         onStopped();     });     stream.play(); }  \/\/show connection or remote stream status function setStatus(status) {     \/\/display stream status } <\/code><\/pre>\n<p>  \u041a \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0432\u0430\u0436\u043d\u044b\u043c \u0447\u0430\u0441\u0442\u044f\u043c \u044d\u0442\u043e\u0433\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u043d\u0435\u0441\u0442\u0438 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e API<\/p>\n<pre><code class=\"javascript\">  Flashphoner.init({             receiverLocation: '..\/..\/dependencies\/websocket-player\/WSReceiver2.js',             decoderLocation: '..\/..\/dependencies\/websocket-player\/video-worker2.js'         }); <\/code><\/pre>\n<p>  \u041f\u0440\u0438 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u043e\u0434\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044f \u0435\u0449\u0435 \u0434\u0432\u0430 \u0441\u043a\u0440\u0438\u043f\u0442\u0430:<\/p>\n<ul>\n<li>WSReceiver2.js<\/li>\n<li>video-worker2.js<\/li>\n<\/ul>\n<p>  \u042d\u0442\u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u044f\u0434\u0440\u043e\u043c \u0432\u0435\u0431\u0441\u043e\u043a\u0435\u0442 \u043f\u043b\u0435\u0435\u0440\u0430. \u041f\u0435\u0440\u0432\u044b\u0439 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0443 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u0430, \u0430 \u0432\u0442\u043e\u0440\u043e\u0439 \u0437\u0430 \u0435\u0433\u043e \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443. \u0421\u043a\u0440\u0438\u043f\u0442\u044b <b>flashphoner.js<\/b>, <b>WSReceiver2.js<\/b> \u0438 <b>video-worker2.js<\/b> \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0434\u043b\u044f \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u0432 \u0441\u0431\u043e\u0440\u043a\u0435 <a href=\"https:\/\/flashphoner.com\/wcs-web-sdk\">Web SDK<\/a> \u0434\u043b\u044f Web Call Server \u0438 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0434\u043b\u044f \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043f\u043e\u0442\u043e\u043a\u0430 \u0432 iOS Safari.<\/p>\n<p>  \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0438\u043c\u0435\u0435\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u044b:<\/p>\n<ul>\n<li>flashphoner.js<\/li>\n<li>WSReceiver2.js<\/li>\n<li>video-worker2.js<\/li>\n<li>player-ios-safari.js<\/li>\n<\/ul>\n<p>  \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u043a\u043e\u0434\u0430:<\/p>\n<pre><code class=\"javascript\">Flashphoner.createSession({urlServer: url}).on(SESSION_STATUS.ESTABLISHED, function(session){         setStatus(session.status());         \/\/session connected, start playback         playStream(session);     }).on(SESSION_STATUS.DISCONNECTED, function(){         setStatus(SESSION_STATUS.DISCONNECTED);         onStopped();     }).on(SESSION_STATUS.FAILED, function(){         setStatus(SESSION_STATUS.FAILED);         onStopped();     });  } <\/code><\/pre>\n<p>  \u041d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u0430 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u0435\u0442\u043e\u0434\u0430 API <b>createStream().play()<\/b>. \u041f\u0440\u0438 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0438 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u0430 \u0432 div-\u044d\u043b\u0435\u043c\u0435\u043d\u0442 <b>remoteVideo<\/b> \u0431\u0443\u0434\u0435\u0442 \u0432\u0441\u0442\u0440\u043e\u0435\u043d HTML-\u044d\u043b\u0435\u043c\u0435\u043d\u0442 Canvas, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442\u044c \u0440\u0435\u043d\u0434\u0435\u0440\u0438\u043d\u0433 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u0430.<\/p>\n<pre><code class=\"javascript\">function playStream(session) {     var streamName = &quot;12345&quot;;     var options = {         name: streamName,         display: remoteVideo     };      options.playWidth = 640;     options.playHeight = 480;      stream = session.createStream(options).on(STREAM_STATUS.PLAYING, function(stream) {         setStatus(stream.status());         onStarted(stream);     }).on(STREAM_STATUS.STOPPED, function() {         setStatus(STREAM_STATUS.STOPPED);         onStopped();     }).on(STREAM_STATUS.FAILED, function() {         setStatus(STREAM_STATUS.FAILED);         onStopped();     });     stream.play(); } <\/code><\/pre>\n<p>  \u041c\u044b \u0437\u0430\u0445\u0430\u0440\u0434\u043a\u043e\u0434\u0438\u043b\u0438 \u0432 \u043a\u043e\u0434\u0435 \u0434\u0432\u0435 \u0432\u0435\u0449\u0438:<br \/>  1) \u0423\u0440\u043b \u0441\u0435\u0440\u0432\u0435\u0440\u0430<\/p>\n<pre><code class=\"javascript\">var url = &quot;wss:\/\/wcs5-eu.flashphoner.com:8443&quot;;<\/code><\/pre>\n<p>  \u042d\u0442\u043e \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0439 \u0434\u0435\u043c\u043e-\u0441\u0435\u0440\u0432\u0435\u0440 Web Call Server 5. \u0415\u0441\u043b\u0438 \u0441 \u043d\u0438\u043c \u0447\u0442\u043e-\u0442\u043e \u043d\u0435 \u0442\u0430\u043a, \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e <a href=\"https:\/\/flashphoner.com\/download\">\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0441\u0432\u043e\u0439<\/a> \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f.<\/p>\n<p>  2) \u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u0442\u043e\u043a\u0430 \u0434\u043b\u044f \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f<\/p>\n<pre><code class=\"javascript\"> var streamName = &quot;12345&quot;;<\/code><\/pre>\n<p>  \u042d\u0442\u043e \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043c. <br \/>  \u0412 \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u044d\u0442\u043e \u043f\u043e\u0442\u043e\u043a \u0441 RTSP IP-\u043a\u0430\u043c\u0435\u0440\u044b, \u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0442\u0430\u043a<\/p>\n<pre><code class=\"javascript\">var streamName = &quot;rtsp:\/\/host:554\/stream.sdp&quot;;<\/code><\/pre>\n<p>  \u0421\u0430\u043c\u0430\u044f \u043d\u0435\u043f\u0440\u0438\u043c\u0435\u0442\u043d\u0430\u044f, \u043d\u043e \u043e\u0447\u0435\u043d\u044c \u0432\u0430\u0436\u043d\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f<\/p>\n<pre><code class=\"javascript\">Flashphoner.playFirstSound();<\/code><\/pre>\n<p>  \u041d\u0430 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430\u0445, \u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438 \u043d\u0430 iOS Safari \u0435\u0441\u0442\u044c \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 Web Audio API, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043d\u0435 \u0434\u0430\u0435\u0442 \u043f\u0440\u043e\u0438\u0433\u0440\u044b\u0432\u0430\u0442\u044c \u0437\u0432\u0443\u043a \u0438\u0437 \u0434\u0438\u043d\u0430\u043c\u0438\u043a\u043e\u0432 \u0434\u043e \u0442\u0435\u0445 \u043f\u043e\u0440, \u043f\u043e\u043a\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043d\u0435 \u0449\u0435\u043b\u043a\u043d\u0435\u0442 \u043f\u0430\u043b\u044c\u0446\u0435\u043c \u043f\u043e \u043a\u0430\u043a\u043e\u043c\u0443-\u043b\u0438\u0431\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0443 web-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0438 \u043d\u0430\u0436\u0430\u0442\u0438\u0438 \u043a\u043d\u043e\u043f\u043a\u0438 Start \u043c\u044b \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u043c\u0435\u0442\u043e\u0434 playFirstSound(), \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0433\u0440\u0430\u0435\u0442 \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u0439 \u043a\u0443\u0441\u043e\u043a \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0430\u0443\u0434\u0438\u043e, \u0447\u0442\u043e\u0431\u044b \u0432\u0438\u0434\u0435\u043e \u0432 \u0438\u0442\u043e\u0433\u0435 \u043c\u043e\u0433\u043b\u043e \u0438\u0433\u0440\u0430\u0442\u044c \u0441 \u0430\u0443\u0434\u0438\u043e. <\/p>\n<p>  \u0412 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u043c \u0438\u0442\u043e\u0433\u0435 \u043d\u0430\u0448 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0439 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u043b\u0435\u0435\u0440, \u0441\u043e\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u0438\u0437 \u0447\u0435\u0442\u044b\u0440\u0435\u0445 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u0438 \u043e\u0434\u043d\u043e\u0433\u043e HTML \u0444\u0430\u0439\u043b\u0430 <b>player-ios-safari.html<\/b> \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<ul>\n<li>flashphoner.js<\/li>\n<li>WSReceiver2.js<\/li>\n<li>video-worker2.js<\/li>\n<li>player-ios-safari.js<\/li>\n<li>player-ios-safari.html<\/li>\n<\/ul>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/070\/c88\/459\/070c884597724ba0b7bd201cd7028269.png\" \/><\/div>\n<p>  \u0421\u043a\u0430\u0447\u0430\u0442\u044c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u043f\u043b\u0435\u0435\u0440\u0430 \u043c\u043e\u0436\u043d\u043e <a href=\"http:\/\/flashphoner.com\/downloads\/examples\/player-ios-safari-0.5.18.1977-5.0.2156.zip\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/p>\n<p>  \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043c\u044b \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u043b\u0438 \u043e \u0442\u0435\u043a\u0443\u0449\u0438\u0445 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u0430\u0445 WebRTC \u0434\u043b\u044f iOS Safari \u0438 \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u043b\u0438 \u043f\u0440\u0438\u043c\u0435\u0440 \u0441 \u0440\u0435\u0430\u043b\u0442\u0430\u0439\u043c-\u043f\u043b\u0435\u0435\u0440\u043e\u043c \u0441 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0435\u0439 \u0432\u0438\u0434\u0435\u043e \u043f\u043e \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 Websockets. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043e\u043d \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u043a\u043e\u043c\u0443-\u0442\u043e \u0434\u043e\u0436\u0434\u0430\u0442\u044c\u0441\u044f \u043f\u0440\u0438\u0445\u043e\u0434\u0430 WebRTC \u043d\u0430 Safari.<\/p>\n<h2>\u0421\u0441\u044b\u043b\u043a\u0438<\/h2>\n<p>  <a href=\"https:\/\/www.theregister.co.uk\/2016\/04\/13\/apple_rolling_webrtc_into_webkit\/\">\u041f\u0440\u0435\u0441\u0441-\u0440\u0435\u043b\u0438\u0437<\/a> \u2014 Apple \u0432\u044b\u043a\u0430\u0442\u044b\u0432\u0430\u0435\u0442 WebRTC \u0434\u043b\u044f Safari<br \/>  <a href=\"https:\/\/tools.ietf.org\/html\/rfc6455\">Websockets<\/a> \u2014 RFC6455<br \/>  <a href=\"https:\/\/www.khronos.org\/registry\/webgl\/specs\/1.0\/\">WebGL<\/a> \u2014 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f<br \/>  <a href=\"https:\/\/flashphoner.com\">Web Call Server<\/a> \u2014 WebRTC-\u0441\u0435\u0440\u0432\u0435\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u0435\u0442 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0442\u043e\u043a \u0432 Websockets \u0434\u043b\u044f \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043d\u0430 iOS Safari<br \/>  <a href=\"https:\/\/flashphoner.com\/download\">\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 WCS<\/a> \u2014 \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c <br \/>  <a href=\"https:\/\/aws.amazon.com\/marketplace\/pp\/B01D1L5EAK\">\u0417\u0430\u043f\u0443\u0441\u043a \u043d\u0430 Amazon EC2<\/a> \u2014 \u0437\u0430\u043f\u0443\u0441\u043a \u0433\u043e\u0442\u043e\u0432\u043e\u0433\u043e \u043e\u0431\u0440\u0430\u0437\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043d\u0430 Amazon AWS<br \/>  <a href=\"http:\/\/flashphoner.com\/downloads\/examples\/player-ios-safari-0.5.18.1977-5.0.2156.zip\">\u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434<\/a> \u2014 \u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u043b\u0435\u0435\u0440\u0430: player-ios-safari.js \u0438 player-ios-safari.html<br \/>  <a href=\"https:\/\/flashphoner.com\/wcs-web-sdk\">Web SDK <\/a> \u2014 web API \u0434\u043b\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430 WCS, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0435\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u044b flashphoner.js, WSReceiver2.js, video-worker2.js<br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habrahabr.ru\/post\/325978\/\"> https:\/\/habrahabr.ru\/post\/325978\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/214\/344\/1c1\/2143441c12084cad878446094574736a.png\" \/><\/div>\n<p>  \u0412 \u0430\u043f\u0440\u0435\u043b\u0435 \u043f\u0440\u043e\u0448\u043b\u043e\u0433\u043e \u0433\u043e\u0434\u0430 \u043f\u043e \u0441\u0435\u0442\u0438 \u043f\u0440\u043e\u043a\u0430\u0442\u0438\u043b\u0441\u044f \u043f\u0440\u0435\u0441\u0441-\u0440\u0435\u043b\u0438\u0437 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e Apple \u0432\u044b\u043a\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 WebRTC \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445 Safari \u0434\u043b\u044f Mac OS \u0438 iOS. \u0421 \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u0432\u044b\u0445\u043e\u0434\u0430 \u043f\u0440\u0435\u0441\u0441-\u0440\u0435\u043b\u0438\u0437\u0430 \u0441\u043a\u043e\u0440\u043e \u043f\u0440\u043e\u0439\u0434\u0435\u0442 \u0440\u043e\u0432\u043d\u043e 1 \u0433\u043e\u0434 \u043a\u0430\u043a Apple \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u0442 \u0432\u044b\u043a\u0430\u0442\u044b\u0432\u0430\u0442\u044c WebRTC \u0434\u043b\u044f Safari. \u0416\u0434\u0435\u043c.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/89c\/9bc\/f66\/89c9bcf66dd74025946df4ed6ca086c6.png\" \/><\/div>\n<p>  \u041e\u0434\u043d\u0430\u043a\u043e \u0436\u0434\u0443\u0442 \u043d\u0435 \u0432\u0441\u0435. \u041a\u043e\u043c\u0443-\u0442\u043e \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0440\u0435\u0430\u043b-\u0442\u0430\u0439\u043c \u0432\u0438\u0434\u0435\u043e \u0432 Safari \u043f\u0440\u044f\u043c\u043e \u0441\u0435\u0439\u0447\u0430\u0441 \u0438 \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0435\u043c \u043a\u0430\u043a \u043e\u0431\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0431\u0435\u0437 WebRTC \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 iOS Safari \u0438 Mac OS Safari \u0438 \u0447\u0435\u043c \u043c\u043e\u0436\u043d\u043e \u0435\u0433\u043e \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c.<\/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-284657","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/284657","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=284657"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/284657\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=284657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=284657"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=284657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}