2013年12月14日(日本時間)にjustin/twitchの仕様が変化した件
リンク
- justin/twitchの仕様が変化した件 - Togetterまとめ
- The Official Twitch Blog Got Embed? Make Sure to Check/Update Your Site's Twitch Embed URL » The Official Twitch Blog Dec 11 2013 · 4 comments · Developers, Engineering, Events, News, Status, Tech
- Video Player Failed To Load : Justin.tv Support Center
- New Video Player! | Justin.tv This entry was posted in The Features, The Site, Video on December 11, 2013 by Daniel.
- The Official Twitch Blog Service Update: Major Video System Update and Prague Is Online » The Official Twitch Blog Dec 13 2013 · 119 comments · Engineering, News, Status, Tech
埋め込みプレーヤーが機能しない件
これは先のtogetter前半のお話.リンク[1,2,3].
- twitchチャンネルをjustinプレーヤーから見られなくなった.メッセージ「Failed to load video. Please submit an issue report.」と共に http://www.justin.tv/user/login?next=/zendesk/login%3Freturn_to%3Dhttps%253a%252f%252fhelp.justin.tv%252frequests%252fnew へのリンクが示される
- アスカチェッカーの埋め込みプレーヤーでなく.twitchチャンネルページを表示した際は問題ない
以上から埋め込みプレーヤータグが不適切なのだろうと考えた.アスカチェッカーの埋め込みプレーヤーと,twitchチャンネルページで示された埋め込みプレーヤーを並べてみた.
<html> <body> <object name="obj1" width="640" height="480" id="live_embed_player_flash" data="http://www.justin.tv/widgets/live_embed_player.swf?channel=ustpaulga" type="application/x-shockwave-flash" bgcolor="white"> <param name="allowFullScreen" value="true"><param name="allowScriptAccess" value="always"> <param name="allowNetworking" value="all"><param name="quality" value="autohigh"><param name="movie" value="http://www.justin.tv/widgets/live_embed_player.swf"> <param name="flashvars" value="channel=ustpaulga&auto_play=true&start_volume=100"> </object> <br> <br> <object type="application/x-shockwave-flash" height="378" width="620" id="live_embed_player_flash" data="http://ja.twitch.tv/widgets/live_embed_player.swf?channel=ustpaulga" bgcolor="#000000"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="allowNetworking" value="all" /><param name="movie" value="http://ja.twitch.tv/widgets/live_embed_player.swf" /><param name="flashvars" value="hostname=ja.twitch.tv&channel=ustpaulga&auto_play=true&start_volume=25" /></object><a href="http://ja.twitch.tv//ustpaulga" class="trk" style="padding:2px 0px 4px; display:block; width:345px; font-weight:normal; font-size:10px; text-decoration:underline; text-align:center;">Watch live video from Ustpaulga on ja.twitch.tv</a> </body></html>
そして下図の結果を得,先の想像が当たりだと分かった.解決した.
既存のサイトでは http://www.justin.tv/widgets/live_embed_player.swf を http://www.twitch.tv/widgets/live_embed_player.swf に変更するだけで対応できる.
justin/twitchで何が起こったのか.何が起こっているのか
これは先のtogetter後半のお話.何が起こったのかはリンク[4,5].
映像配信と映像視聴のタイムラグが10秒から20秒程度にまで増大した.以前は気にならない程度に短く,数秒程度だった.リンク[5]では,twitch自身もこの問題を認識していて,ラグを短縮するために活動していると記述されている.
ついでにOpen BroadCaster Softwareを宣伝
- Twitch.TV | Broadcast Requirements Last Updated: Dec 09, 2013 04:30PM PST
- Twitch.TV | Open Broadcaster Software Last Updated: Sep 24, 2013 04:37PM PDT
- Open Broadcaster Software - Index
Broadcast Requirementsはこういうデータを受け付けますよっていう説明書き.加えて配信ソフトウェア別に設定例が示されている.文章だけでなく図示もされている.ゆえに英語を苦手とする者であっても,理解は易しいだろう.