{"id":284336,"date":"2017-04-03T11:45:02","date_gmt":"2017-04-03T07:45:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=284336"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=284336","title":{"rendered":"\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 WebRTC \u0432\u0438\u0434\u0435\u043e\u0447\u0430\u0442\u0430 \u043c\u0435\u0436\u0434\u0443 iOS, Android \u0438 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u043c"},"content":{"rendered":"<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/57a\/e36\/91b\/57ae3691b4204dbba9aa8810e014acbd.png\" \/><\/div>\n<p>  \u0412 <a href=\"https:\/\/habrahabr.ru\/company\/flashphoner\/blog\/324914\/\">\u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435<\/a> \u043c\u044b \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u043b\u0438 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u044b \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0432\u0438\u0434\u0435\u043e\u0447\u0430\u0442\u0430 \u043c\u0435\u0436\u0434\u0443 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u043c \u0438 Android \u2014 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u043c. \u0422\u0435\u043f\u0435\u0440\u044c \u0436\u0435 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0443\u0441\u043b\u043e\u0436\u043d\u0438\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0443 \u0438 \u0437\u0430\u0438\u043c\u043f\u043b\u0435\u043c\u0435\u043d\u0442\u0438\u0442\u044c \u0442\u0440\u0435\u0445\u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0439 \u0432\u0438\u0434\u0435\u043e\u0447\u0430\u0442 \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430\u0445: Google Chrome \u043d\u0430 \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u0435, <b>Android \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435<\/b> \u043d\u0430 \u043f\u043b\u0430\u043d\u0448\u0435\u0442\u0435, \u0438 <b>iOS \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435<\/b> \u0434\u043b\u044f Apple iPhone.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u041d\u0430\u043f\u043e\u043c\u043d\u0438\u043c \u0434\u0432\u0430 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0430 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f \u0432\u0438\u0434\u0435\u043e\u0447\u0430\u0442\u0430:<\/p>\n<ol>\n<li>\u041a\u0430\u0436\u0434\u044b\u0439 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0432\u0448\u0438\u0439\u0441\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043c\u043e\u0436\u0435\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c (\u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u0442\u044c) \u0441\u0432\u043e\u0439 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440.<\/li>\n<li>\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u0437\u043d\u0430\u044e\u0442 \u0438\u043c\u0435\u043d\u0430 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u043e\u0432 \u0434\u0440\u0443\u0433-\u0434\u0440\u0443\u0433\u0430 \u0438 \u0438\u043c\u0435\u044e\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0438\u0445 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u0438.<\/li>\n<\/ol>\n<p>  \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0432 \u0432\u0438\u0434\u0435\u043e\u0447\u0430\u0442\u0435 \u0438\u0437 \u0442\u0440\u0435\u0445 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432, \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u0438\u0437 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432 \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c \u043f\u043e \u0434\u0432\u0430 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u0430.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/60d\/c35\/4d2\/60dc354d2f2f42608d4c8ba81621c8b2.jpg\" \/><\/div>\n<p>  \u041f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0438\u0437 \u0434\u0435\u0432\u044f\u0442\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043a\u0430\u043a \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u043d\u0438\u0436\u0435. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0438 \u043f\u0443\u0431\u043b\u0438\u043a\u0443\u044e\u0442 \u0441\u0432\u043e\u0438 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u0438, \u043f\u043e\u0442\u043e\u043c \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u044f\u0442 \u043f\u043e\u0442\u043e\u043a\u0438 \u0434\u0440\u0443\u0433 \u0434\u0440\u0443\u0433\u0430.<\/p>\n<p>  <b>\u041f\u0443\u0431\u043b\u0438\u043a\u0443\u044e\u0442 \u043f\u043e\u0442\u043e\u043a\u0438<\/b>  <\/p>\n<pre><code>1. Alice:\tsession.createStream({name:&quot;stream_alice&quot;}).publish(); 2. Boris:\tsession.createStream({name:&quot;stream_boris&quot;}).publish(); 3. Anna:\tsession.createStream({name:&quot;stream_anna&quot;}).publish(); <\/code><\/pre>\n<p>  <b>\u0418\u0433\u0440\u0430\u044e\u0442 \u043f\u043e\u0442\u043e\u043a\u0438<\/b>  <\/p>\n<pre><code>4. Alice:\tsession.createStream({name:&quot;stream_anna&quot;}).play(); 5. Alice:\tsession.createStream({name:&quot;stream_boris&quot;}).play(); 6. Boris:\tsession.createStream({name:&quot;stream_alice&quot;}).play(); 7. Boris\tsession.createStream({name:&quot;stream_anna&quot;}).play(); 8. Anna:\tsession.createStream({name:&quot;stream_alice&quot;}).play(); 9. Anna:\tsession.createStream({name:&quot;stream_boris&quot;}).play(); <\/code><\/pre>\n<p>  \u041e\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0443 <b>\u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0439 \u0438 \u0441\u0442\u0430\u0442\u0443\u0441\u043e\u0432<\/b> \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u043e\u0432 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430\u043c \u0432\u0438\u0434\u0435\u043e\u0447\u0430\u0442\u0430. \u042d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0430 \u043b\u044e\u0431\u043e\u0439 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 PHP, websockets, Node.js \u0438 \u0442.\u0434., \u0442\u0430\u043a \u043a\u0430\u043a \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u0438\u043c\u0435\u043d\u0438 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u0430 \u043d\u0438\u0447\u0435\u043c \u043d\u0435 \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u043e\u0431\u044b\u0447\u043d\u043e\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0433\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043e\u0442 \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043a \u0434\u0440\u0443\u0433\u043e\u043c\u0443.<\/p>\n<p>  \u0423 \u043f\u043e\u0442\u043e\u043a\u0430 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0442\u0440\u0438 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u0430: <b>PUBLISHING<\/b>, <b>PLAYING<\/b>, <b>STOPPED<\/b><\/p>\n<p>  \u0414\u043b\u044f \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0433\u043e \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f, \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u043c\u044b\u0439 \u043f\u043e\u0442\u043e\u043a \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0432 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u043c \u0441\u0442\u0430\u0442\u0443\u0441\u0435 <b>PUBLISHING<\/b>.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/114\/611\/109\/1146111096154aef95808a40cb255e19.jpg\" \/><\/div>\n<p>  \u041d\u0430 \u044d\u0442\u043e\u0439 \u0441\u0445\u0435\u043c\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e, \u043a\u0430\u043a \u0438\u043c\u0435\u043d\u043d\u043e \u043c\u043e\u0436\u043d\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u043c\u0435\u043d \u0438\u043c\u0435\u043d\u0430\u043c\u0438 \u0438 \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u043c\u0438 \u043f\u043e\u0442\u043e\u043a\u043e\u0432, \u0432 \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u043d\u043e\u043c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0435, \u043a\u043e\u0433\u0434\u0430 \u0410\u043b\u0438\u0441\u0430 \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u0442 \u0441\u0432\u043e\u0439 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a \u0411\u043e\u0440\u0438\u0441\u0443 \u0438 \u0410\u043d\u043d\u0435. \u0422\u0430\u043a\u0430\u044f \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 <b>8 \u0448\u0430\u0433\u043e\u0432<\/b>, \u0438 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043d\u0430\u0437\u0432\u0430\u043d\u0430 <b>\u0441\u0438\u0433\u043d\u0430\u043b\u0438\u043d\u0433\u043e\u043c<\/b>, \u0442.\u043a. \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u044d\u0442\u043e\u0439 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u0435:<\/p>\n<ol>\n<li>\u0410\u043b\u0438\u0441\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a \u043d\u0430 WCS-\u0441\u0435\u0440\u0432\u0435\u0440.<\/li>\n<li>\u0410\u043b\u0438\u0441\u0430 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u043e\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435 \u0432 \u0432\u0438\u0434\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u0430 PUBLISHING<\/li>\n<li>\u0410\u043b\u0438\u0441\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0411\u043e\u0440\u0438\u0441\u0443 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435, \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0435\u0435 \u043f\u043e\u0442\u043e\u043a \u0433\u043e\u0442\u043e\u0432 \u043a \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044e.<\/li>\n<li>\u0410\u043b\u0438\u0441\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0410\u043d\u043d\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435, \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0435\u0435 \u043f\u043e\u0442\u043e\u043a \u0433\u043e\u0442\u043e\u0432 \u043a \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044e.<\/li>\n<li>\u0410\u043d\u043d\u0430 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a \u0441 WCS-\u0441\u0435\u0440\u0432\u0435\u0440\u0430.<\/li>\n<li>\u0410\u043d\u043d\u0430 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u0442\u0443\u0441 PLAYING.<\/li>\n<li>\u0411\u043e\u0440\u0438\u0441 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a \u0441 WCS-\u0441\u0435\u0440\u0432\u0435\u0440\u0430.<\/li>\n<li>\u0411\u043e\u0440\u0438\u0441 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u0442\u0443\u0441 PLAYING.<\/li>\n<\/ol>\n<p>  \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u0439 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f: \u0441 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u0434\u0432\u0443\u0445 \u0438 \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u043a \u0447\u0430\u0442\u0443, \u0441 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0440\u0438\u0442\u0435\u043b\u0435\u0439, \u0438 \u0442.\u0434.<\/p>\n<h2>\u041a\u043e\u043c\u043d\u0430\u0442\u044b<\/h2>\n<p>  \u041e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u043c\u0435\u043d \u0438\u043c\u0435\u043d\u0430\u043c\u0438 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u043e\u0432 \u0438 \u0438\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u043c\u0438 \u043d\u0435 \u0442\u0430\u043a \u0443\u0436 \u0438 \u0441\u043b\u043e\u0436\u043d\u043e \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438, \u043d\u043e \u044d\u0442\u043e \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0445 \u0442\u0440\u0443\u0434\u043e\u0437\u0430\u0442\u0440\u0430\u0442 \u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043a\u043e\u0434\u043e\u043c.<\/p>\n<p>  \u0421 \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b, \u0434\u043b\u044f \u0442\u0430\u043a\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u043d\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u043a\u043e\u0435-\u0442\u043e \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043c\u043e\u0433\u043b\u043e \u0431\u044b \u043f\u043e\u043c\u043e\u0447\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c \u0431\u044b\u0441\u0442\u0440\u043e \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0442\u043e\u043a\u0438 \u0438 \u043f\u043e\u043f\u0430\u0441\u0442\u044c \u0432 \u0447\u0430\u0442. \u0422\u0430\u043a\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f <b>\u041a\u043e\u043c\u043d\u0430\u0442\u044b<\/b> \u0438\u043b\u0438 <b>Room API<\/b>.<\/p>\n<p>  \u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u0435\u0441\u043b\u0438 \u0434\u0432\u043e\u0435 \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0443\u044e\u0442 \u0432 \u043e\u0434\u043d\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435, \u0442\u043e \u044d\u0442\u043e \u043f\u043e\u0445\u043e\u0436\u0435 \u043d\u0430 \u043a\u043e\u043c\u043d\u0430\u0442\u0443. \u0412\u043d\u0443\u0442\u0440\u0438 \u043a\u043e\u043c\u043d\u0430\u0442\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u0432\u0438\u0434\u044f\u0442 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u0438 \u0434\u0440\u0443\u0433-\u0434\u0440\u0443\u0433\u0430, \u0437\u043d\u0430\u044e\u0442 \u043a\u0442\u043e \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u043a\u043e\u043c\u043d\u0430\u0442\u0435 \u0438 \u043c\u043e\u0433\u0443\u0442 \u043e\u0431\u043c\u0435\u043d\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f\u043c\u0438, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0438 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u043c\u0438.<\/p>\n<p>  \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0438\u043c\u0435\u0435\u043c \u0447\u0435\u0442\u044b\u0440\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u043e\u043a\u0440\u044b\u0432\u0430\u044e\u0442 \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 \u043a\u043e\u043c\u043d\u0430\u0442\u0430\u043c\u0438:<\/p>\n<ul>\n<li>Room \u2014 \u043a\u043e\u043c\u043d\u0430\u0442\u0430<\/li>\n<li>Stream \u2014 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a<\/li>\n<li>Participant \u2014 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a<\/li>\n<li>Message \u2014 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435<\/li>\n<\/ul>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/ac0\/a01\/728\/ac0a017285d64b3aadae45027e8242eb.jpg\" \/><\/div>\n<p>  <b>Room API<\/b> \u0434\u0430\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0435 \u0432\u044b\u0448\u0435 \u0430\u0431\u0441\u0442\u0440\u0430\u043a\u0446\u0438\u0438: <b>Room<\/b>, <b>Stream<\/b>, <b>Participant<\/b> \u0438 <b>Message<\/b> \u0434\u043b\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439:<\/p>\n<h3>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h3>\n<p>  <\/p>\n<ul>\n<li>\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043a \u043a\u043e\u043c\u043d\u0430\u0442\u0435. <\/li>\n<li>\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0437\u0430\u0434\u0430\u0435\u0442 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u043c\u043d\u0430\u0442\u044b \u043f\u0440\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438.<\/li>\n<li>\u0415\u0441\u043b\u0438 \u043a\u043e\u043c\u043d\u0430\u0442\u0430 \u0441 \u0442\u0430\u043a\u0438\u043c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442, \u0442\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043f\u043e\u043f\u0430\u0434\u0430\u0435\u0442 \u0432 \u044d\u0442\u0443 \u043a\u043e\u043c\u043d\u0430\u0442\u0443.<\/li>\n<li>\u0415\u0441\u043b\u0438 \u043a\u043e\u043c\u043d\u0430\u0442\u044b \u0441 \u0442\u0430\u043a\u0438\u043c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c \u043d\u0435\u0442, \u0442\u043e \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f \u043d\u043e\u0432\u0430\u044f \u043a\u043e\u043c\u043d\u0430\u0442\u0430 \u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043f\u043e\u043f\u0430\u0434\u0430\u0435\u0442 \u0432\u043e \u0432\u043d\u043e\u0432\u044c \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u0443\u044e \u043a\u043e\u043c\u043d\u0430\u0442\u0443.<\/li>\n<li>\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f\u0445 \/ \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f\u0445 \u0434\u0440\u0443\u0433\u0438\u0445 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432.<\/li>\n<li>\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432.<\/li>\n<\/ul>\n<p>  <\/p>\n<h3>\u0421\u0442\u0440\u0438\u043c\u0438\u043d\u0433<\/h3>\n<p>  <\/p>\n<ul>\n<li>\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043c\u043e\u0436\u0435\u0442 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u0442\u044c \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a \u0432\u043d\u0443\u0442\u0440\u0438 \u043a\u043e\u043c\u043d\u0430\u0442\u044b.<\/li>\n<li>\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043e \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u0445 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u043e\u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432.<\/li>\n<li>\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043c\u043e\u0436\u0435\u0442 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a \u0432\u043d\u0443\u0442\u0440\u0438 \u043a\u043e\u043c\u043d\u0430\u0442\u044b.<\/li>\n<\/ul>\n<p>  <\/p>\n<h3>\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f<\/h3>\n<p>  <\/p>\n<ul>\n<li>\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043c\u043e\u0433\u0443\u0442 \u043e\u0431\u043c\u0435\u043d\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f\u043c\u0438 \u0432\u043d\u0443\u0442\u0440\u0438 \u043a\u043e\u043c\u043d\u0430\u0442\u044b<\/li>\n<li>\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043c\u043e\u0433\u0443\u0442 \u043e\u0431\u043c\u0435\u043d\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f\u043c\u0438 \u0438\u043b\u0438 \u0434\u0440\u0443\u0433\u0438\u043c \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u043e\u043c, \u0435\u0441\u043b\u0438 \u043e\u043d \u0443\u043f\u0430\u043a\u043e\u0432\u0430\u043d \u0432 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0439 \u0444\u043e\u0440\u043c\u0430\u0442<\/li>\n<li>\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043e\u0434\u043d\u043e\u043c\u0443 \u0438\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430\u043c<\/li>\n<\/ul>\n<p>  <\/p>\n<h2>Room API<\/h2>\n<p>  \u0414\u043b\u044f Web \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b, \u043a\u043e\u043c\u043d\u0430\u0442\u044b \u0431\u044b\u043b\u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u044b \u0432 \u0432\u0438\u0434\u0435 <b>JavaScript \u2014 \u043c\u043e\u0434\u0443\u043b\u044f<\/b> \u0441\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c\u0438 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u043c\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438:<\/p>\n<p>  1. \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c.<\/p>\n<pre><code class=\"javascript\">var connection = Flashphoner.roomApi.connect({urlServer: &quot;wss:\/\/host:8443&quot;, username: &quot;Alice&quot;});<\/code><\/pre>\n<p>  2. \u0412\u0445\u043e\u0434\u0438\u043c \u0432 \u043a\u043e\u043c\u043d\u0430\u0442\u0443.<\/p>\n<pre><code class=\"javascript\">connection.join({name: &quot;room1&quot;});<\/code><\/pre>\n<p>  3. \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441\u043f\u0438\u0441\u043e\u043a \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432 \u043a\u043e\u043c\u043d\u0430\u0442\u044b.<\/p>\n<pre><code class=\"javascript\">var participants = room.getParticipants();<\/code><\/pre>\n<p>  4. \u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u0432\u043e\u0439 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a \u0432 \u043a\u043e\u043c\u043d\u0430\u0442\u0443.<\/p>\n<pre><code class=\"javascript\">room.publish({ \tdisplay: document.getElementById(&quot;localDisplay&quot;),         constraints: constraints,         record: false,         receiveVideo: false,         receiveAudio: false });<\/code><\/pre>\n<p>  5. \u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043c \u043f\u043e\u0442\u043e\u043a \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430.<\/p>\n<pre><code class=\"javascript\">participant.getStreams()[0].play(document.getElementById(pDisplay))<\/code><\/pre>\n<p>  6. \u0421\u043b\u0435\u0434\u0438\u043c \u0437\u0430 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430\u043c\u0438 \u043a\u043e\u043c\u043d\u0430\u0442\u044b:<\/p>\n<pre><code class=\"javascript\">connection.on(ROOM_EVENT.JOINED, function(participant){...}); connection.on(ROOM_EVENT.LEFT, function(participant){...}); connection.on(ROOM_EVENT.PUBLISHED, function(participant){...});<\/code><\/pre>\n<p>  JOINED \u2014 \u043a \u043a\u043e\u043c\u043d\u0430\u0442\u0435 \u043f\u0440\u0438\u0441\u043e\u0435\u0434\u0438\u043d\u0438\u043b\u0441\u044f \u043d\u043e\u0432\u044b\u0439 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a<br \/>  LEFT \u2014 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a \u0432\u044b\u0448\u0435\u043b<br \/>  PUBLISHED \u2014 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b \u0441\u0432\u043e\u0439 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a <\/p>\n<p>  7. \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043e\u0442 \u0434\u0440\u0443\u0433\u0438\u0445 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432.<\/p>\n<pre><code class=\"javascript\">connection.on(ROOM_EVENT.MESSAGE, function(participant){...});<\/code><\/pre>\n<p>  8. \u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u043c\u0443 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0443<\/p>\n<pre><code class=\"javascript\">participants[i].sendMessage(message);<\/code><\/pre>\n<p>  9. \u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0432\u0441\u0435\u043c \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430\u043c \u0441\u0440\u0430\u0437\u0443.<\/p>\n<pre><code class=\"javascript\">var participants = room.getParticipants();         for (var i = 0; i &lt; participants.length; i++) {             participants[i].sendMessage(message);         } }<\/code><\/pre>\n<p>  \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043e\u043c\u043d\u0430\u0442 \u0434\u0430\u0435\u0442 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043e\u0431\u043c\u0435\u043d \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f\u043c\u0438 \u0438 \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u043c\u0438 \u0432\u0441\u0435\u0445 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0445 \u043a \u043a\u043e\u043c\u043d\u0430\u0442\u0435 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432.<\/p>\n<h2>\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f Room API<\/h2>\n<p>  \u0412\u0441\u044f \u043b\u043e\u0433\u0438\u043a\u0430 \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u043a\u043e\u043c\u043d\u0430\u0442\u0430\u043c\u0438 \u043b\u043e\u0436\u0438\u0442\u0441\u044f \u043d\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0430. \u0421\u0435\u0440\u0432\u0435\u0440 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0431\u0430\u0437\u043e\u0432\u044b\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u043e\u043c \u043a\u043e\u043c\u043d\u0430\u0442\u044b:<\/p>\n<ul>\n<li>\u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \/ \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0432 \u043a\u043e\u043c\u043d\u0430\u0442\u0435<\/li>\n<li>\u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \/ \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u043e\u0432 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c\u0438 \u0432\u043d\u0443\u0442\u0440\u0438 \u043a\u043e\u043c\u043d\u0430\u0442\u044b<\/li>\n<li>\u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u043c \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430\u043c<\/li>\n<\/ul>\n<p>  \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f, \u043f\u0440\u0430\u0432\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430, \u0440\u043e\u043b\u0438 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432 (\u043c\u043e\u0434\u0435\u0440\u0430\u0442\u043e\u0440, \u0437\u0440\u0438\u0442\u0435\u043b\u044c, \u0432\u0435\u0434\u0443\u0449\u0438\u0439), \u0438 \u0434\u0440\u0443\u0433\u0430\u044f \u043b\u043e\u0433\u0438\u043a\u0430, \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u044b \u043d\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0435 \u0438 \/ \u0438\u043b\u0438 \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0435\u043c \u0431\u044d\u043a-\u044d\u043d\u0434\u0435. \u041a\u043e\u043c\u043d\u0430\u0442\u044b \u043b\u0438\u0448\u044c \u043f\u043e\u043c\u043e\u0433\u0430\u044e\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u0431\u044b\u0441\u0442\u0440\u044b\u0439 \u043e\u0431\u043c\u0435\u043d \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0435\u0439 \u043e \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u0430\u0445 \u0438 \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u0445.<\/p>\n<h2>\u041a\u043e\u043c\u043d\u0430\u0442\u044b \u0434\u043b\u044f Web, Android, iOS<\/h2>\n<p>  \u0412 \u043a\u0430\u0436\u0434\u043e\u0439 \u0438\u0437 SDK (Web, Android, iOS) \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c, \u0435\u0441\u0442\u044c API \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043a\u043e\u043c\u043d\u0430\u0442\u0430\u043c\u0438.<br \/>  \u041f\u0440\u0438\u043c\u0435\u0440\u044b \u0432\u0445\u043e\u0434\u0430 \u0432 \u043a\u043e\u043c\u043d\u0430\u0442\u0443:<\/p>\n<p>  <b>Web SDK<\/b><\/p>\n<pre><code>connection.join({name: &quot;room1&quot;});<\/code><\/pre>\n<p>  <b>Android SDK<\/b><\/p>\n<pre><code class=\"java\">Room room = roomManager.join(roomOptions);<\/code><\/pre>\n<p>  <b>iOS SDK<\/b><\/p>\n<pre><code>room = [roomManager join:options];<\/code><\/pre>\n<p>  \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0432 \u043e\u0434\u043d\u0443 \u0438 \u0442\u0443 \u0436\u0435 \u043a\u043e\u043c\u043d\u0430\u0442\u0443 \u043c\u043e\u0436\u0435\u0442 \u0432\u043e\u0439\u0442\u0438 \u0442\u0440\u0438 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430 \u0441 \u0442\u0440\u0435\u0445 \u0440\u0430\u0437\u043d\u044b\u0445 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c:<\/p>\n<ul>\n<li>Web \u2014 \u0431\u0440\u0430\u0443\u0437\u0435\u0440<\/li>\n<li>\u041c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0434\u043b\u044f Android<\/li>\n<li>\u041c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0434\u043b\u044f iOS<\/li>\n<\/ul>\n<p>  <\/p>\n<h2>\u0422\u0435\u0441\u0442\u043e\u0432\u044b\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043a\u043e\u043c\u043d\u0430\u0442\u0430\u043c\u0438<\/h2>\n<p>  \u041d\u0438\u0436\u0435 \u043c\u044b \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043c \u0442\u0440\u0438 \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043a\u043e\u043c\u043d\u0430\u0442\u0430\u043c\u0438. \u041a\u0430\u0436\u0434\u043e\u0435 \u0438\u0437 \u043d\u0438\u0445 \u0438\u043c\u0435\u0435\u0442 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0439 \u043a\u043e\u0434 \u0438 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0441\u043e\u0431\u0440\u0430\u043d\u043e \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432.<\/p>\n<p>  \u041a\u0430\u0436\u0434\u043e\u0435 \u0438\u0437 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043e\u0431\u043c\u0435\u043d\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u0430\u043c\u0438 \u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f\u043c\u0438 \u0442\u0440\u0451\u043c \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430\u043c:<\/p>\n<ul>\n<li>Conference for Web<\/li>\n<li>Conference for Android<\/li>\n<li>Conference for iOS<\/li>\n<\/ul>\n<p>  <\/p>\n<h3>Conference for Web<\/h3>\n<p>  \u041a\u043e\u0434 \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0434\u043b\u044f \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f <a href=\"https:\/\/github.com\/flashphoner\/flashphoner_client\/tree\/wcs_api-2.0\/examples\/demo\/streaming\/conference\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/p>\n<p>  \u0412 HTML-\u043a\u043e\u0434\u0435 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0434\u0432\u0430 div-\u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430<\/p>\n<pre><code class=\"html\">&lt;div id=&quot;participant1Display&quot; class=&quot;display&quot;&gt;&lt;\/div&gt;<\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"html\">&lt;div id=&quot;participant2Display&quot; class=&quot;display&quot;&gt;&lt;\/div&gt;<\/code><\/pre>\n<p>  \u042d\u0442\u0438 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0442 \u0437\u0430 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0432\u0438\u0434\u0435\u043e \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432.<\/p>\n<p>  div \u2014 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 <b>localDisplay<\/b> \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0432\u0438\u0434\u0435\u043e, \u0437\u0430\u0445\u0432\u0430\u0447\u0435\u043d\u043d\u043e\u0433\u043e \u0441 \u043a\u0430\u043c\u0435\u0440\u044b.<\/p>\n<pre><code class=\"html\">&lt;div id=&quot;localDisplay&quot; class=&quot;fp-localVideo&quot;&gt;&lt;\/div&gt;<\/code><\/pre>\n<p>  \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043d\u043e\u043f\u043e\u043a <b>Join \/ Leave<\/b> \u043c\u043e\u0436\u043d\u043e \u0432\u043e\u0439\u0442\u0438 \u0438 \u0432\u044b\u0439\u0442\u0438 \u0438\u0437 \u043a\u043e\u043c\u043d\u0430\u0442\u044b \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e. \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <b>Stop \/ Start<\/b> \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0432\u0438\u0434\u0435\u043e \u0432 \u043a\u043e\u043c\u043d\u0430\u0442\u0443 \u0438\u043b\u0438 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0432\u0435\u0449\u0430\u043d\u0438\u0435. \u041f\u043e\u043b\u0435 <b>Login<\/b> \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u043c, \u0442.\u043a. \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u0446\u0438\u0440\u0443\u0435\u0442 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/76b\/79f\/ba8\/76b79fba8b574b4fb92fb9492fdd657c.jpg\" \/><\/div>\n<p>  \u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u2014 \u044d\u0442\u043e \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0439 \u0447\u0430\u0442. \u042d\u0442\u043e\u0442 \u0447\u0430\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0435 \u0438\u043b\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c\u0438, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0441\u043e\u0431\u044b\u0442\u0438\u044f\u0445, \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0432 \u043a\u043e\u043c\u043d\u0430\u0442\u0435.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/056\/781\/d42\/056781d4247b40d39c86283ada7afcdf.jpg\" \/><\/div>\n<p>  \u0418 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u2014 \u044d\u0442\u043e \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0435. \u0415\u0441\u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0432\u043e\u0448\u0435\u043b \u043f\u0435\u0440\u0432\u044b\u043c, \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f \u043d\u043e\u0432\u0430\u044f \u043a\u043e\u043c\u043d\u0430\u0442\u0430. \u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c roomName=room-fb41b7. \u0415\u0441\u043b\u0438 \u0432\u0442\u043e\u0440\u043e\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0443\u043a\u0430\u0436\u0435\u0442 \u044d\u0442\u043e\u0442 \u0436\u0435 roomName, \u043e\u043d \u043f\u043e\u043f\u0430\u0434\u0435\u0442 \u0432 \u0442\u0443 \u0436\u0435 \u043a\u043e\u043c\u043d\u0430\u0442\u0443. \u0412 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 <b>Conference for Web<\/b> \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u044b \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0435\u0439 \u0441\u0441\u044b\u043b\u043a\u0438 \u0432\u0445\u043e\u0434\u0430, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0435\u0439 roomName \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430. \u0412 \u0432\u0435\u0440\u0441\u0438\u044f\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0434\u043b\u044f Android \u0438 iOS, \u0438\u043c\u044f \u043a\u043e\u043c\u043d\u0430\u0442\u044b \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u0432 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/9a3\/2dd\/ef3\/9a32ddef317b44ae811938fe2718c90d.png\" \/><\/div>\n<p>  \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 <b>Conference for Web<\/b> \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u0442 \u0432\u0441\u0435 \u0437\u0430\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u0432\u044b\u0448\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043a\u043e\u043c\u043d\u0430\u0442 \u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043a \u043e\u0434\u043d\u043e\u0439 \u0438 \u0442\u043e\u0439 \u0436\u0435 \u043a\u043e\u043c\u043d\u0430\u0442\u0435 \u0438 \u043e\u0431\u043c\u0435\u043d\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u0430\u043c\u0438 \u0438 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u043c\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f\u043c\u0438.<\/p>\n<p>  \u041d\u0438\u0436\u0435 \u043d\u0430 \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u043a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u043e\u043c\u043d\u0430\u0442\u0430 \u0441 \u0442\u0440\u0435\u043c\u044f \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430\u043c\u0438. \u0411\u044b\u043b\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u043e \u0442\u0440\u0438 \u0432\u043a\u043b\u0430\u0434\u043a\u0438 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 Google Chrome \u0438 \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u0439 \u0438\u0437 \u0432\u043a\u043b\u0430\u0434\u043e\u043a \u0431\u044b\u043b\u043e \u0438\u043d\u0438\u0446\u0438\u0438\u0440\u043e\u0432\u0430\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a \u043a\u043e\u043c\u043d\u0430\u0442\u0435.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/26c\/f66\/5ba\/26cf665baedc401ca966e3df71144a90.png\" \/><\/div>\n<p>  <\/p>\n<h3>Conference for Android<\/h3>\n<p>  \u041a\u043e\u0434 \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0434\u043b\u044f \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f <a href=\"https:\/\/github.com\/flashphoner\/wcs-android-sdk-samples\/tree\/master\/conference\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/p>\n<p>  \u0412 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u0432\u0432\u0435\u0441\u0442\u0438 \u0438\u043c\u044f \u043a\u043e\u043c\u043d\u0430\u0442\u044b \u043f\u0440\u044f\u043c\u043e \u0438\u0437 UI. \u0412 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u0445\u043e\u0436\u0435 \u043d\u0430 <b>Conference for Web<\/b>, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0431\u044b\u043b\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u043e \u0432\u044b\u0448\u0435 \u0438 \u0438\u043c\u0435\u0435\u0442 \u0442\u0435 \u0436\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430:<\/p>\n<ul>\n<li>\u041a\u043d\u043e\u043f\u043a\u0438 Leave \/ Join \u0434\u043b\u044f \u0432\u0445\u043e\u0434\u0430 \u0438 \u0432\u044b\u0445\u043e\u0434\u0430 \u0438\u0437 \u043a\u043e\u043c\u043d\u0430\u0442\u044b.<\/li>\n<li>\u0414\u0432\u0430 \u0432\u0438\u0434\u0435\u043e \u043e\u043a\u043d\u0430 \u0434\u043b\u044f \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0432\u0438\u0434\u0435\u043e \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432.<\/li>\n<li>\u041e\u0434\u043d\u043e \u0432\u0438\u0434\u0435\u043e \u043e\u043a\u043d\u043e \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0437\u0430\u0445\u0432\u0430\u0442\u0430 \u0432\u0438\u0434\u0435\u043e \u0441 \u043a\u0430\u043c\u0435\u0440\u044b.<\/li>\n<li>\u0422\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0439 \u0447\u0430\u0442 \u0441 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0435\u0439 \u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f\u043c\u0438 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432 <\/li>\n<\/ul>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/481\/728\/096\/4817280966fc47eea014790a1bf4c026.jpg\" \/><\/div>\n<p>  <\/p>\n<h3>Conference for iOS<\/h3>\n<p>  \u041a\u043e\u0434 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0434\u043b\u044f \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f <a href=\"http:\/\/ttps:\/\/github.com\/flashphoner\/wcs-ios-sdk-samples\/tree\/master\/WCSExample\/Conference\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/p>\n<p>  \u0418\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0434\u043b\u044f iOS \u0443\u0436\u0435 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0438\u0447\u0435\u043c \u043d\u0435 \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043f\u043e\u0434 Android, \u0441 \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c\u044e \u0434\u043e \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u043a\u043d\u043e\u043f\u043e\u043a \u0438 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043e\u0432.<\/p>\n<p>  \u0412 \u0438\u0442\u043e\u0433\u0435 \u043c\u044b \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u0442\u0435\u0441\u0442 \u0438 \u0441\u043e\u0431\u0440\u0430\u043b\u0438 \u0432\u0441\u0435 \u0442\u0440\u0438 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u0432 \u043e\u0434\u043d\u043e\u0439 \u043a\u043e\u043c\u043d\u0430\u0442\u0435 \u0441 \u043d\u043e\u043c\u0435\u0440\u043e\u043c 3119d6.<\/p>\n<p>  <b>\u0411\u0440\u0430\u0443\u0437\u0435\u0440 Google Chrome<\/b> \u2014 \u044d\u0442\u043e \u0437\u0430\u044f\u0446, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u0438\u0437 \u043d\u043e\u0440\u044b:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/3ee\/e89\/353\/3eee89353e504c84a7a69cdac62daf36.png\" \/><\/div>\n<p>  <b>Android 5.1.1 \u043d\u0430 \u043f\u043b\u0430\u043d\u0448\u0435\u0442\u0435 Asus<\/b> \u2014 \u044d\u0442\u043e \u0446\u0432\u0435\u0442\u043e\u0447\u043d\u044b\u0439 \u0433\u043e\u0440\u0448\u043e\u043a.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/aab\/774\/251\/aab77425163e41a8bf42cf40351afad8.png\" \/><\/div>\n<p>  <b>iOS 10.1.1 \u043d\u0430 iPhone 6<\/b> \u2014 \u044d\u0442\u043e \u0424\u0438\u043a\u0443\u0441 \u0411\u0435\u043d\u0434\u0436\u0430\u043c\u0438\u043d\u0430 \u043d\u0430 \u043f\u043e\u0434\u043e\u043a\u043e\u043d\u043d\u0438\u043a\u0435.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/a8d\/1df\/bf7\/a8d1dfbf7bf1470597f3773664c54691.png\" \/><\/div>\n<p>  \u041d\u0438\u0436\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d \u043f\u043e\u043b\u043d\u044b\u0439 \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442 \u0441 iOS \u2014 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/38d\/c02\/28e\/38dc0228e2e14460be6590bd8486f869.png\" \/><\/div>\n<p>  \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043c\u044b \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043b\u0438 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0438 \u043e\u0431\u0437\u043e\u0440 \u0432\u0441\u0435\u0445 \u0442\u0440\u0435\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 Room API, \u0438 \u043c\u043e\u0436\u0435\u043c \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442\u044c \u043a \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u043c\u0443 \u043a\u043e\u0434\u0443 \u0438 \u0441\u0431\u043e\u0440\u043a\u0435.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/80b\/37c\/892\/80b37c892d2948289dc0a1a112d75430.png\" \/><\/div>\n<p>  <\/p>\n<h2>\u0421\u0431\u043e\u0440\u043a\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f Conference for iOS \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432<\/h2>\n<p>  \u0412 <a href=\"https:\/\/habrahabr.ru\/company\/flashphoner\/blog\/324914\/\">\u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 <\/a>\u043c\u044b \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u043b\u0438 \u043a\u0430\u043a \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u0440 \u0432\u0438\u0434\u0435\u043e\u0447\u0430\u0442\u0430 \u043f\u043e\u0434 \u0430\u043d\u0434\u0440\u043e\u0438\u0434 \u0438 \u043e\u0431\u044a\u044f\u0441\u043d\u044f\u043b\u0438 \u043a\u0430\u043a \u0443\u0441\u0442\u0440\u043e\u0435\u043d \u043a\u043e\u0434 \u0432\u0438\u0434\u0435\u043e\u0447\u0430\u0442\u0430 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435.<\/p>\n<p>  \u0417\u0434\u0435\u0441\u044c \u043f\u043e\u043a\u0430\u0436\u0435\u043c \u043a\u0430\u043a \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u0440 <b>Conference for iOS<\/b> \u0438 \u043e\u043f\u0438\u0448\u0435\u043c \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043a\u0443\u0441\u043a\u0438 \u043a\u043e\u0434\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0430.<\/p>\n<p>  \u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u043d\u0443\u0436\u043d\u043e \u043e\u0431\u0437\u0430\u0432\u0435\u0441\u0442\u0438\u0441\u044c Mac-\u0436\u0435\u043b\u0435\u0437\u043e\u043c \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 <b>Xcode<\/b>. <\/p>\n<p>  \u041f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430 \u0441\u0431\u043e\u0440\u043a\u0438 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 <a href=\"https:\/\/cocoapods.org\">Cocoapods<\/a>, \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u0434\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u0438 SDK \u0434\u043b\u044f iOS. \u0421\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u0431\u0443\u0434\u0435\u043c \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435, \u0430 \u043f\u043e\u0442\u043e\u043c \u043e\u0442\u043a\u0440\u043e\u0435\u043c \u043f\u0440\u043e\u0435\u043a\u0442 \u0432 Xcode.<\/p>\n<p>  1. \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c Cocoapods<\/p>\n<pre><code class=\"bash\">sudo gem install cocoapods<\/code><\/pre>\n<p>  2. \u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0432\u0441\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0441 github<\/p>\n<pre><code class=\"bash\">git clone https:\/\/github.com\/flashphoner\/wcs-ios-sdk-samples.git<\/code><\/pre>\n<p>  3. \u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c iOS SDK<\/p>\n<pre><code class=\"bash\">wget https:\/\/flashphoner.com\/downloads\/builds\/flashphoner_client\/wcs-ios-sdk\/WCS-iOS-SDK-2.3.0.tar.gz<\/code><\/pre>\n<p>  4. \u0420\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u0430\u0440\u0445\u0438\u0432<\/p>\n<pre><code class=\"bash\">tar -xvzf WCS-iOS-SDK-2.3.0.tar.gz<\/code><\/pre>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/af9\/b76\/a9c\/af9b76a9c1c5441dac8ec70f58b29f27.png\" \/><\/div>\n<p>  5. \u041a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u043f\u0430\u043f\u043a\u0443 <b>FPWCSApi2.framework<\/b> \u0432 \u043f\u0440\u0438\u043c\u0435\u0440\u044b<\/p>\n<pre><code class=\"bash\">cp -R FPWCSApi2.framework wcs-ios-sdk-samples<\/code><\/pre>\n<p>  6. \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0441\u0431\u043e\u0440\u043a\u0443.<\/p>\n<pre><code class=\"bash\">.\/build_example.sh<\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u0441\u0431\u043e\u0440\u043a\u0430 \u043f\u0440\u043e\u0448\u043b\u0430 \u0443\u0441\u043f\u0435\u0448\u043d\u043e, \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f <b>**ARCHIVE SUCCEDED**<\/b><\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/ed3\/b0a\/604\/ed3b0a6040a641c5a550df5bbc89a0f4.png\" \/><\/div>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e \u043a\u0430\u043a \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0441\u043e\u0431\u0440\u0430\u043d\u044b \u0438\u0437 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <b>Cocoapods<\/b>, \u043f\u043e\u0434\u0442\u044f\u043d\u0443\u0442\u044b \u0438 \u0441\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u0432\u0441\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u0438 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0438\u0435 \u0441\u0431\u043e\u0440\u043a\u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u044c \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0438\u0437 <b>Xcode<\/b>.<\/p>\n<p>  7. \u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c <b>WCSExample.xcworkspace<\/b> \u0432 Xcode<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/a83\/edf\/ba9\/a83edfba9c7b45b895ebaf5f412bca99.png\" \/><\/div>\n<p>  8. \u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c Generic iOS Device \u0432 \u0446\u0435\u043b\u044f\u0445 \u0441\u0431\u043e\u0440\u043a\u0438. \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0441\u0431\u043e\u0440\u043a\u0443 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 Conference \u0438\u0437 \u043c\u0435\u043d\u044e <b>Product \/ Build<\/b> \u0438 \u0434\u043e\u0436\u0438\u0434\u0430\u0435\u043c\u0441\u044f \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/2de\/3fa\/e88\/2de3fae888c64dc58030d3dd33f8574b.png\" \/><\/div>\n<p>  9. \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c iPhone \u043f\u043e USB \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 <b>Conference<\/b>. \u0412 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0442\u043b\u0430\u0434\u043e\u0447\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/840\/7e3\/075\/8407e3075f1346289197570b1589157c.png\" \/><\/div>\n<p>  10. \u041d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 iPhone \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 Conference<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/bcc\/196\/f1e\/bcc196f1edf24ae9999f550d3fb7fb66.png\" \/><\/div>\n<p>  \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043c\u044b \u0441\u043e\u0431\u0440\u0430\u043b\u0438 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 Conference \u0434\u043b\u044f iOS \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 iOS SDK \u0432\u0435\u0440\u0441\u0438\u0438 2.3.0 + Cocoapods \u0434\u043b\u044f \u044d\u0442\u043e\u0439 \u0441\u0431\u043e\u0440\u043a\u0438. \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043c\u044b \u0441\u043c\u043e\u0433\u043b\u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u044d\u0442\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 iPhone 6, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u043e\u043c \u043f\u043e USB \u043a Mac, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043b\u0430\u0441\u044c \u044d\u0442\u0430 \u0441\u0431\u043e\u0440\u043a\u0430.<\/p>\n<h2>\u041a\u043e\u0434 \u0434\u043b\u044f Web, Android, iOS \u0432\u0438\u0434\u0435\u043e\u0447\u0430\u0442\u043e\u0432<\/h2>\n<p>  \u0412\u044b\u0448\u0435 \u043c\u044b \u043f\u0440\u0438\u0432\u0435\u043b\u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0434\u043b\u044f \u0442\u0440\u0435\u0445 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 Room API \u0438 \u043e\u0431\u043c\u0435\u043d\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u0430\u043c\u0438 \u0432\u043d\u0443\u0442\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0439 \u043a\u043e\u043c\u043d\u0430\u0442\u044b. \u041f\u043e\u043f\u044b\u0442\u0430\u0435\u043c\u0441\u044f \u043a\u0440\u0430\u0442\u043a\u043e \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0438\u0442\u044c \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043a\u0443\u0441\u043a\u0438 \u043a\u043e\u0434\u0430, \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0438\u0435 \u0437\u0430 \u0440\u0430\u0431\u043e\u0442\u0443 \u0432\u0438\u0434\u0435\u043e\u0447\u0430\u0442\u0430 \u0432 \u043a\u0430\u0436\u0434\u043e\u0439 \u0438\u0437 \u044d\u0442\u0438\u0445 \u0442\u0440\u0435\u0445 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c:  <\/p>\n<table>\n<tbody>\n<tr>\n<td>&nbsp;<\/td>\n<td><b>Web<\/b><\/td>\n<td><b>Android<\/b><\/td>\n<td><b>iOS<\/b><\/td>\n<\/tr>\n<tr>\n<td>\u041a\u043e\u0434<\/td>\n<td><b>JavaScript<\/b><\/td>\n<td><b>Java<\/b><\/td>\n<td><b>Objective-C<\/b><\/td>\n<\/tr>\n<tr>\n<td>\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043a\u043e\u0434<\/td>\n<td><a href=\"https:\/\/github.com\/flashphoner\/flashphoner_client\/blob\/wcs_api-2.0\/examples\/demo\/streaming\/conference\/conference.js\">conference.js<\/a><\/td>\n<td><a href=\"https:\/\/github.com\/flashphoner\/wcs-android-sdk-samples\/blob\/master\/conference\/src\/main\/java\/com\/flashphoner\/wcsexample\/conference\/ConferenceActivity.java\">ConferenceActivity.java<\/a><\/td>\n<td><a href=\"https:\/\/github.com\/flashphoner\/wcs-ios-sdk-samples\/blob\/master\/WCSExample\/Conference\/ViewController.m\">ViewController.m<\/a><\/td>\n<\/tr>\n<tr>\n<td>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443<\/td>\n<td>\n<pre><code class=\"javascript\">connection = Flashphoner.roomApi.connect({urlServer: url, username: username});<\/code><\/pre>\n<\/td>\n<td>\n<pre><code class=\"java\">roomManager = Flashphoner.createRoomManager(roomManagerOptions);<\/code><\/pre>\n<\/td>\n<td>\n<pre><code>roomManager = [FPWCSApi2 createRoomManager:options error:&amp;error];<\/code><\/pre>\n<\/td>\n<\/tr>\n<tr>\n<td>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a \u043a\u043e\u043c\u043d\u0430\u0442\u0435<\/td>\n<td>\n<pre><code class=\"javascript\">connection.join({name: getRoomName()});<\/code><\/pre>\n<\/td>\n<td>\n<pre><code class=\"java\">room = roomManager.join(roomOptions);<\/code><\/pre>\n<\/td>\n<td>\n<pre><code>room = [roomManager join:options];<\/code><\/pre>\n<\/td>\n<\/tr>\n<tr>\n<td>\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0441\u043f\u0438\u0441\u043a\u0430 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432<\/td>\n<td>\n<pre><code class=\"javascript\">var participants = room.getParticipants();<\/code><\/pre>\n<\/td>\n<td>\n<pre><code class=\"java\">room.getParticipants()<\/code><\/pre>\n<\/td>\n<td>\n<pre><code>NSDictionary *participants = [room getParticipants];<\/code><\/pre>\n<\/td>\n<\/tr>\n<tr>\n<td>\u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u0430 \u0432 \u043a\u043e\u043c\u043d\u0430\u0442\u0443<\/td>\n<td>\n<pre><code class=\"javascript\">room.publish({ display: document.getElementById(&quot;localDisplay&quot;), constraints: constraints, record: false, receiveVideo: false, receiveAudio: false });<\/code><\/pre>\n<\/td>\n<td>\n<pre><code class=\"java\">stream = room.publish(localRenderer);<\/code><\/pre>\n<\/td>\n<td>\n<pre><code>publishStream = [room publish:_localDisplay];<\/code><\/pre>\n<\/td>\n<\/tr>\n<tr>\n<td>\u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043c \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430<\/td>\n<td>\n<pre><code class=\"javascript\">participant.getStreams()[0].play(document.getElementById(pDisplay));<\/code><\/pre>\n<\/td>\n<td>\n<pre><code class=\"java\">participant.play(participantView.surfaceViewRenderer);<\/code><\/pre>\n<\/td>\n<td>\n<pre><code>[participant play:pv.display];<\/code><\/pre>\n<\/td>\n<\/tr>\n<tr>\n<td>\u041e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0435\u043c \u043f\u0440\u0438\u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u043d\u043e\u0432\u044b\u0445 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432 \u043a \u043a\u043e\u043c\u043d\u0430\u0442\u0435<\/td>\n<td>\n<pre><code class=\"javascript\">connection.on(ROOM_EVENT.JOINED, function(participant){...});<\/code><\/pre>\n<\/td>\n<td>\n<pre><code class=\"java\">public void onJoined(final Participant participant){...};<\/code><\/pre>\n<\/td>\n<td>\n<pre><code>[room on:kFPWCSRoomParticipantEventJoined participantCallback:^(FPWCSApi2Room *room, FPWCSApi2RoomParticipant *participant){...}]<\/code><\/pre>\n<\/td>\n<\/tr>\n<tr>\n<td>\u041e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0435\u043c \u043f\u043e\u043a\u0438\u0434\u0430\u043d\u0438\u0435 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430\u043c\u0438 \u043a\u043e\u043c\u043d\u0430\u0442\u044b<\/td>\n<td>\n<pre><code class=\"javascript\">connection.on(ROOM_EVENT.LEFT, function(participant){...});<\/code><\/pre>\n<\/td>\n<td>\n<pre><code class=\"java\">public void onLeft(final Participant participant){...}<\/code><\/pre>\n<\/td>\n<td>\n<pre><code>[room on:kFPWCSRoomParticipantEventLeft participantCallback:^(FPWCSApi2Room *room, FPWCSApi2RoomParticipant *participant){...}]<\/code><\/pre>\n<\/td>\n<\/tr>\n<tr>\n<td>\u041e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0435\u043c \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044e \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u0430 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u043c \u043a\u043e\u043c\u043d\u0430\u0442\u044b<\/td>\n<td>\n<pre><code class=\"javascript\">connection.on(ROOM_EVENT.PUBLISHED, function(participant){...});<\/code><\/pre>\n<\/td>\n<td>\n<pre><code class=\"java\">public void onPublished(final Participant participant){...}<\/code><\/pre>\n<\/td>\n<td>\n<pre><code>[room on:kFPWCSRoomParticipantEventPublished participantCallback:^(FPWCSApi2Room *room, FPWCSApi2RoomParticipant *participant){...}]<\/code><\/pre>\n<\/td>\n<\/tr>\n<tr>\n<td>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0432\u0445\u043e\u0434\u044f\u0449\u0435\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0442 \u0434\u0440\u0443\u0433\u0438\u0445 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432<\/td>\n<td>\n<pre><code class=\"javascript\">connection.on(ROOM_EVENT.MESSAGE, function(participant){...});<\/code><\/pre>\n<\/td>\n<td>\n<pre><code class=\"javascript\">public void onMessage(final Message message){...}<\/code><\/pre>\n<\/td>\n<td>\n<pre><code>[room onMessageCallback:^(FPWCSApi2Room *room, FPWCSApi2RoomMessage *message){...}]<\/code><\/pre>\n<\/td>\n<\/tr>\n<tr>\n<td>\u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0434\u043d\u043e\u043c\u0443 \u0438\u0437 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432<\/td>\n<td>\n<pre><code class=\"javascript\">participants[i].sendMessage(message);<\/code><\/pre>\n<\/td>\n<td>\n<pre><code class=\"java\">participant.sendMessage(text);<\/code><\/pre>\n<\/td>\n<td>\n<pre><code>[participant sendMessage:_messageBody.text];<\/code><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>  \u0418\u0442\u043e\u0433\u043e \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043f\u043e 10 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439 \u043d\u0430 \u043a\u0430\u0436\u0434\u0443\u044e \u0438\u0437 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c. \u041a\u0430\u0436\u0434\u0443\u044e \u0438\u0437 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0445 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439 \u0432\u044b \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0430\u0439\u0442\u0438 \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u043c \u0444\u0430\u0439\u043b\u0435 \u0441 \u043a\u043e\u0434\u043e\u043c.<\/p>\n<p>  \u0412\u0441\u0435 \u0442\u0440\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f Web, iOS \u0438 Android \u0431\u044b\u043b\u0438 \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u0441 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u0441\u0431\u043e\u0440\u043a\u043e\u0439 <b>Web Call Server 5<\/b> \u2014 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0434\u043b\u044f \u0432\u0438\u0434\u0435\u043e\u0447\u0430\u0442\u043e\u0432 \u0438 low-latency \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0439 \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 WebRTC.<\/p>\n<h2>\u0421\u0441\u044b\u043b\u043a\u0438<\/h2>\n<p>  <a href=\"https:\/\/flashphoner.com\">Web Call Server<\/a> \u2014 \u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u043b\u044f WebRTC \u0432\u0438\u0434\u0435\u043e\u0447\u0430\u0442\u043e\u0432<br \/>  <a href=\"https:\/\/aws.amazon.com\/marketplace\/pp\/B01D1L5EAK\">EC2 launch<\/a> \u2014 \u0437\u0430\u043f\u0443\u0441\u043a \u0433\u043e\u0442\u043e\u0432\u043e\u0433\u043e \u043e\u0431\u0440\u0430\u0437\u0430 \u043d\u0430 Amazon EC2<br \/>  <a href=\"https:\/\/flashphoner.com\/download\/\">Install<\/a> \u2014 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043d\u0430 VPS \u0438\u043b\u0438 Dedicated \u0445\u043e\u0441\u0442<br \/>  <a href=\"https:\/\/cocoapods.org\">Cocoapods<\/a> \u2014 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439 \u0434\u043b\u044f \u0441\u0431\u043e\u0440\u043a\u0438<\/p>\n<table>\n<tbody>\n<tr>\n<td>&nbsp;<\/td>\n<td><b>Web SDK<\/b><\/td>\n<td><b>Android SDK<\/b><\/td>\n<td><b>iOS SDK<\/b><\/td>\n<\/tr>\n<tr>\n<td>SDK<\/td>\n<td><a href=\"https:\/\/flashphoner.com\/wcs-web-sdk\">html<\/a><\/td>\n<td><a href=\"https:\/\/flashphoner.com\/wcs-android-sdk\">html<\/a><\/td>\n<td><a href=\"https:\/\/flashphoner.com\/wcs-ios-sdk\">html<\/a><\/td>\n<\/tr>\n<tr>\n<td>\u0421\u043a\u0430\u0447\u0430\u0442\u044c SDK<\/td>\n<td><a href=\"https:\/\/flashphoner.com\/downloads\/builds\/flashphoner_client\/wcs_api-2.0\/flashphoner-api-0.5.18.1977-6db74501c8268c652a19522634836e0c7d35a6b5.tar.gz\">tar.gz<\/a><\/td>\n<td><a href=\"https:\/\/flashphoner.com\/downloads\/builds\/flashphoner_client\/wcs-android-sdk\/aar\/wcs-android-sdk-1.0.1.26.aar\">aar<\/a><\/td>\n<td><a href=\"https:\/\/flashphoner.com\/downloads\/builds\/flashphoner_client\/wcs-ios-sdk\/WCS-iOS-SDK-2.3.0.tar.gz\">tar.gz<\/a><\/td>\n<\/tr>\n<tr>\n<td>\u041f\u0440\u0438\u043c\u0435\u0440 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0447\u0430\u0442\u0430 \u0441 \u043a\u043e\u043c\u043d\u0430\u0442\u0430\u043c\u0438<\/td>\n<td><a href=\"https:\/\/wcs5-eu.flashphoner.com\/demo2\/conference\">WCS demo<\/a><\/td>\n<td><a href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.flashphoner.wcsexample.conference\">Google Play<\/a><\/td>\n<td>\u0422\u043e\u043b\u044c\u043a\u043e Ad hoc<\/td>\n<\/tr>\n<tr>\n<td>\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0444\u0430\u0439\u043b \u043a\u043e\u0434\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0430<\/td>\n<td><a href=\"https:\/\/github.com\/flashphoner\/flashphoner_client\/blob\/wcs_api-2.0\/examples\/demo\/streaming\/conference\/conference.js\">Conference.js<\/a><\/td>\n<td><a href=\"https:\/\/github.com\/flashphoner\/wcs-android-sdk-samples\/blob\/master\/conference\/src\/main\/java\/com\/flashphoner\/wcsexample\/conference\/ConferenceActivity.java\">ConferenceActivity.java<\/a><\/td>\n<td><a href=\"https:\/\/github.com\/flashphoner\/wcs-ios-sdk-samples\/blob\/master\/WCSExample\/Conference\/ViewController.m\">ViewController.m<\/a><\/td>\n<\/tr>\n<tr>\n<td>\u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u0432\u0441\u0435\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432<\/td>\n<td><a href=\"https:\/\/github.com\/flashphoner\/flashphoner_client\/tree\/wcs_api-2.0\">github<\/a><\/td>\n<td><a href=\"https:\/\/github.com\/flashphoner\/wcs-android-sdk-samples\">github<\/a><\/td>\n<td><a href=\"https:\/\/github.com\/flashphoner\/wcs-ios-sdk-samples\">github<\/a><\/td>\n<\/tr>\n<tr>\n<td>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b \u0441\u0431\u043e\u0440\u043a\u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430<\/td>\n<td><a href=\"https:\/\/flashphoner.com\/docs\/wcs5\/wcs_docs\/html\/ru\/wcs-developer-guide-2\/index.html?quick_start_web_sdk.htm\">html<\/a><\/td>\n<td><a href=\"https:\/\/flashphoner.com\/docs\/wcs5\/wcs_docs\/html\/ru\/wcs-developer-guide-2\/index.html?quick_start_android_sdk.htm\">html<\/a><\/td>\n<td><a href=\"https:\/\/flashphoner.com\/docs\/wcs5\/wcs_docs\/html\/ru\/wcs-developer-guide-2\/index.html?quick_start_ios_sdk.htm\">html<\/a><\/td>\n<\/tr>\n<tr>\n<td>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043a\u043e\u0434\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0441 \u043a\u043e\u043c\u043d\u0430\u0442\u0430\u043c\u0438 Conference<\/td>\n<td><a href=\"https:\/\/flashphoner.com\/docs\/wcs5\/wcs_docs\/html\/ru\/wcs-developer-guide-2\/index.html?video_conference_web_sdk.htm\">html<\/a><\/td>\n<td><a href=\"https:\/\/flashphoner.com\/docs\/wcs5\/wcs_docs\/html\/ru\/wcs-developer-guide-2\/index.html?video_conference_android_sdk.htm\">html<\/a><\/td>\n<td>&nbsp;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\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=\"https:\/\/habrahabr.ru\/post\/325444\/\"> https:\/\/habrahabr.ru\/post\/325444\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/57a\/e36\/91b\/57ae3691b4204dbba9aa8810e014acbd.png\" \/><\/div>\n<p>  \u0412 <a href=\"https:\/\/habrahabr.ru\/company\/flashphoner\/blog\/324914\/\">\u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435<\/a> \u043c\u044b \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u043b\u0438 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u044b \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0432\u0438\u0434\u0435\u043e\u0447\u0430\u0442\u0430 \u043c\u0435\u0436\u0434\u0443 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u043c \u0438 Android \u2014 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u043c. \u0422\u0435\u043f\u0435\u0440\u044c \u0436\u0435 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0443\u0441\u043b\u043e\u0436\u043d\u0438\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0443 \u0438 \u0437\u0430\u0438\u043c\u043f\u043b\u0435\u043c\u0435\u043d\u0442\u0438\u0442\u044c \u0442\u0440\u0435\u0445\u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0439 \u0432\u0438\u0434\u0435\u043e\u0447\u0430\u0442 \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430\u0445: Google Chrome \u043d\u0430 \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u0435, <b>Android \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435<\/b> \u043d\u0430 \u043f\u043b\u0430\u043d\u0448\u0435\u0442\u0435, \u0438 <b>iOS \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435<\/b> \u0434\u043b\u044f Apple iPhone.  <\/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-284336","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/284336","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=284336"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/284336\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=284336"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=284336"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=284336"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}