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

同じIDのチャンネルが複数立てられることがある #57

Open
plonk opened this issue Jul 22, 2017 · 1 comment
Open

同じIDのチャンネルが複数立てられることがある #57

plonk opened this issue Jul 22, 2017 · 1 comment

Comments

@plonk
Copy link
Owner

plonk commented Jul 22, 2017

pcgw の管理画面。

image

@plonk
Copy link
Owner Author

plonk commented Aug 13, 2017

重複した ID のチャンネルが複数あると、それらを区別して操作することが難しくなるし、対外的には不可能になるので、基本的に ID の唯一性が保証されているほうが良い。

ただし、fetch 配信のチャンネルを立てた場合など、ID = 0 で作成され、リストに登録された後、Channel::startURL で ID が決定する場合がある。ID に影響するビットレートなどの属性が、この時点まで決定しないため。少なくとも現状では、ID = 0 のチャンネルは複数登録できる必要がある。

また、チャンネルIDの変更はChannel が勝手に行うことはできず、ChanMgr に伺わなければならない。

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