youtubei.js / Generator / mergeKeyInfo
Function: mergeKeyInfo()
mergeKeyInfo(
key_info
,new_key_info
):object
Merges two sets of key info, resolving any conflicts
Parameters
• key_info: KeyInfo
The current key info
• new_key_info: KeyInfo
The new key info
Returns
object
The merged key info
changed_keys
changed_keys: [
string
,InferenceType
][]
resolved_key_info
resolved_key_info: [
string
,InferenceType
][]