<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>amagitakayosi</author_name>
  <author_url>https://blog.hatena.ne.jp/amagitakayosi/</author_url>
  <blog_title>マルシテイア</blog_title>
  <blog_url>https://blog.amagi.dev/</blog_url>
  <categories>
  </categories>
  <description>クライアントに納品するプロジェクトで、タブレット/スマホ連動の音声認識アプリを作ることになった。 仕組みはこんな感じ。 アプリの仕組み 特定の単語を認識して、両デバイスでコンテンツを再生する、というヤツ。 音声認識はタブレットでやっていて、単語を認識したらスマートフォンにイベントを送信している。 当初はWeb技術で実現しようとしていた。 音声認識: Web Speech API デバイス間の通信: WebSocket PCでいい感じに動くところまではサクッと作れたんだけど、Android実機で動作確認した所、音声認識開始の「ピコン♪」という音が無限になり続ける事態に遭遇した。 まさにこの状況↓…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.amagi.dev%2Fentry%2F2019%2F01%2F25%2F111706&quot; title=&quot;Kotlinで音声認識 + Nearby APIでオフライン通信するアプリ作った - マルシテイア&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/a/amagitakayosi/20190121/20190121121614.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-01-25 11:17:06</published>
  <title>Kotlinで音声認識 + Nearby APIでオフライン通信するアプリ作った</title>
  <type>rich</type>
  <url>https://blog.amagi.dev/entry/2019/01/25/111706</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
