{ "id": "62761", "key": "TIMOB-2129", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-07-20T14:13:25.000+0000", "created": "2011-04-15T03:11:17.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "audioplayer", "ios", "iphone", "live_stream", "set_volume", "streaming", "volume" ], "versions": [], "issuelinks": [ { "id": "19057", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "61785", "key": "TIMOB-1153", "fields": { "summary": "iOS: add volume control support to createAudioPlayer", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } }, { "id": "19058", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "94532", "key": "TIMOB-9901", "fields": { "summary": "TiAPI: Review and clean up platform bugs and reduce bug count by 20%.", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-22T21:23:27.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

Hi,

\n
\nI am trying to create live radio streaming iPhone application , streaming run succesfully but i don't understand how to set audioplayer's volume up and down in application.In Doc also no volume property or method is given for audioplayer. I am trying below code and logic to set volume but it won't set the volume.\n
\n

var a = Ti.Media.volume;

\n

plus_vol.addEventListener('click',function()
\n{ if (a < 1)
\n{

\n
\na += 0.1;\nTi.Media.volume = a;\nalert(Ti.Media.volume);\n
\n

} }); min_vol.addEventListener('click',function()
\n{

\n
\nif (a > 0)\n{\n    if (a < 0.1)\n     {\n        a = 0;\n        Ti.Media.volume = a;\n            alert(Ti.Media.volume);\n      }\n    else\n     {\n        a -= 0.1;\n        Ti.Media.volume = a;\n            alert(Ti.Media.volume);\n     }\n}\n
\n

}); Note : Ti.Media.volume value is 1 but it will not change\nafter the code implementation.

\n

Please tell me if its possible to set live streaming volume in\napp. Thanks in advance.

{html}", "attachment": [], "flagged": false, "summary": "Set Audio player volume up down", "creator": { "name": "utpal", "key": "utpal", "displayName": "utpal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "utpal", "key": "utpal", "displayName": "utpal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "127575", "author": { "name": "gerrycardinaliii", "key": "gerrycardinaliii", "displayName": "Gerry Cardinal III", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

This is a duplicate of #1153.

{html}", "updateAuthor": { "name": "gerrycardinaliii", "key": "gerrycardinaliii", "displayName": "Gerry Cardinal III", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:11:18.000+0000", "updated": "2011-04-15T03:11:18.000+0000" }, { "id": "414996", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing as duplicate with regards to the information provided elsewhere in this ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T21:23:27.000+0000", "updated": "2017-03-22T21:23:27.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }