ionatan
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2018
12:08 AM
GetChannelClientId - What makes identifier unique?
Hello,
I have some questions about identifier returned by GetChannelClientId https://sdkdocs.roku.com/display/sdkdoc/ifDeviceInfo#ifDeviceInfo-GetChannelClientId()asString. Based on Developer Documentation "the ID is persistent and cannot be reset".
I'm wondering what makes this identifier persistent per Channel. Would this stay the same even if Channel name or Channel version is changed? Then how does Roku device make the difference between Channels?
I have some questions about identifier returned by GetChannelClientId https://sdkdocs.roku.com/display/sdkdoc/ifDeviceInfo#ifDeviceInfo-GetChannelClientId()asString. Based on Developer Documentation "the ID is persistent and cannot be reset".
I'm wondering what makes this identifier persistent per Channel. Would this stay the same even if Channel name or Channel version is changed? Then how does Roku device make the difference between Channels?
1 REPLY 1
NB_
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2018
02:51 PM
Re: GetChannelClientId - What makes identifier unique?
each channel has unique ID already - the one that you see in ECP :8060/query/apps or 8080 `plugins`, or in the URL of dev.portal when editing app properties. if that is used as part of the input to cryptographic hash function, it will ensure that the output digest differs from app to app. i haven't looked at the specific function but there is good likelihood that's what it does too