{"action":"created","issue":{"url":"https://api.github.com/repos/kaltura/player-sdk-native-android/issues/220","repository_url":"https://api.github.com/repos/kaltura/player-sdk-native-android","labels_url":"https://api.github.com/repos/kaltura/player-sdk-native-android/issues/220/labels{/name}","comments_url":"https://api.github.com/repos/kaltura/player-sdk-native-android/issues/220/comments","events_url":"https://api.github.com/repos/kaltura/player-sdk-native-android/issues/220/events","html_url":"https://github.com/kaltura/player-sdk-native-android/issues/220","id":165035781,"number":220,"title":"mediaProxy.preferedFlavorBR doesn't work in Android WebView","user":{"login":"Fr2eman","id":5114578,"avatar_url":"https://avatars.githubusercontent.com/u/5114578?v=3","gravatar_id":"","url":"https://api.github.com/users/Fr2eman","html_url":"https://github.com/Fr2eman","followers_url":"https://api.github.com/users/Fr2eman/followers","following_url":"https://api.github.com/users/Fr2eman/following{/other_user}","gists_url":"https://api.github.com/users/Fr2eman/gists{/gist_id}","starred_url":"https://api.github.com/users/Fr2eman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fr2eman/subscriptions","organizations_url":"https://api.github.com/users/Fr2eman/orgs","repos_url":"https://api.github.com/users/Fr2eman/repos","events_url":"https://api.github.com/users/Fr2eman/events{/privacy}","received_events_url":"https://api.github.com/users/Fr2eman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-07-12T09:41:12Z","updated_at":"2016-07-18T10:58:03Z","closed_at":"2016-07-17T13:30:43Z","body":"## Problem \r\n\r\nCannot change quality of video by using `mediaProxy.preferedFlavorBR`\r\n\r\n## Expected result \r\n\r\nQuality doesn't change\r\n\r\n## Device details\r\n\r\nSamsung S2 (Android 5.1.1); \r\nXiaomi mi4i(Android 6.0.1);\r\n\r\n## Android Player SDK Version\r\n\r\nKaltura SDK version: '2.5.4'\r\n\r\n## HTML5 Player Version\r\n\r\nVersion: v2.7\r\nwid = 1858191\r\nuiconf_id = 30743062\r\nentry_id = 0_m3ecbkoa\r\n\r\n## Logs:\r\n\r\nLogs: http://codepad.org/4vNkTVZt \r\n\r\n## Steps to reproduce\r\n\r\nUse code below\r\n\r\n## Code\r\n\r\n```\r\nprivate PlayerViewController getPlayer() {\r\n    if (mPlayer == null) {\r\n\t\tmPlayer = (PlayerViewController)findViewById(R.id.player);\r\n\t\tmPlayer.loadPlayerIntoActivity(this);\r\n\t\tKPPlayerConfig config = new KPPlayerConfig(\"http://cdnapi.kaltura.com/html5/html5lib/v2.7/mwEmbedFrame.php\", \"30743062\", \"1858191\").setEntryId(\"0_m3ecbkoa\");\r\n\t\tconfig.setAutoPlay(true);\r\n\t\tmPlayPauseButton.setText(\"Pause\");\r\n\t\tconfig.addConfig(\"mediaProxy.preferedFlavorBR\", \"900\"); // this line doesn't change quality\r\n\t\tmPlayer.initWithConfiguration(config);\r\n\t\tif (mCastProvider != null) {\r\n\t\t\tmPlayer.setCastProvider(mCastProvider);\r\n\t\t}\r\n\t\tmPlayer.setOnKPErrorEventListener(this);\r\n\t\tmPlayer.setOnKPPlayheadUpdateEventListener(this);\r\n\t\tmPlayer.setOnKPFullScreenToggeledEventListener(this);\r\n\t\tmPlayer.setOnKPStateChangedEventListener(this);\r\n\t}\r\n\treturn mPlayer;\r\n}\r\n```\r\n\r\n## Sample\r\n\r\nhttps://dl.dropboxusercontent.com/u/32611161/BasicPlayerDemo.zip\r\n\r\nKaltura SDK generate URL (for code above) http://cdnapi.kaltura.com/html5/html5lib/v2.7/mwEmbedFrame.php/p/1858191/sp/185819100/embedIframeJs/uiconf_id/30743062/entry_id/0_m3ecbkoa?iframeembed=true&wid=_1858191&uiconf_id=30743062&entry_id=0_m3ecbkoa&flashvars%5BautoPlay%5D=true&flashvars%5BmediaProxy.preferedFlavorBR%5D=900#localContentId=&nativeSdkDrmFormats=&nativeSdkAllFormats=dash,mp4,hls\r\n\r\nBut, when i use this URL in browser on desktop or phone default browser, it works, I even can change `flashvars%5BmediaProxy.preferedFlavorBR%5D` to another value it works"},"comment":{"url":"https://api.github.com/repos/kaltura/player-sdk-native-android/issues/comments/233299558","html_url":"https://github.com/kaltura/player-sdk-native-android/issues/220#issuecomment-233299558","issue_url":"https://api.github.com/repos/kaltura/player-sdk-native-android/issues/220","id":233299558,"user":{"login":"Fr2eman","id":5114578,"avatar_url":"https://avatars.githubusercontent.com/u/5114578?v=3","gravatar_id":"","url":"https://api.github.com/users/Fr2eman","html_url":"https://github.com/Fr2eman","followers_url":"https://api.github.com/users/Fr2eman/followers","following_url":"https://api.github.com/users/Fr2eman/following{/other_user}","gists_url":"https://api.github.com/users/Fr2eman/gists{/gist_id}","starred_url":"https://api.github.com/users/Fr2eman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fr2eman/subscriptions","organizations_url":"https://api.github.com/users/Fr2eman/orgs","repos_url":"https://api.github.com/users/Fr2eman/repos","events_url":"https://api.github.com/users/Fr2eman/events{/privacy}","received_events_url":"https://api.github.com/users/Fr2eman/received_events","type":"User","site_admin":false},"created_at":"2016-07-18T10:58:03Z","updated_at":"2016-07-18T10:58:03Z","body":"> if you upgrade the player so you can use this uiconf, no problem\r\n\r\ni updated kaltura sdk to version 2.5.18\r\nbut i still can't change quality.\r\n\r\nthis is my config:\r\n```\r\nKPPlayerConfig config = new KPPlayerConfig(\"http://cdnapi.kaltura.com\",\r\n                \"35732951\", \"1858191\").setKS(ks).setEntryId(\"0_m3ecbkoa\").addConfig(\"mediaProxy.preferredFlavorBR\", \"397\");\r\nconfig.setAutoPlay(false);\r\nconfig.addConfig(\"controlBarContainer.plugin\", \"true\");\r\nconfig.addConfig(\"topBarContainer.plugin\", \"true\");\r\nconfig.addConfig(\"largePlayBtn.plugin\", \"true\");\r\nconfig.addConfig(\"loadingSpinner.plugin\", \"true\");\r\nconfig.addConfig(\"sourceSelector.plugin\", \"true\");\r\n```\r\nthis screenshot kaltura player from my app:\r\nhttps://dl.dropboxusercontent.com/u/32611161/Screenshot_2016-07-18-13-38-53.png\r\n\r\nI changed _mediaProxy.preferredFlavorBR_ different values: 100, 300, 900, 4000. \r\nBut quality always have value: Auto\r\n\r\nAlso, AutoPlay always works, even when i use \r\nconfig.setAutoPlay(false);   or   config.addConfig(\"autoPlay\", \"false\");\r\nDo i create a new ticket?"}}
{"actor":{"display_login":"Fr2eman"}}