android constant
YoutubeApiClient
const android
This provides also muxed streams but seems less reliable than ios. If you require an android client use androidVr instead.
Implementation
static const android = YoutubeApiClient({
'context': {
'client': {
'clientName': 'ANDROID',
'clientVersion': '20.10.38',
'androidSdkVersion': 30,
'userAgent':
'com.google.android.youtube/20.10.38 (Linux; U; Android 11) gzip',
'hl': 'en',
'timeZone': 'UTC',
'utcOffsetMinutes': 0,
'osName': 'Android',
'osVersion': '11',
},
},
}, 'https://www.youtube.com/youtubei/v1/player?prettyPrint=false');