-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MOQT clientのSubscribe OKメッセージ送信対応 #58
Conversation
This comment has been minimized.
This comment has been minimized.
|
This comment has been minimized.
This comment has been minimized.
issueは #60 として起票。 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
js/main.js
Outdated
|
||
// TODO: sendSubscribeErrorMessage | ||
// TODO: Move error handling to lib.rs | ||
announcedTrackNamespaces.forEach((announced) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
検索の際はfilter関数使った方が綺麗に見えると思います
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
というのも、for文はいろいろな形で使われるので、中身の条件分見ないとどういった処理をされているのかわからないのに対して、filter関数を使うと「フィルターしているんだな」ということがパッとわかるからです
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ありがとうございます。
今回は含まれるかどうかで判定したかったのでinclude
を使ってみます。
もし意図が違ったら指摘お願いします。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OKです〜
This comment has been minimized.
This comment has been minimized.
…/moq-wasm into impl/subscribe_ok
|
内容
track_name_space
をtrack_namespace
へ統合議論ポイント
sendSubscribeOkMessage
をJS側においてある