Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

コメントのタイムシフト再生で後方シークできない #17

Closed
SlashNephy opened this issue Feb 5, 2021 · 1 comment
Closed
Labels
bug Something isn't working enhancement New feature or request

Comments

@SlashNephy
Copy link
Owner

SlashNephy commented Feb 5, 2021

kotlinx.coroutines の Channel を使用しているため, 設計上一度配信したコメントにシークすることはできません。
再生位置を前に進めることはできますが, 後ろに戻すことはできません。

val queue = Channel<Comment>(Channel.UNLIMITED)

@SlashNephy SlashNephy added bug Something isn't working enhancement New feature or request labels Feb 5, 2021
@SlashNephy SlashNephy changed the title コメントのタイムシフト再生で前方シークできない コメントのタイムシフト再生で後方シークできない Feb 5, 2021
@SlashNephy
Copy link
Owner Author

dev ブランチのコミット 72a6a3d により解消済み
一度配信したコメントの位置にシークされても再び配信したり (メモリにキープする)、まだ取得されていないような末端にシークされても取得まで待機したりするようになった

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant