ml-prompter's People
ml-prompter's Issues
Photon PUNでネットワークするようにする
Boltのお手軽さは無くなってしまうがしょうがない、PhotonPUNのメッセージでうまい事送信できないか試してみる
WebSocketサーバからブラウザにテキストを送信する
まずはローカルにある.txtファイルの中身のテキストをブラウザ側に送信するところまでを実装する
送信自体はアプリ起動後ブラウザとの接続を確立したときに一度だけ行う.
送信するテキストファイルの名前は SpakerNote.txtとする
PC側からMagicLeap側へスクショが遅れないかテストしてみる
現在開いているスライドが何かを把握したい
接続が切断されたときに自動で復帰するようにする
とりあえずバンパーボタンを押下したらネットを切断するようにして切断のイベントが来たら接続したホストに接続する
Localの情報表示は行わないようにする
基本的にローカルのカメラの情報等は送信しない想定なので見えなくてよい
透過ウィンドウを実装する
https://qiita.com/wakagomo/items/6e83019481d7cd326e72
↑この記事が参考になると思う
とりあえず透過ウィンドウが実装され、マウスの入力等が十日すればよい、ESCキーでアプリが落ちるようにしておく
スライド操作用のUI作成
無難にポインタを合わせてクリックで操作する形がいいかもしれないな
前にやった触ってやるタイプもいいけどあれはあれでミスって触った時の誤爆が怖かったりする
となるとUIの構成としては
Root
+--- 台本パネル
+--- 次へ
+--- 次へ ( スライド操作込み )
+--- 前へ
+--- 前へ ( スライド操作込み )
このUIの攻勢でいいかもしれない、スライド操作を含めない台本のみの前後は念のため準備するだけなので一回り小さいUIでもいいかもしれない
WebRTCを試す
mBaaSを利用した画像の共有を試してみる
とりあえずデータストアの保存までは確認できてるNifty Cloud mobile backend service で試してみる
タイマーが正常にリセットされずに途中から再開されてしまう
タイマーリセットしたら0からスタートするようにする
スピーカーノートの表示とページ切り替えができるようにする
次ページ、前ページでスピーカーノートのページ切り替えができれば完了とする
MagicLeap用に作成していたプロジェクトの削除
もういらなくなったので削除する
Local、Remote双方の音声はデフォルトでOffにする
音声を同期する必要はないので基本的にAudioはOffでいい
ノートが正常にロードできない不具合を修正する
なぜかファイルがロードできない現象があるので対応する
スクリーンショットが適切に送信されるようにする
現在ではメッセージを送った時点でのスライドのスクショが送信される、一定時間ディレイを持たせ次のスライドになったときのスクショを送信するようにする
MagicLeapの入力でWindows側に値を送信する
ひとまず
- トリガー : 1
- バンパー : 2
の値を送信することとする
ホームボタンを押下したらアプリが閉じるようにする
MagicLeap -> PCでメッセージを送信し、スライドのページングができるようにする
次スライド、前スライド
この操作がMagicLeap側から行えるようにする
MagicLeap側だけでなくローカルサーバ側の開発も行う
完了条件
MagicLeapで 次スライド、前スライドのボタンを押下するとPC側のスライドが前後に移動する
なぜかノートPCでスクリーンショットすら撮影できない現象を修正する
なんでかわからんが本番で利用しようとしていたノートPCだとスクリーンショットがMagicLeap側に送信されていない
送信されていないというよりスクリーンショット自体がなんか撮影出来てない、もしかしたらスクショ -> 圧縮あたりでエラーが出てる?
送信するスクリーンショットの画像をもう少しよくする
さすがに二色だときつかったので3色くらいで送信するようにする
MagicLeap側でスピーカーノートの表示を行う
実装する機能としては以下の二つ
- スピーカーノート
- 経過時間表示タイマー
MagicLeapSDKを導入
ホームボタンを押下したらアプリが終了するようにする
ハンドトラッキングが行えるようにする ml-hand-uiを参考にハンドジェスチャを取り入れる
Locakの動画、音声を送信しないようにする
必要なのはPC側の画面情報だけなのでMagicLeap側から動画、音声を送信しないようにする
ページ送り等のUI作りこみ
コントローラのジェスチャだとたまに動かないときがあるからコントローラそのもので当たり判定をとる
WANに接続されていないネットワークで動作するようにする
今のところGoogleSlideを想定しているからWANにつながってるネットワークでいいけどWANにつながってない状態で操作できたほうが良い( パワポでLANのみで運用とか考えると...
いつかやる
WebSocketサーバ側のコードを整理する
MagicLeapWebRTCのプロジェクトを変更しやすいようにリファクタリングを行う
まずはMagicLeapWebRTCのプロジェクトを変更しやすいようにリファクタリングを行う
一応このプロジェクトで使わないであろう機能もリソースとしては残しておく( 後で軟化するときの参考にするため )
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.