{"id":285899,"date":"2017-05-04T11:20:04","date_gmt":"2017-05-04T07:20:04","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=285899"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2017-05-04T07:20:04","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=285899","title":{"rendered":"\u0422\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u0443\u0435\u043c \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a \u0441 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043f\u043e WebRTC \u043d\u0430 Facebook \u0438 YouTube \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e"},"content":{"rendered":"<p>Facebook \u0438 YouTube \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u0432\u0435\u0449\u0430\u0442\u044c Live-\u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u0438 \u043d\u0430 \u0448\u0438\u0440\u043e\u043a\u0443\u044e \u0430\u0443\u0434\u0438\u0442\u043e\u0440\u0438\u044e \u0437\u0440\u0438\u0442\u0435\u043b\u0435\u0439. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0435\u043c, \u043a\u0430\u043a \u0437\u0430\u0445\u0432\u0430\u0442\u0438\u0442\u044c \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a \u0441 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043f\u043e \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 WebRTC \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u044d\u0442\u043e\u0442 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0432 Facebook \u0438 \u043d\u0430 YouTube \u0434\u043b\u044f \u043f\u0440\u044f\u043c\u043e\u0439 \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438 \u2014 \u0441\u0440\u0430\u0437\u0443 \u0432 \u0434\u0432\u0430 \u0441\u0435\u0440\u0432\u0438\u0441\u0430.<a name=\"habracut\"><\/a><\/p>\n<p>  \u041f\u0435\u0440\u0435\u0434 \u0442\u0435\u043c \u043a\u0430\u043a \u043d\u0430\u0447\u0430\u0442\u044c \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u044e, \u0432\u044b\u044f\u0441\u043d\u0438\u043c, \u043a\u0430\u043a\u0438\u0435 RTMP endpoints \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 Facebook \u0438 Youtube \u0434\u043b\u044f \u0441\u0442\u0440\u0438\u043c\u0438\u043d\u0433\u0430. \u0414\u0430\u043b\u0435\u0435 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0441\u043b\u0430\u0442\u044c \u043f\u043e \u044d\u0442\u0438\u043c RTMP \u0430\u0434\u0440\u0435\u0441\u0430\u043c \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u0438.<\/p>\n<h2>Facebook<\/h2>\n<p>  \u041d\u0430\u0447\u043d\u0435\u043c, \u043f\u043e\u0436\u0430\u043b\u0443\u0439 \u0441 Facebook. \u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u044b\u0441\u043a\u0430\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u0443 <b>\u041d\u0430\u0447\u0430\u0442\u044c \u043f\u0440\u044f\u043c\u043e\u0439 \u044d\u0444\u0438\u0440<\/b>. \u042d\u0442\u0430 \u043a\u043d\u043e\u043f\u043a\u0430 \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0442\u0430\u043a:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/c81\/a0b\/3c6\/c81a0b3c60284d92b6564a30c66736b3.jpg\" \/><\/div>\n<p>  \u0418\u043b\u0438 \u0432\u043e\u0442 \u0442\u0430\u043a:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/c0d\/386\/05f\/c0d38605f63742c9a868ab850d0b4187.jpg\" \/><\/div>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u043d\u0443\u0436\u043d\u043e \u0435\u0449\u0435 \u0440\u0430\u0437 \u043d\u0430\u0436\u0430\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u0443 <b>\u0412 \u044d\u0444\u0438\u0440<\/b><\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/dd7\/68f\/0d4\/dd768f0d45b54614aef443ebcfc11096.jpg\" \/><\/div>\n<p>  \u0418 \u043a\u043b\u0438\u043a\u043d\u0443\u0442\u044c \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435 <b>Click here<\/b> \u0434\u043b\u044f \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438 \u0441 \u0432\u043d\u0435\u0448\u043d\u0438\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432, \u0430 \u043d\u0435 \u0441 \u0441\u0430\u043c\u043e\u0433\u043e Facebook.<\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u043a\u043b\u0438\u043a\u0430\u0435\u043c <b>\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0442\u0440\u0438\u043c<\/b><\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/134\/4d0\/f2d\/1344d0f2db1b4ab68555c72df3ce50f5.jpg\" \/><\/div>\n<p>  \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435, Facebook \u0434\u0430\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 RTMP \u043f\u043e\u0442\u043e\u043a\u0430:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/fa6\/698\/be5\/fa6698be5f6b49b594de1539cec241a5.jpg\" \/><\/div>\n<p>  \u0418\u0437 \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u0430 \u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u0430\u0434\u0440\u0435\u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430: <b>rtmp:\/\/rtmp-api.facebook.com:80\/rtmp\/<\/b><\/p>\n<p>  \u0410 \u0438\u043c\u044f RTMP \u043f\u043e\u0442\u043e\u043a\u0430 \u2014 \u044d\u0442\u043e \u0434\u043b\u0438\u043d\u043d\u0430\u044f \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430:<br \/>  <b>1489000000111961?ds=1&#038;s_l=1&#038;a=ATj9giGjaTTfgpNHBP<\/b><\/p>\n<p>  \u0418\u043c\u0435\u043d\u043d\u043e \u044d\u0442\u0438 \u0434\u0432\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u043d\u0430\u043c \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u044e\u0442\u0441\u044f \u0434\u043b\u044f \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0438\u0445 \u043f\u043e\u043a\u0430 \u043e\u0442\u043b\u043e\u0436\u0438\u043c \u0438 \u0443\u0437\u043d\u0430\u0435\u043c RTMP \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0434\u043b\u044f YouTube.<\/p>\n<h2>YouTube<\/h2>\n<p>  \u0427\u0442\u043e\u0431\u044b \u043d\u0430\u0447\u0430\u0442\u044c \u0441\u0442\u0440\u0438\u043c\u0438\u0442\u044c \u0441 YouTube, \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u0439\u0442\u0438 \u043d\u0430 \u0441\u0430\u0439\u0442 <a href=\"https:\/\/youtube.com\/live\">https:\/\/youtube.com\/live<\/a> \u0438 \u043d\u0430\u0436\u0430\u0442\u044c \u043d\u0430 \u043a\u043d\u043e\u043f\u043e\u0447\u043a\u0443 <b>Upload<\/b><\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/de6\/864\/ac3\/de6864ac300c43e1bde2aaff601b395b.jpg\" \/><\/div>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c Live Streaming \u0438 \u0436\u043c\u0435\u043c <b>Get Started<\/b>.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/8a7\/e14\/681\/8a7e14681e584f9fb0afe9d1f7c30529.jpg\" \/><\/div>\n<p>  \u0414\u043e\u043b\u0436\u043d\u0430 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u043f\u0430\u043d\u0435\u043b\u044c \u0441\u0442\u0440\u0438\u043c\u0438\u043d\u0433\u0430, \u043f\u043b\u0435\u0435\u0440 \u0438 RTMP-\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/815\/21b\/00a\/81521b00a6604376a89b49ae64b56ceb.jpg\" \/><\/div>\n<p>  \u0418\u0437 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u0432\u0438\u0434\u0438\u043c, \u0447\u0442\u043e RTMP \u0430\u0434\u0440\u0435\u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 <b>rtmp:\/\/a.rtmp.youtube.com\/live2<\/b>, \u0430 \u0438\u043c\u044f \u043f\u043e\u0442\u043e\u043a\u0430 \u0441\u043a\u0440\u044b\u0442\u043e \u0438 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0432\u0438\u0434\u0438\u043c\u044b\u043c \u043f\u043e \u043d\u0430\u0436\u0430\u0442\u0438\u044e \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443 <b>Reveal<\/b>.<br \/>  \u0418\u043c\u044f RTMP-\u043f\u043e\u0442\u043e\u043a\u0430 \u0434\u043b\u044f YouTube \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a: <b>8r0t-z4d-9xyj-2bcd<\/b><\/p>\n<p>  \u0412 \u0438\u0442\u043e\u0433\u0435 \u043c\u044b \u0442\u043e\u0447\u043d\u043e \u0437\u043d\u0430\u0435\u043c \u043a\u0443\u0434\u0430 \u0441\u043b\u0430\u0442\u044c RTMP-\u043f\u043e\u0442\u043e\u043a\u0438:  <\/p>\n<table>\n<tbody>\n<tr>\n<td>&nbsp;<\/td>\n<td><b>Facebook<\/b><\/td>\n<td><b>YouTube<\/b><\/td>\n<\/tr>\n<tr>\n<td>RTMP-\u0430\u0434\u0440\u0435\u0441<\/td>\n<td>rtmp:\/\/rtmp-api.facebook.com:80\/rtmp\/<\/td>\n<td>rtmp:\/\/a.rtmp.youtube.com\/live2<\/td>\n<\/tr>\n<tr>\n<td>\u0418\u043c\u044f \u043f\u043e\u0442\u043e\u043a\u0430<\/td>\n<td>1489000000111961?ds=1&amp;s_l=1&amp;a=ATj9giGjaTTfgpNHBP<\/td>\n<td>8r0t-z4d-9xyj-2bcd<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>  <\/p>\n<h2>Web Call Server<\/h2>\n<p>  \u0421\u0435\u0440\u0432\u0435\u0440 \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u0432\u0435\u0447\u0430\u0442\u044c \u0437\u0430 \u043f\u0440\u0438\u0435\u043c \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u0430 \u0441 \u0432\u0435\u0431\u043a\u0430\u043c\u0435\u0440\u044b \u043f\u043e WebRTC \u0438 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0443 \u043d\u0430 Facebook \u0438 YouTube \u043f\u043e RTMP.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/351\/d9a\/4dc\/351d9a4dc4864a5781e6854991723dbf.jpg\" \/><\/div>\n<p>  <b>\u0414\u0435\u043b\u0430\u0439 \u0440\u0430\u0437<\/b><\/p>\n<p>  \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a \u0441 \u0432\u0435\u0431-\u043a\u0430\u043c\u0435\u0440\u044b \u0438\u0437 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 Google Chrome.<\/p>\n<p>  \u0414\u043b\u044f \u044d\u0442\u043e\u0439 \u0446\u0435\u043b\u0438 \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u0440 HTML-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0434\u043b\u044f \u0441\u0442\u0440\u0438\u043c\u0438\u043d\u0433\u0430 <a href=\"https:\/\/flashphoner.com\/downloads\/examples\/webrtc-broadcasting-example-0.5.15.1977.2088.tar.gz\">\u0437\u0434\u0435\u0441\u044c<\/a> \u0438 \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043d\u0430 \u0441\u0432\u043e\u0435\u043c \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0442\u0440\u0438 \u0444\u0430\u0439\u043b\u0430 \u0438\u0437 \u044d\u0442\u043e\u0433\u043e \u0430\u0440\u0445\u0438\u0432\u0430: <\/p>\n<ul>\n<li>streamer.html<\/li>\n<li>streamer.js<\/li>\n<li>flashphoner.js<\/li>\n<\/ul>\n<p>  <b>flashphoner.js<\/b> \u2014 \u044d\u0442\u043e \u0444\u0430\u0439\u043b API. \u0415\u0433\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0432 \u0441\u0431\u043e\u0440\u043a\u0435 <a href=\"https:\/\/flashphoner.com\/wcs-web-sdk\">Web SDK<\/a>.<\/p>\n<p>  \u041a\u043e\u0434 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e \u0434\u0435\u043c\u043e-\u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0434\u043b\u044f \u0441\u0442\u0440\u0438\u043c\u0438\u043d\u0433\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d <a href=\"https:\/\/github.com\/flashphoner\/flashphoner_client\/tree\/wcs_api-2.0\/examples\/demo\/streaming\/two_way_streaming\">\u0437\u0434\u0435\u0441\u044c<\/a>. \u0414\u043e\u043f\u0443\u0441\u0442\u0438\u043c \u043c\u044b \u043e\u0442\u043a\u0440\u044b\u043b\u0438 \u0434\u0435\u043c\u043e. \u041a\u043e\u043d\u043d\u0435\u043a\u0442\u0438\u043c\u0441\u044f \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443 \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 WebRTC \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a \u0441 \u0438\u043c\u0435\u043d\u0435\u043c <b>5dfd<\/b>. \u042d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u0430\u043a:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/fc0\/20c\/f1c\/fc020cf1c4ef4f7d9f12c10b68f14441.png\" \/><\/div>\n<p>  \u0412\u0438\u0434\u0435\u043e \u0437\u0430\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0441 \u043a\u0430\u043c\u0435\u0440\u044b \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 (\u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0441 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439), \u0438 \u0443\u0445\u043e\u0434\u0438\u0442 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 WCS5 \u043f\u043e \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 WebRTC, \u0432 \u043a\u043e\u0434\u0435\u043a\u0430\u0445 VP8+Opus \u0438\u043b\u0438 H.264+Opus \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0438 \u0432\u0435\u0440\u0441\u0438\u0438 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430.<\/p>\n<p>  \u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0448\u0430\u0433\u043e\u043c \u0431\u0443\u0434\u0435\u0442 \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u044d\u0442\u043e\u0433\u043e \u0432\u0438\u0434\u0435\u043e \u043d\u0430 Facebook.<\/p>\n<p>  <b>\u0414\u0435\u043b\u0430\u0439 \u0434\u0432\u0430<\/b><\/p>\n<p>  Web Call Server \u0438\u043c\u0435\u0435\u0442 REST API, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442, \u0437\u043d\u0430\u044f \u0438\u043c\u044f \u043f\u043e\u0442\u043e\u043a\u0430, \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u0438\u0442\u044c WebRTC \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a \u043d\u0430 RTMP.<\/p>\n<p>  \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440\u0443 REST \/ HTTP \u0437\u0430\u043f\u0440\u043e\u0441 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u044f:  <\/p>\n<table>\n<tbody>\n<tr>\n<td>URL<\/td>\n<td>\n<pre><code>https:\/\/wcs5-eu.flashphoner.com:8888\/rest-api\/push\/startup<\/code><\/pre>\n<\/td>\n<\/tr>\n<tr>\n<td>Content-Type<\/td>\n<td>application\/json<\/td>\n<\/tr>\n<tr>\n<td>Method<\/td>\n<td>POST<\/td>\n<\/tr>\n<tr>\n<td>Body<\/td>\n<td>\n<pre><code>{ streamName: &quot;5dfd&quot;, rtmpUrl: &quot;rtmp:\/\/rtmp-api.facebook.com:80\/rtmp\/1489000000111961?ds=1&amp;s_l=1&amp;a=ATj9giGjaTTfgpNHBP&quot;  }<\/code><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>  \u0422\u0430\u043a\u043e\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u0437 \u0442\u0443\u043b\u044b <a href=\"https:\/\/chrome.google.com\/webstore\/detail\/advanced-rest-client\/hgmloofddffdnphfgcellkdfbfbjeloo\">Advanced REST Console<\/a>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \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\/files\/c82\/600\/8c3\/c826008c386d4e91ab42fc24c5e041cb.png\" \/><\/div>\n<p>  \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 WCS \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 WebRTC \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a \u043d\u0430 Facebook \u043f\u043e \u0434\u043b\u0438\u043d\u043d\u043e\u043c\u0443 \u0430\u0434\u0440\u0435\u0441\u0443: <\/p>\n<p>  <b>rtmp:\/\/rtmp-api.facebook.com:80\/rtmp\/1489000000111961?ds=1&#038;s_l=1&#038;a=ATj9giGjaTTfgpNHBP<\/b><\/p>\n<p>  \u0412 \u044d\u0442\u043e\u043c \u0430\u0434\u0440\u0435\u0441\u0435 \u0441\u043e\u0432\u043c\u0435\u0449\u0435\u043d\u044b RTMP URL \u0438 \u0438\u043c\u044f \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u0430.<\/p>\n<p>  \u0427\u0435\u0440\u0435\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434 \u0432 Facebook \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0432\u0438\u0434\u0435\u043e:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/3fb\/1a2\/e04\/3fb1a2e040264269a4c2051a9afdd2a7.jpg\" \/><\/div>\n<p>  <b>\u0414\u0435\u043b\u0430\u0439 \u0442\u0440\u0438<\/b><\/p>\n<p>  \u0412\u044b\u0441\u044b\u043b\u0430\u0435\u043c \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 \u0434\u043b\u044f YouTube  <\/p>\n<table>\n<tbody>\n<tr>\n<td>URL<\/td>\n<td>\n<pre><code>https:\/\/wcs5-eu.flashphoner.com:8888\/rest-api\/push\/startup<\/code><\/pre>\n<\/td>\n<\/tr>\n<tr>\n<td>Content-Type<\/td>\n<td>application\/json<\/td>\n<\/tr>\n<tr>\n<td>Method<\/td>\n<td>POST<\/td>\n<\/tr>\n<tr>\n<td>Body<\/td>\n<td>\n<pre><code>{ streamName: &quot;5dfd&quot;, rtmpUrl: &quot;rtmp:\/\/a.rtmp.youtube.com\/live2\/8r0t-z4d-9xyj-2bcd&quot; }<\/code><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>  \u0418\u043b\u0438 \u0438\u0437 REST-\u043a\u043e\u043d\u0441\u043e\u043b\u0438:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/f2a\/026\/19d\/f2a02619d6fb4c74a434e27aed47dac6.png\" \/><\/div>\n<p>  \u0421\u0435\u0440\u0432\u0435\u0440 \u0432\u0435\u0440\u043d\u0435\u0442 200 OK \u0438 \u0437\u0430\u0431\u0435\u0440\u0435\u0442 \u043f\u043e\u0442\u043e\u043a \u043d\u0430 YouTube:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/789\/b82\/683\/789b826834e6447eaabc1abdbc065ed7.jpg\" \/><\/div>\n<p>  \u0412 \u0438\u0442\u043e\u0433\u0435 \u0432\u0438\u0434\u0438\u043c, \u0447\u0442\u043e \u0441\u0442\u0440\u0438\u043c \u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0438 \u0440\u0430\u0437\u0434\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u043e\u0431\u0430 \u0441\u0435\u0440\u0432\u0438\u0441\u0430: \u0438 \u043d\u0430 Facebook \u0438 \u043d\u0430 YouTube.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/2eb\/b17\/cfc\/2ebb17cfc35347ab9e96214e6404e426.jpg\" \/><\/div>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0441\u0435\u0445 \u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u0443\u0435\u043c\u044b\u0445 \u043f\u043e\u0442\u043e\u043a\u043e\u0432 \u0438\u0437 \u0442\u043e\u0433\u043e \u0436\u0435 REST API:  <\/p>\n<table>\n<tbody>\n<tr>\n<td>URL<\/td>\n<td>\n<pre><code>https:\/\/wcs5-eu.flashphoner.com:8888\/rest-api\/push\/find_all<\/code><\/pre>\n<\/td>\n<\/tr>\n<tr>\n<td>Content-Type<\/td>\n<td>application\/json<\/td>\n<\/tr>\n<tr>\n<td>Method<\/td>\n<td>POST<\/td>\n<\/tr>\n<tr>\n<td>Body<\/td>\n<td>\n<pre><code>{}<\/code><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>  \u0421\u0435\u0440\u0432\u0435\u0440 \u0432\u0435\u0440\u043d\u0435\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u0442\u043e\u043a\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0440\u0435\u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u043d\u0430 Facebook \u0438 YouTube:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/948\/68d\/a09\/94868da093b4485bb82b8bf4837b43af.jpg\" \/><\/div>\n<p>  \u041e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0440\u0435\u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438 \u0434\u0432\u0443\u043c\u044f \u0432\u044b\u0437\u043e\u0432\u0430\u043c\u0438 <b>\/push\/terminate<\/b><\/p>\n<p>  \u041e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u0441\u044f \u043e\u0442 Facebook:  <\/p>\n<table>\n<tbody>\n<tr>\n<td>URL<\/td>\n<td>\n<pre><code>https:\/\/wcs5-eu.flashphoner.com:8888\/rest-api\/push\/terminate<\/code><\/pre>\n<\/td>\n<\/tr>\n<tr>\n<td>Content-Type<\/td>\n<td>application\/json<\/td>\n<\/tr>\n<tr>\n<td>Method<\/td>\n<td>POST<\/td>\n<\/tr>\n<tr>\n<td width=\"114\">Body<\/td>\n<td width=\"510\">\n<pre><code>{ &quot;mediaSessionId&quot;: &quot;8omef99f40674tcfi4pm87npbb&quot; }<\/code><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>  \u041e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u0441\u044f \u043e\u0442 YouTube:  <\/p>\n<table>\n<tbody>\n<tr>\n<td>URL<\/td>\n<td>\n<pre><code>https:\/\/wcs5-eu.flashphoner.com:8888\/rest-api\/push\/terminate<\/code><\/pre>\n<\/td>\n<\/tr>\n<tr>\n<td>Content-Type<\/td>\n<td>application\/json<\/td>\n<\/tr>\n<tr>\n<td>Method<\/td>\n<td>POST<\/td>\n<\/tr>\n<tr>\n<td>Body<\/td>\n<td>\n<pre><code>{ &quot;mediaSessionId&quot;: &quot;e13p1gc10bgsk3me49cest9gv2&quot; }<\/code><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>  \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043c\u044b \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u043b\u0438 \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u044e \u0441 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043f\u043e \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 WebRTC \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 Web Call Server 5, \u0437\u0430\u0442\u0435\u043c \u043e\u0434\u043d\u0438\u043c REST-\u0437\u0430\u043f\u0440\u043e\u0441\u043e\u043c <b>\/push\/startup<\/b> \u0440\u0435-\u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a \u043d\u0430 Facebook, \u0430 \u0432\u0442\u043e\u0440\u044b\u043c \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u043c <b>\/push\/startup<\/b> \u0440\u0435-\u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u043f\u043e\u0442\u043e\u043a \u043d\u0430 YouTube Live. \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b\u0438 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u043e\u0432 \u0447\u0435\u0440\u0435\u0437 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u043f\u043b\u0435\u0435\u0440\u044b \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u0438 \u0432\u044b\u0432\u0435\u043b\u0438 \u0441\u043f\u0438\u0441\u043e\u043a \u0440\u0435-\u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u0443\u0435\u043c\u044b\u0445 \u043f\u043e\u0442\u043e\u043a\u043e\u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u043c <b>\/push\/find_all<\/b>. \u0417\u0430\u043a\u043e\u043d\u0447\u0438\u043b\u0438 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435, \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0432 \u0442\u0435\u043a\u0443\u0449\u0438\u0435 \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438 \u0434\u0432\u0443\u043c\u044f \u0437\u0430\u043f\u0440\u043e\u0441\u0430\u043c\u0438 <b>\/push\/terminate<\/b>.<\/p>\n<h2>\u041f\u0438\u0448\u0435\u043c JavaScript \/ HTML \u043a\u043e\u0434<\/h2>\n<p>  \u0420\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 REST API, \u043f\u043e\u0436\u0430\u043b\u0443\u0439, \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u0438\u043b\u0438 \u043f\u043e\u0447\u0442\u0438 \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0443. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u044b \u043d\u0435 \u0431\u0443\u0434\u0435\u043c \u0437\u0434\u0435\u0441\u044c \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u043a\u043e\u0434, \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u044e\u0449\u0438\u0439 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0443 REST\/HTTP \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432.<\/p>\n<p>  \u0412\u043c\u0435\u0441\u0442\u043e \u044d\u0442\u043e\u0433\u043e \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0435\u043c \u043a\u0430\u043a \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a \u0441 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0438 \u0432\u0435\u0431\u043a\u0430\u043c\u0435\u0440\u044b \u0434\u043e\u0445\u043e\u0434\u0438\u0442 \u0434\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430.<\/p>\n<p>  \u041a\u0430\u043a \u043c\u044b \u0443\u043f\u043e\u043c\u0438\u043d\u0430\u043b\u0438 \u0432\u044b\u0448\u0435, \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430, \u0437\u0430\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u044e\u0449\u0435\u0433\u043e \u0432\u0438\u0434\u0435\u043e, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0442\u0440\u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u0430:<\/p>\n<ul>\n<li>streamer.html<\/li>\n<li>streamer.js<\/li>\n<li>flashphoner.js<\/li>\n<\/ul>\n<p>  <b>flashphoner.js<\/b> \u2014 \u044d\u0442\u043e \u0444\u0430\u0439\u043b, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0441\u0431\u043e\u0440\u043a\u0435 <a href=\"https:\/\/flashphoner.com\/wcs-web-sdk\">Web SDK<\/a> \u0438 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0441\u043c\u044b\u0441\u043b\u0430 \u043d\u0435\u0442.<\/p>\n<p>  <b>streamer.html<\/b><\/p>\n<p>  \u042d\u0442\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 div-\u044d\u043b\u0435\u043c\u0435\u043d\u0442 <b>localVideo<\/b>, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c\u0441\u044f \u0437\u0430\u0445\u0432\u0430\u0442 \u0441 \u043a\u0430\u043c\u0435\u0440\u044b, \u0438 \u043a\u043d\u043e\u043f\u043a\u0443 <b>Start<\/b> \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438.<\/p>\n<pre><code class=\"html\">&lt;html&gt; &lt;head&gt;     &lt;script language=&quot;javascript&quot; src=&quot;flashphoner.js&quot;&gt;&lt;\/script&gt;     &lt;script language=&quot;javascript&quot; src=&quot;streamer.js&quot;&gt;&lt;\/script&gt; &lt;\/head&gt; &lt;body onLoad=&quot;init()&quot;&gt; &lt;h1&gt;The streamer&lt;\/h1&gt; &lt;div id=&quot;localVideo&quot; style=&quot;width:320px;height:240px;border: 1px solid&quot;&gt;&lt;\/div&gt; &lt;input type=&quot;button&quot; value=&quot;start&quot; onClick=&quot;start()&quot;\/&gt; &lt;p id=&quot;status&quot;&gt;&lt;\/p&gt; &lt;\/body&gt; &lt;\/html&gt; <\/code><\/pre>\n<p>  <b>streamer.js<\/b><\/p>\n<p>  \u0421\u043a\u0440\u0438\u043f\u0442 \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 \u0447\u0435\u0442\u044b\u0440\u044c\u043c\u044f \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u043c\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438 API:<\/p>\n<ul>\n<li>Flashphoner.init(); \/\/\u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e API.<\/li>\n<li>Flashphoner.createSession(); \/\/\u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443<\/li>\n<li>session.createStream(); \/\/\u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u0430<\/li>\n<li>session.createStream().publish(); \/\/\u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0443 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u0430<\/li>\n<\/ul>\n<p>  \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443 \u043f\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443 Websocket \u0438 \u0437\u0430\u0445\u0432\u0430\u0442 \u0432\u0438\u0434\u0435\u043e \u0441 \u0432\u0435\u0431-\u043a\u0430\u043c\u0435\u0440\u044b \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u0441 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u043e\u0439 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u043e WebRTC.<\/p>\n<pre><code class=\"javascript\">var localVideo;  function init(){     Flashphoner.init();     localVideo = document.getElementById(&quot;localVideo&quot;); }  function start() {     Flashphoner.createSession({urlServer: &quot;wss:\/\/wcs5-eu.flashphoner.com:8443&quot;}).on(Flashphoner.constants.SESSION_STATUS.ESTABLISHED, function (session) {         \/\/session connected, start streaming         startStreaming(session);     }).on(Flashphoner.constants.SESSION_STATUS.DISCONNECTED, function () {         setStatus(&quot;DISCONNECTED&quot;);     }).on(Flashphoner.constants.SESSION_STATUS.FAILED, function () {         setStatus(&quot;FAILED&quot;);     }); }  function startStreaming(session) {     session.createStream({         name: &quot;stream222&quot;,         display: localVideo,         cacheLocalResources: true,         receiveVideo: false,         receiveAudio: false     }).on(Flashphoner.constants.STREAM_STATUS.PUBLISHING, function (publishStream) {         setStatus(Flashphoner.constants.STREAM_STATUS.PUBLISHING);     }).on(Flashphoner.constants.STREAM_STATUS.UNPUBLISHED, function () {         setStatus(Flashphoner.constants.STREAM_STATUS.UNPUBLISHED);     }).on(Flashphoner.constants.STREAM_STATUS.FAILED, function () {         setStatus(Flashphoner.constants.STREAM_STATUS.FAILED);     }).publish(); }  function setStatus(status) {     document.getElementById(&quot;status&quot;).innerHTML = status; } <\/code><\/pre>\n<p>  \u0421\u043a\u0430\u0447\u0430\u0442\u044c \u0430\u0440\u0445\u0438\u0432 \u0441 \u0441\u043a\u0440\u0438\u043f\u0442\u0430\u043c\u0438 <b>streamer.html<\/b> \u0438 <b>streamer.js<\/b> \u043c\u043e\u0436\u043d\u043e <a href=\"https:\/\/flashphoner.com\/downloads\/examples\/webrtc-broadcasting-example-0.5.15.1977.2088.tar.gz\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u044f \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0430 \u0438\u0437 Google Chrome, \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u043b\u043e\u0436\u0438\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438 \u043d\u0430 \u0432\u0435\u0431-\u0445\u043e\u0441\u0442\u0438\u043d\u0433, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u043e https.<\/p>\n<p>  Web Call Server \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u043d\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u043c Linux-\u0445\u043e\u0441\u0442\u0435. \u0421\u043a\u0430\u0447\u0430\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u043e\u0432 \u043c\u043e\u0436\u043d\u043e <a href=\"https:\/\/flashphoner.com\/download\">\u0437\u0434\u0435\u0441\u044c<\/a>. \u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u0441\u0435\u0440\u0432\u0435\u0440 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u0438 \u0437\u0430\u043f\u0443\u0449\u0435\u043d, \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u0432\u0435\u0431\u0441\u043e\u043a\u0435\u0442-\u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0430\u043c: ws:\/\/host:8080 \u0438 wss:\/\/host:8443<\/p>\n<p>  \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043c\u044b \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0438 \u043a\u0430\u043a \u0437\u0430\u0445\u0432\u0430\u0442\u0438\u0442\u044c \u0432\u0438\u0434\u0435\u043e \u0441 \u0432\u0435\u0431\u043a\u0430\u043c\u0435\u0440\u044b \u0438 \u0434\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a \u0434\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0442\u0440\u0435\u0445 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432. \u0415\u0441\u043b\u0438 \u0432\u0441\u0435 \u0431\u044b\u043b\u043e \u0441\u0434\u0435\u043b\u0430\u043d\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e, \u0441\u043a\u0440\u0438\u043f\u0442 \u0434\u043e\u043b\u0436\u0435\u043d \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0441\u0442\u0430\u0442\u0443\u0441 PUBLISHING. \u042d\u0442\u043e \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442, \u0447\u0442\u043e WebRTC \u043f\u043e\u0442\u043e\u043a \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u0438 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0440\u0435-\u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u043e\u0432\u0430\u043d \u043d\u0430 YouTube \u0438\u043b\u0438 Facebook \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e REST API.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/9fa\/9ce\/f9b\/9fa9cef9b3e94d35b1d966d8ccb1c351.png\" \/><\/div>\n<h2>\u0421\u0441\u044b\u043b\u043a\u0438<\/h2>\n<p>  <a href=\"https:\/\/flashphoner.com\/\">Web Call Server<\/a> \u2014 WebRTC \u0441\u0435\u0440\u0432\u0435\u0440 \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u0440\u0435\u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438 \u043d\u0430 YouTube \u0438 Facebook<br \/>  <a href=\"https:\/\/flashphoner.com\/wcs-web-sdk\">Web SDK<\/a> \u2014 JavaScript API \u0434\u043b\u044f \u0432\u043d\u0435\u0434\u0440\u0435\u043d\u0438\u044f \u043a\u043e\u0434\u0430 \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438 \u0432 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443.<br \/>  <a href=\"https:\/\/flashphoner.com\/docs\/wcs5\/wcs_docs\/html\/en\/wcs-rest-api\/\">REST API<\/a> \u2014 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0440\u0435\u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u044f\u043c\u0438 WebRTC \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u043e\u0432<br \/>  <a href=\"https:\/\/flashphoner.com\/downloads\/examples\/webrtc-broadcasting-example-0.5.15.1977.2088.tar.gz\">Source<\/a> \u2014 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438 \u043f\u043e\u0442\u043e\u043a\u0430 \u0441 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440.<br \/>  <a href=\"http:\/\/youtube.com\/live\">YouTube Live<\/a> \u2014 \u0441\u0435\u0440\u0432\u0438\u0441 \u0436\u0438\u0432\u044b\u0445 \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0439 \u043e\u0442 YouTube<br \/>  <a href=\"https:\/\/live.fb.com\/\">Facebook Live<\/a> \u2014 \u0441\u0435\u0440\u0432\u0438\u0441 \u0436\u0438\u0432\u044b\u0445 \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0439 \u043e\u0442 Facebook<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\/327986\/\"> https:\/\/habrahabr.ru\/post\/327986\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Facebook \u0438 YouTube \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u0432\u0435\u0449\u0430\u0442\u044c Live-\u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u0438 \u043d\u0430 \u0448\u0438\u0440\u043e\u043a\u0443\u044e \u0430\u0443\u0434\u0438\u0442\u043e\u0440\u0438\u044e \u0437\u0440\u0438\u0442\u0435\u043b\u0435\u0439. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0435\u043c, \u043a\u0430\u043a \u0437\u0430\u0445\u0432\u0430\u0442\u0438\u0442\u044c \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a \u0441 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043f\u043e \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 WebRTC \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u044d\u0442\u043e\u0442 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0432 Facebook \u0438 \u043d\u0430 YouTube \u0434\u043b\u044f \u043f\u0440\u044f\u043c\u043e\u0439 \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438 \u2014 \u0441\u0440\u0430\u0437\u0443 \u0432 \u0434\u0432\u0430 \u0441\u0435\u0440\u0432\u0438\u0441\u0430.<\/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-285899","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/285899","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=285899"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/285899\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=285899"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=285899"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=285899"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}