{"id":286657,"date":"2017-05-22T10:15:03","date_gmt":"2017-05-22T06:15:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=286657"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2017-05-22T06:15:03","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=286657","title":{"rendered":"7 \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432 \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c \u0432\u0438\u0434\u0435\u043e \u0441 RTSP IP-\u043a\u0430\u043c\u0435\u0440\u044b \u043d\u0430 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0438 2 \u0432 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438"},"content":{"rendered":"<p>\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u043e\u043a\u0430\u0436\u0435\u043c 7 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438 \u0440\u0430\u0437\u043d\u044b\u0445 \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u0430 \u0441 IP-\u043a\u0430\u043c\u0435\u0440\u044b \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 RTSP \u043d\u0430 web-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430.<\/p>\n<p>  \u0411\u0440\u0430\u0443\u0437\u0435\u0440\u044b, \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442 RTSP, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u0442\u043e\u043a \u0431\u0443\u0434\u0435\u0442 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0434\u043b\u044f \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440.<a name=\"habracut\"><\/a><\/p>\n<h2>\u0421\u043f\u043e\u0441\u043e\u0431 1 \u2014 RTMP<\/h2>\n<p>  RTMP \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u044b \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442, \u043d\u043e \u0435\u0433\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0441\u0442\u0430\u0440\u044b\u0439 \u0434\u043e\u0431\u0440\u044b\u0439 Flash Player, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0435\u043f\u043b\u043e\u0445\u043e, \u0445\u043e\u0442\u044c \u0438 \u043d\u0435 \u0432\u043e \u0432\u0441\u0435\u0445 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445, \u0438 \u043c\u043e\u0436\u0435\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/a16\/284\/989\/a162849891ca43bfab441ce363634e00.jpg\" \/><\/div>\n<p>  \u041a\u043e\u0434 \u043f\u043b\u0435\u0435\u0440\u0430 \u0432 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d \u043d\u0430 Action Script 3 \u0438 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:<\/p>\n<pre><code class=\"javascript\">var nc:NetConnection = nc.connect(&quot;rtmp:\/\/192.168.88.59\/live&quot;,obj); var subscribeStream:NetStream = new NetStream(nc); subscribeStream.play(&quot;rtsp:\/\/192.168.88.5\/live.sdp&quot;); <\/code><\/pre>\n<p>  \u0412 \u044d\u0442\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435:<\/p>\n<p>  rtmp:\/\/192.168.88.59\/live \u2014 \u044d\u0442\u043e \u0430\u0434\u0440\u0435\u0441 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u0430\u0431\u0435\u0440\u0435\u0442 RTSP \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a \u0441 \u043a\u0430\u043c\u0435\u0440\u044b \u0438 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u0435\u0433\u043e \u0432 RTMP<\/p>\n<p>  rtsp:\/\/192.168.88.5\/live.sdp \u2014 \u044d\u0442\u043e RTSP \u0430\u0434\u0440\u0435\u0441 \u0441\u0430\u043c\u043e\u0439 \u043a\u0430\u043c\u0435\u0440\u044b.<\/p>\n<p>  \u041d\u0435\u043c\u043d\u043e\u0433\u043e \u0438\u0437\u0431\u044b\u0442\u043e\u0447\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043a\u043e\u0434\u0430 \u043f\u043b\u0435\u0435\u0440\u0430 \u043d\u0430 Flex \u0438 AS3 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d <a href=\"https:\/\/github.com\/flashphoner\/flashphoner_client\/blob\/wcs_api-2.0\/examples\/demo\/streaming\/flash_client\/streaming\/src\/streaming.mxml\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/p>\n<p>  \u0412\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u044d\u0442\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/9d7\/efa\/04e\/9d7efa04e75d46c0a29e6221f800d4f7.jpg\" \/><\/div>\n<p>  <\/p>\n<h2>\u0421\u043f\u043e\u0441\u043e\u0431 2 \u2014 RTMP \u0441 \u043e\u0431\u0435\u0440\u0442\u043a\u043e\u0439 HTML5<\/h2>\n<p>  \u0416\u0435\u043b\u0430\u044e\u0449\u0438\u0445 \u043a\u043e\u0434\u0438\u0442\u044c \u043d\u0430 Action Script 3 \u0432\u0441\u0435 \u043c\u0435\u043d\u044c\u0448\u0435. \u0421\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043d \u0441\u043f\u043e\u0441\u043e\u0431 \u0441 HTML5 \u043e\u0431\u0435\u0440\u0442\u043a\u043e\u0439, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c RTMP-\u043f\u043b\u0435\u0435\u0440\u043e\u043c \u0438\u0437 JavaScript. \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0444\u043b\u044d\u0448\u043a\u0430 \u043f\u043e\u0434\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044f \u043d\u0430 HTML-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0443 \u0438 \u0432\u044b\u0434\u0430\u0442\u044c \u0432 \u0434\u0438\u043d\u0430\u043c\u0438\u043a\u0438 \u0437\u0432\u0443\u043a.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/405\/5fe\/d25\/4055fed25d2949eba0bc6d4c985b7ab1.jpg\" \/><\/div>\n<p>  <\/p>\n<pre><code class=\"javascript\">var session = Flashphoner.createSession({urlServer:&quot;wss:\/\/192.168.88.59:8443&quot;}); session.createStream({name:&quot;rtsp:\/\/192.168.88.5\/live.sdp&quot;, display:myVideo}).play(); <\/code><\/pre>\n<p>  \u041f\u043e\u043b\u043d\u044b\u0439 \u043a\u043e\u0434 \u043f\u043b\u0435\u0435\u0440\u0430 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f <a href=\"https:\/\/github.com\/flashphoner\/flashphoner_client\/tree\/wcs_api-2.0\/examples\/demo\/streaming\/player\">\u0437\u0434\u0435\u0441\u044c<\/a>. \u0410 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u044d\u0442\u043e \u0442\u0430\u043a:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/b74\/c7e\/e76\/b74c7ee7620b4ae095ae8f8cf9b3a684.png\" \/><\/div>\n<p>  <\/p>\n<h2>\u0421\u043f\u043e\u0441\u043e\u0431 3 \u2014 RTMFP<\/h2>\n<p>  \u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b RTMFP \u0442\u0430\u043a\u0436\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432\u043d\u0443\u0442\u0440\u0438 \u0444\u043b\u044d\u0448 \u043f\u043b\u0435\u0435\u0440\u0430. \u0420\u0430\u0437\u043d\u0438\u0446\u0430 \u0441 RTMP \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e RTMFP \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u043e\u0432\u0435\u0440\u0445 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 UDP \u0438 \u0442\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u0438\u0433\u043e\u0434\u043d\u044b\u043c \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438 \u0441 \u043d\u0438\u0437\u043a\u043e\u0439 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u043e\u0439.<\/p>\n<p>  \u041a\u043e\u0434 \u043f\u043b\u0435\u0435\u0440\u0430 \u043d\u0430 AS3 \u0432 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u0435\u043d \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u043c\u0443 \u0432 RTMP, \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0430 \u043e\u0434\u043d\u0430 \u0431\u0443\u043a\u0432\u0430 F \u0432 \u0441\u0442\u0440\u043e\u043a\u0435 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443.<\/p>\n<pre><code class=\"javascript\">var nc:NetConnection = nc.connect(&quot;rtmfp:\/\/192.168.88.59\/live&quot;,obj); var subscribeStream:NetStream = new NetStream(nc); subscribeStream.play(&quot;rtsp:\/\/192.168.88.5\/live.sdp&quot;); <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u043f\u043e\u0440\u044f\u0434\u043a\u0430 \u0434\u0430\u0434\u0438\u043c \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442 \u0441 RTMFP<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/c7e\/747\/c0e\/c7e747c0e6df489e88639016fffe0f9d.png\" \/><\/div>\n<p>  <\/p>\n<h2>\u0421\u043f\u043e\u0441\u043e\u0431 4 \u2014 RTMFP c \u043e\u0431\u0435\u0440\u0442\u043a\u043e\u0439 HTML5<\/h2>\n<p>  \u042d\u0442\u043e\u0442 \u0441\u043f\u043e\u0441\u043e\u0431 \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u0435\u043d \u043f\u0443\u043d\u043a\u0442\u0443 2, \u0441 \u0442\u043e\u0439 \u0440\u0430\u0437\u043d\u0438\u0446\u0435\u0439, \u0447\u0442\u043e \u043c\u044b \u043f\u0440\u0438 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0432 JavaScript \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c RTMFP \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0432 \u043d\u0438\u0436\u0435\u043b\u0435\u0436\u0430\u0449\u0435\u0439 \u0444\u043b\u044d\u0448\u043a\u0435 (swf-\u043e\u0431\u044a\u0435\u043a\u0442\u0435).<\/p>\n<pre><code class=\"javascript\">Var session = Flashphoner.createSession({urlServer:&quot;wss:\/\/192.168.88.59:8443&quot;, flashProto:&quot;rtmfp&quot;}); session.createStream({name:&quot;rtsp:\/\/192.168.88.5\/live.sdp&quot;, display:myVideo}).play(); <\/code><\/pre>\n<p>  \u041a\u0430\u0440\u0442\u0438\u043d\u043a\u0430 \u043f\u043b\u0435\u0435\u0440\u0430:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/a16\/006\/0b5\/a160060b556b49f2bf99a89820ec0486.png\" \/><\/div>\n<p>  <\/p>\n<h2>\u0421\u043f\u043e\u0441\u043e\u0431 5 \u2014 WebRTC<\/h2>\n<p>  \u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 Flash \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0441\u043e\u0432\u0441\u0435\u043c \u0438 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a \u043f\u0440\u043e\u0438\u0433\u0440\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 \u0441\u0430\u043c\u043e\u0433\u043e \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430, \u0431\u0435\u0437 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432. \u042d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438 \u0432 Android Chrome \u0438 Android Firefox \u2014 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445, \u0433\u0434\u0435 Flash \u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d. WebRTC \u0434\u0430\u0435\u0442 \u0441\u0430\u043c\u0443\u044e \u043d\u0438\u0437\u043a\u0443\u044e \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0443 \u2014 \u043c\u0435\u043d\u0435\u0435 0.5 \u0441\u0435\u043a\u0443\u043d\u0434\u044b. <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/cc1\/82f\/71f\/cc182f71fa684da3a4ca52e1f8b37155.jpg\" \/><\/div>\n<p>  \u041a\u043e\u0434 \u043f\u043b\u0435\u0435\u0440\u0430 \u0442\u043e\u0442 \u0436\u0435:<\/p>\n<pre><code class=\"javascript\">var session = Flashphoner.createSession({urlServer:&quot;wss:\/\/192.168.88.59:8443&quot;}); session.createStream({name:&quot;rtsp:\/\/192.168.88.5\/live.sdp&quot;, display:myVideo}).play(); <\/code><\/pre>\n<p>  \u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 WebRTC, \u0435\u0441\u043b\u0438 \u043e\u043d\u0430 \u0435\u0441\u0442\u044c, \u0438 \u043f\u043e\u0442\u043e\u043a \u0438\u0433\u0440\u0430\u0435\u0442 \u043f\u043e WebRTC.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/ba2\/04f\/998\/ba204f998f744e8aa04bc9ba67c3a1af.png\" \/><\/div>\n<p>  <\/p>\n<h2>\u0421\u043f\u043e\u0441\u043e\u0431 6 \u2014 Websockets<\/h2>\n<p>  WebRTC \u0438 Flash \u043d\u0435 \u043f\u043e\u043a\u0440\u044b\u0432\u0430\u044e\u0442 \u0432\u0441\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u044b \u0438 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 iOS Safari \u044d\u0442\u0438 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/e91\/ca0\/6b6\/e91ca06b641b48949b772c2772684bba.jpg\" \/><\/div>\n<p>  \u041d\u0430 iOS Safari \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a \u043f\u043e \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u0443 Websocket (TCP \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044e \u043c\u0435\u0436\u0434\u0443 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u043c \u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c). \u0412 \u044d\u0442\u043e\u0442 \u0442\u0443\u043d\u043d\u0435\u043b\u044c \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0441\u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0441 RTSP \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a. \u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u0440\u0438\u0434\u0443\u0442 \u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e JavaScript \u0438 \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u043d\u0430 Canvas HTML5-\u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0435.<br \/>  \u0418\u043c\u0435\u043d\u043d\u043e \u044d\u0442\u0438\u043c \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f Websocket \u2014 \u043f\u043b\u0435\u0435\u0440 \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 iOS Safari, \u0430 \u0435\u0433\u043e \u043a\u043e\u0434 \u0441\u043d\u0430\u0440\u0443\u0436\u0438 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a\u0436\u0435:<\/p>\n<pre><code class=\"javascript\">var session = Flashphoner.createSession({urlServer:&quot;wss:\/\/192.168.88.59:8443&quot;}); session.createStream({name:&quot;rtsp:\/\/192.168.88.5\/live.sdp&quot;, display:myVideo}).play(); <\/code><\/pre>\n<p>  \u042d\u0442\u043e \u0447\u0435\u043c-\u0442\u043e \u043f\u043e\u0445\u043e\u0436\u0435 \u043d\u0430 \u043f\u043e\u0434\u0445\u043e\u0434 \u0441 \u0444\u043b\u044d\u0448\u043a\u043e\u0439, \u043a\u043e\u0433\u0434\u0430 \u043f\u043e\u0434 HTML5 \u043b\u0435\u0436\u0438\u0442 swf-\u044d\u043b\u0435\u043c\u0435\u043d\u0442. \u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u043f\u043e\u0434 HTML5-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435\u0439 \u043b\u0435\u0436\u0438\u0442 \u043d\u0435 swf-\u043e\u0431\u044a\u0435\u043a\u0442, \u0430 JavaScript-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0442\u044f\u043d\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e \u0432\u0435\u0431\u0441\u043e\u043a\u0435\u0442\u0430\u043c, \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u0443\u0435\u0442 \u0438 \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u044b\u0432\u0430\u0435\u0442 \u043d\u0430 Canvas \u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u043f\u043e\u0442\u043e\u043a\u0430\u0445.<\/p>\n<p>  \u0422\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 RTSP \u043f\u043e\u0442\u043e\u043a \u043d\u0430 Canvas \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\/web\/2ef\/dfb\/110\/2efdfb1104e04f5bb55ed5b1419c7f43.png\" \/><\/div>\n<p>  <\/p>\n<h2>\u0421\u043f\u043e\u0441\u043e\u0431 7 \u2014 HLS<\/h2>\n<p>  \u041f\u0440\u0438 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0430\u0446\u0438\u0438 RTSP \u0432 HLS, \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a \u0440\u0430\u0437\u0431\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u043b\u0430\u0433\u043e\u043f\u043e\u043b\u0443\u0447\u043d\u043e \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044e\u0442\u0441\u044f \u0432 HLS-\u043f\u043b\u0435\u0435\u0440\u0435.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/33a\/f95\/38b\/33af9538ba104c98895ea0e38a6df7c2.jpg\"\/> <br \/>  \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 HLS-\u043f\u043b\u0435\u0435\u0440\u0430 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c video.js<br \/>  \u041a\u043e\u0434 \u043f\u043b\u0435\u0435\u0440\u0430 \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c <a href=\"https:\/\/github.com\/flashphoner\/flashphoner_client\/tree\/wcs_api-2.0\/examples\/demo\/streaming\/hls-player\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/p>\n<p>  \u041a\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043f\u043b\u0435\u0435\u0440:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/66c\/894\/5a2\/66c8945a225e4e5383c950727e328f3b.png\" \/><\/div>\n<p>  <\/p>\n<h2>\u0421\u043f\u043e\u0441\u043e\u0431 8 \u2014 Android \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, WebRTC<\/h2>\n<p>  \u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0437\u0430\u0431\u0438\u0440\u0430\u0435\u0442 \u043f\u043e\u0442\u043e\u043a \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u043e WebRTC. \u0417\u0430\u0434\u0430\u0447\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0432 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u2014 \u0441\u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c RTSP \u0432 WebRTC \u0438 \u0441\u043a\u043e\u0440\u043c\u0438\u0442\u044c \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u043c\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044e.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/bc2\/d70\/462\/bc2d704625234c1cb43bfd2f56792601.jpg\" \/><\/div>\n<p>  Java-\u043a\u043e\u0434 \u043f\u043b\u0435\u0435\u0440\u0430 \u0434\u043b\u044f Android \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f <a href=\"https:\/\/github.com\/flashphoner\/wcs-android-sdk-samples\/blob\/master\/player\/src\/main\/java\/com\/flashphoner\/wcsexample\/player\/PlayerActivity.java\">\u0437\u0434\u0435\u0441\u044c<\/a> \u0438 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<pre><code class=\"java\">SessionOptions sessionOptions = new SessionOptions(&quot;wss:\/\/192.168.88.59:8443&quot;); Session session = Flashphoner.createSession(sessionOptions); StreamOptions streamOptions = new StreamOptions(&quot;rtsp:\/\/192.168.88.5\/live.sdp&quot;); Stream playStream = session.createStream(streamOptions); playStream.play(); <\/code><\/pre>\n<p>  \u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043f\u043b\u0435\u0435\u0440\u0430 \u043c\u043e\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0438\u0437 <a href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.flashphoner.wcsexample.player\">Google Play<\/a>, \u0430 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0441\u043a\u0430\u0447\u0430\u0442\u044c <a href=\"https:\/\/github.com\/flashphoner\/wcs-android-sdk-samples\/tree\/master\/player\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/p>\n<p>  \u0422\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 RTSP \u043f\u043e\u0442\u043e\u043a\u0430 \u043f\u043e WebRTC \u043d\u0430 \u043f\u043b\u0430\u043d\u0448\u0435\u0442\u0435 Asus \u043f\u043e\u0434 Android:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/24c\/97c\/ca5\/24c97cca5be54ba581f130c8bd1c753d.jpg\" \/><\/div>\n<p>  <\/p>\n<h2>\u0421\u043f\u043e\u0441\u043e\u0431 9 \u2014 iOS \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, WebRTC<\/h2>\n<p>  \u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0442\u0430\u043a\u0436\u0435 \u043a\u0430\u043a \u0438 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 Android \u0437\u0430\u0431\u0438\u0440\u0430\u0435\u0442 \u043f\u043e\u0442\u043e\u043a \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u043e WebRTC.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/48b\/775\/e1c\/48b775e1c0d6400595fc2214f2da9cf2.jpg\" \/><\/div>\n<p>  <a href=\"https:\/\/github.com\/flashphoner\/wcs-ios-sdk-samples\/blob\/master\/WCSExample\/Player\/ViewController.m\">Objective-C \u043a\u043e\u0434 \u043f\u043b\u0435\u0435\u0440\u0430<\/a> \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<pre><code>FPWCSApi2SessionOptions *options = [[FPWCSApi2SessionOptions alloc] init]; options.urlServer = @&quot;wss:\/\/192.168.88.59:8443&quot;; FPWCSApi2Session *session = [FPWCSApi2 createSession:options error:&error]; FPWCSApi2StreamOptions *options = [[FPWCSApi2StreamOptions alloc] init]; options.name = @&quot;rtsp:\/\/192.168.88.5\/live.sdp&quot;; FPWCSApi2Stream *stream = [session createStream:options error:nil]; stream play:&error; <\/code><\/pre>\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 \u0434\u043b\u044f iOS \u043c\u043e\u0436\u043d\u043e <a href=\"https:\/\/github.com\/flashphoner\/wcs-ios-sdk-samples\/tree\/master\/WCSExample\/Player\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/p>\n<p>  \u0410 \u0438\u0437 App Store \u043c\u043e\u0436\u043d\u043e <a href=\"https:\/\/appsto.re\/ru\/r1MEjb.i\">\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435<\/a>, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0435 \u0432\u044b\u0448\u0435 \u043a\u0443\u0441\u043a\u0438 \u043a\u043e\u0434\u0430. \u0415\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 RTSP-\u043f\u043e\u0442\u043e\u043a\u043e\u043c \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/web\/cd0\/e40\/1a8\/cd0e401a8af34f9dad45105982dbab22.png\" \/><\/div>\n<h2>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b<\/h2>\n<p>  \u041f\u043e\u0434\u0432\u0435\u0434\u0435\u043c \u0438\u0442\u043e\u0433\u0438 \u0438 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u043c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0432 \u0442\u0430\u0431\u043b\u0438\u0447\u043a\u0443:  <\/p>\n<table>\n<tbody>\n<tr>\n<td><\/td>\n<td align=\"center\">\u0421\u043f\u043e\u0441\u043e\u0431 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f<\/td>\n<td align=\"center\">\u041f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435<\/td>\n<td align=\"center\">\u0417\u0430\u0434\u0435\u0440\u0436\u043a\u0430<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>RTMP<\/td>\n<td>\u0422\u0430\u043c, \u0433\u0434\u0435 \u0432\u0430\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 legacy \u2014 \u0444\u043b\u044d\u0448 \u043a\u043b\u0438\u0435\u043d\u0442\u0430, Flex \u0438\u043b\u0438 Adobe Air<\/td>\n<td>medium<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>RTMP + HTML5<\/td>\n<td>\u0412 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445 IE, Edge, Mac Safari, \u0435\u0441\u043b\u0438 \u0442\u0430\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d Flash Player<\/td>\n<td>medium<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>RTMFP<\/td>\n<td>\u0422\u0430\u043c, \u0433\u0434\u0435 \u0432\u0430\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 legacy \u2014 \u0444\u043b\u044d\u0448 \u043a\u043b\u0438\u0435\u043d\u0442\u0430, Flex \u0438\u043b\u0438 Adobe Air \u0438 \u0432\u0430\u0436\u043d\u0430 \u043d\u0438\u0437\u043a\u0430\u044f \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0430<\/td>\n<td>low<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>RTMFP + HTML5<\/td>\n<td>\u0412 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445 IE, Edge, Mac Safari, \u0435\u0441\u043b\u0438 \u0442\u0430\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d Flash Player \u0438 \u0432\u0430\u0436\u043d\u0430 \u043d\u0438\u0437\u043a\u0430\u044f \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0430.<\/td>\n<td>low<\/td>\n<\/tr>\n<tr>\n<td>5<\/td>\n<td>WebRTC<\/td>\n<td>\u0412 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445 Chrome, Firefox, Opera \u043d\u0430 \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u0430\u0445 \u0438 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445 \u043f\u043e\u0434 Android, \u0433\u0434\u0435 \u0432\u0430\u0436\u043d\u0430 real-time \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0430.<\/td>\n<td>real-time<\/td>\n<\/tr>\n<tr>\n<td>6<\/td>\n<td>Websocket<\/td>\n<td>\u0412 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445, \u0433\u0434\u0435 \u043d\u0435\u0442 Flash \u0438 WebRTC, \u043d\u043e \u043d\u0443\u0436\u043d\u0430 \u0441\u0440\u0435\u0434\u043d\u044f\u044f \u0438\u043b\u0438 \u043d\u0438\u0437\u043a\u0430\u044f \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0430.<\/td>\n<td>medium<\/td>\n<\/tr>\n<tr>\n<td>7<\/td>\n<td>HLS<\/td>\n<td>\u0412\u043e \u0432\u0441\u0435\u0445 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445. \u0413\u0434\u0435 \u043d\u0435 \u0432\u0430\u0436\u043d\u0430 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0430.<\/td>\n<td>high<\/td>\n<\/tr>\n<tr>\n<td>8<\/td>\n<td>Android app, WebRTC<\/td>\n<td>\u0412 \u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0445 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445\u00a0 \u043f\u043e\u0434 Android, \u0433\u0434\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f real-time \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0430.<\/td>\n<td>real-time<\/td>\n<\/tr>\n<tr>\n<td>9<\/td>\n<td>iOS app, WebRTC<\/td>\n<td>\u0412 \u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0445 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445\u00a0 \u043f\u043e\u0434 iOS, \u0433\u0434\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f real-time \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0430.<\/td>\n<td>real-time<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>  \u0414\u043b\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u0441\u0435\u0440\u0432\u0435\u0440 Web Call Server 5, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u0443\u0435\u0442 RTSP \u043f\u043e\u0442\u043e\u043a \u0434\u043b\u044f \u0440\u0430\u0437\u0434\u0430\u0447\u0438 \u0432 9 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0445 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f\u0445.<\/p>\n<h2>\u0421\u0441\u044b\u043b\u043a\u0438<\/h2>\n<p>  <a href=\"https:\/\/flashphoner.com\/\">Web Call Server 5<\/a> \u2014 \u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u043b\u044f \u0440\u0430\u0437\u0434\u0430\u0447\u0438 RTSP \u043f\u043e\u0442\u043e\u043a\u0430<br \/>  <a href=\"https:\/\/wcs5-eu.flashphoner.com\/demo2\/flash-streaming\">Flash Streaming<\/a> \u2014 \u043f\u0440\u0438\u043c\u0435\u0440 swf \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u043f\u0440\u043e\u0438\u0433\u0440\u044b\u0432\u0430\u044e\u0449\u0435\u0433\u043e \u043f\u043e\u0442\u043e\u043a\u0438 \u043f\u043e RTMP \u0438 RTMFP. \u0421\u043f\u043e\u0441\u043e\u0431\u044b 1 \u0438 3.<br \/>  <a href=\"https:\/\/github.com\/flashphoner\/flashphoner_client\/tree\/wcs_api-2.0\/examples\/demo\/streaming\/flash_client\/streaming\">Source<\/a> \u2014 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 swf \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 Flex \/ AS3.<\/p>\n<p>  <a href=\"https:\/\/wcs5-eu.flashphoner.com\/demo2\/player\">Player<\/a> \u2014 \u043f\u0440\u0438\u043c\u0435\u0440 web-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442 RTSP \u043f\u043e\u0442\u043e\u043a \u043f\u043e RTMP, RTMFP, WebRTC, Websocket. \u0421\u043f\u043e\u0441\u043e\u0431\u044b 2,4,5,6.<br \/>  <a href=\"https:\/\/github.com\/flashphoner\/flashphoner_client\/tree\/wcs_api-2.0\/examples\/demo\/streaming\/player\">Source<\/a> \u2014 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u0432\u0435\u0431-\u043f\u043b\u0435\u0435\u0440\u0430.<\/p>\n<p>  <a href=\"https:\/\/wcs5-eu.flashphoner.com\/demo2\/hls-player\">HLS \u043f\u043b\u0435\u0435\u0440<\/a> \u2014 \u043f\u0440\u0438\u043c\u0435\u0440 web-\u043f\u043b\u0435\u0435\u0440\u0430, \u0438\u0433\u0440\u0430\u044e\u0449\u0435\u0433\u043e HLS. \u0421\u043f\u043e\u0441\u043e\u0431 7.<br \/>  <a href=\"https:\/\/github.com\/flashphoner\/flashphoner_client\/tree\/wcs_api-2.0\/examples\/demo\/streaming\/hls-player\">Source<\/a> \u2014 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 HLS \u043f\u043b\u0435\u0435\u0440\u0430.<\/p>\n<p>  <a href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.flashphoner.wcsexample.player\">Android \u043f\u043b\u0435\u0435\u0440 WebRTC<\/a> \u2014 \u043f\u0440\u0438\u043c\u0435\u0440 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0438\u0433\u0440\u0430\u0435\u0442 \u043f\u043e\u0442\u043e\u043a \u043f\u043e WebRTC. \u0421\u043f\u043e\u0441\u043e\u0431 8.<br \/>  <a href=\"https:\/\/github.com\/flashphoner\/wcs-android-sdk-samples\/tree\/master\/player\">Source<\/a> \u2014 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<\/p>\n<p>  <a href=\"https:\/\/appsto.re\/ru\/r1MEjb.i\">iOS \u043f\u043b\u0435\u0435\u0440 WebRTC<\/a> \u2014 \u043f\u0440\u0438\u043c\u0435\u0440 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0438\u0433\u0440\u0430\u0435\u0442 WebRTC \u043f\u043e\u0442\u043e\u043a. \u0421\u043f\u043e\u0441\u043e\u0431 9.<br \/>  <a href=\"https:\/\/github.com\/flashphoner\/wcs-ios-sdk-samples\/tree\/master\/WCSExample\/Player\">Source<\/a> \u2014 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<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\/329108\/\"> https:\/\/habrahabr.ru\/post\/329108\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u043e\u043a\u0430\u0436\u0435\u043c 7 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438 \u0440\u0430\u0437\u043d\u044b\u0445 \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u0430 \u0441 IP-\u043a\u0430\u043c\u0435\u0440\u044b \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 RTSP \u043d\u0430 web-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430.<\/p>\n<p>  \u0411\u0440\u0430\u0443\u0437\u0435\u0440\u044b, \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442 RTSP, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u0442\u043e\u043a \u0431\u0443\u0434\u0435\u0442 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0434\u043b\u044f \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440.<\/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-286657","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/286657","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=286657"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/286657\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=286657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=286657"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=286657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}