{"action":"created","issue":{"url":"https://api.github.com/repos/kaltura/player-sdk-native-android/issues/231","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/231/labels{/name}","comments_url":"https://api.github.com/repos/kaltura/player-sdk-native-android/issues/231/comments","events_url":"https://api.github.com/repos/kaltura/player-sdk-native-android/issues/231/events","html_url":"https://github.com/kaltura/player-sdk-native-android/issues/231","id":167553321,"number":231,"title":"config.addConfig(\"mediaProxy.preferredFlavorBR\", \"700\"); still doesn't work","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":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-26T08:51:13Z","updated_at":"2016-07-27T08:23:39Z","closed_at":null,"body":"## Problem\r\n\r\nCannot change quality of video by using config.addConfig(\"mediaProxy.preferredFlavorBR\", \"700\")\r\n\r\n## Expected result\r\n\r\nQuality doesn't change, always it has value is Auto\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.21.2'\r\nI tried version 2.5.21 and 2.5.21.1\r\n\r\n## HTML5 Player Version\r\n\r\nVersion: v2.45\r\nwid = 1858191\r\nuiconf_id = 35732951\r\nentry_id = 0_86yighs7\r\n\r\n## Steps to reproduce\r\n\r\nUse code below\r\n\r\n## Logs\r\n\r\nhttp://codepad.org/tu6e3sKy  \r\n\r\n## Code\r\n\r\n```\r\nKPPlayerConfig config = new KPPlayerConfig(\"http://cdnapi.kaltura.com\",\r\n                \"35732951\", \"1858191\").setEntryId(\"0_86yighs7\");\r\n        config.addConfig(\"controlBarContainer.plugin\", \"true\");\r\n        config.addConfig(\"topBarContainer.plugin\", \"true\");\r\n        config.addConfig(\"largePlayBtn.plugin\", \"true\");\r\n        config.addConfig(\"loadingSpinner.plugin\", \"true\");\r\n        config.addConfig(\"sourceSelector.plugin\", \"true\");\r\n\r\n        config.addConfig(\"sourceSelector.displayMode\", \"bitrate\");\r\n        config.addConfig(\"mediaProxy.preferredFlavorBR\", \"700\");\r\n\r\n        kalturaPlayer.initWithConfiguration(config);\r\n        kalturaPlayer.registerReadyEvent(new VideoReadyListener());\r\n```\r\n\r\n## Sample\r\n\r\nthis screenshot kaltura player from my app:\r\nhttps://dl.dropboxusercontent.com/u/32611161/Screenshot_2016-07-26-11-37-11.png\r\n\r\nKaltura SDK generate URL:\r\n\"kWidget: Kaltura HTML5 Version: 2.45 ( iframe ) \", source: http://cdnapi.kaltura.com/html5/html5lib/v2.45/mwEmbedFrame.php/p/1858191/uiconf_id/35732951/entry_id/0_86yighs7?entry_id=0_86yighs7&wid=_1858191\r\n\r\nI changed mediaProxy.preferredFlavorBR different values: 100, 300, 900, 4000. \r\nBut quality always have value: Auto\r\nIn logs I see the line  \r\n```\r\n07-26 11:34:35.551 30471-30471/com.hilti.mobile.hiltipulse D/TracksManager: switchTrackByBitrate : VIDEO preferredBitrateKBit : 700\r\n07-26 11:34:35.555 30471-30471/com.hilti.mobile.hiltipulse D/TracksManager: preferred bitrate selected = TrackFormat{index=1, trackType=VIDEO, trackId='0', bitrate=686080, channelCount=-1, sampleRate=-1, height=360, width=640, mimeType='video/avc', trackLabel='640x360, 0.69Mbit, 0', language='null', adaptive=false}\r\n07-26 11:34:35.555 30471-30471/com.hilti.mobile.hiltipulse D/TracksManager: switchTrack for VIDEO newIndex = 1\r\n```"},"comment":{"url":"https://api.github.com/repos/kaltura/player-sdk-native-android/issues/comments/235519388","html_url":"https://github.com/kaltura/player-sdk-native-android/issues/231#issuecomment-235519388","issue_url":"https://api.github.com/repos/kaltura/player-sdk-native-android/issues/231","id":235519388,"user":{"login":"giladna","id":16818804,"avatar_url":"https://avatars.githubusercontent.com/u/16818804?v=3","gravatar_id":"","url":"https://api.github.com/users/giladna","html_url":"https://github.com/giladna","followers_url":"https://api.github.com/users/giladna/followers","following_url":"https://api.github.com/users/giladna/following{/other_user}","gists_url":"https://api.github.com/users/giladna/gists{/gist_id}","starred_url":"https://api.github.com/users/giladna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giladna/subscriptions","organizations_url":"https://api.github.com/users/giladna/orgs","repos_url":"https://api.github.com/users/giladna/repos","events_url":"https://api.github.com/users/giladna/events{/privacy}","received_events_url":"https://api.github.com/users/giladna/received_events","type":"User","site_admin":false},"created_at":"2016-07-27T08:23:39Z","updated_at":"2016-07-27T08:23:39Z","body":"Thanks\r\nI can see that your selection is done:\r\n{code}\r\n07-27 11:20:39.695 32534-32534/com.kaltura.basicplayerdemo D/TracksManager: switchTrackByBitrate : VIDEO preferredBitrateKBit : 700\r\n07-27 11:20:39.696 32534-32534/com.kaltura.basicplayerdemo D/TracksManager: preferred bitrate selected = TrackFormat{index=1, trackType=VIDEO, trackId='0', bitrate=686080, channelCount=-1, sampleRate=-1, height=360, width=640, mimeType='video/avc', trackLabel='640x360, 0.69Mbit, 0', language='null', adaptive=false} excact bitrate = 686080\r\n{code}"}}
{"actor":{"display_login":"giladna"}}