Your Digital Media Has Never Looked So Good

 
ionatan
Topic Author
Posts: 103
Joined: Wed Aug 03, 2011 3:34 am

GetChannelClientId - What makes identifier unique?

Wed Oct 03, 2018 12:08 am

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?

 
 
User avatar
RokuNB
Posts: 433
Joined: Fri Mar 31, 2017 2:22 pm

Re: GetChannelClientId - What makes identifier unique?

Sat Oct 06, 2018 2:51 pm

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

Who is online

Users browsing this forum: No registered users and 3 guests