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': '19.09.37',
'androidSdkVersion': 30,
'userAgent':
'com.google.android.youtube/19.09.37 (Linux; U; Android 11) gzip',
'hl': 'en',
'timeZone': 'UTC',
'utcOffsetMinutes': 0,
},
},
}, 'https://www.youtube.com/youtubei/v1/player?prettyPrint=false');