Details

      Description

      {html}<div><p>Hi,<br></p>
      <pre>
      <code>I 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.</code>
      </pre>
      <p>var a = Ti.Media.volume;</p>
      <p>plus_vol.addEventListener('click',function()<br> { if (a < 1)<br> {</p> <pre> <code>a += 0.1; Ti.Media.volume = a; alert(Ti.Media.volume);</code> </pre> <p>} }); min_vol.addEventListener('click',function()<br>
      {</p>
      <pre>
      <code>if (a > 0)
      {
      if (a < 0.1)
      { a = 0; Ti.Media.volume = a; alert(Ti.Media.volume); }
      else
      { a -= 0.1; Ti.Media.volume = a; alert(Ti.Media.volume); }
      }</code>
      </pre>
      <p>}); Note : Ti.Media.volume value is 1 but it will not change
      after the code implementation.</p>
      <p>Please tell me if its possible to set live streaming volume in
      app. Thanks in advance.</p></div>{html}

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jhaynie Jeff Haynie (Inactive)
                Reporter:
                utpal utpal
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-1882
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration