Skip to content
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

放送中ニコ生の過去コメントの取得 #317

Closed
tor4kichi opened this issue Oct 27, 2016 · 2 comments
Closed

放送中ニコ生の過去コメントの取得 #317

tor4kichi opened this issue Oct 27, 2016 · 2 comments
Milestone

Comments

@tor4kichi
Copy link
Owner

ニコ生コメントサーバーと接続するときの thread メッセージにlast_comment 的な要素があったはずなので、ハートビート等で取得したコメント数を thread メッセージに渡して、取得できないか試してみたいです。

@tor4kichi tor4kichi added this to the v0.5.2 milestone Oct 27, 2016
@tor4kichi
Copy link
Owner Author

tor4kichi commented Oct 27, 2016

生放送の再生時に過去コメントを 50件 取得するように変更しました。

取得を50件に制限している理由は、前の流れがわかれば十分であることと、1000件取得して画面に追加するだけでも割りとCPUパワーを取られるため、再生開始を優先させたいためです。

@tor4kichi
Copy link
Owner Author

過去コメント取得のためのコード変更にともなって、これまで受信に失敗していたコメント情報が正常に扱えるようになっています。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant