News:

Would you like to say "Thanks!" for extra support or new features that we provided? Donations are gratefully accepted.

Main Menu

AAC stream playback problem

Started by pioneer, March 10, 2016, 08:18:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pioneer

Hi James.
I've encountered a problem with AAC-format audio stream playback. For example, when I try to play an internet radio, VC starts recieving traffic, but won't play the audio. Only a snap comes out in the beginning and there is silence after that. Yet it keeps downloading the audio stream. And even when I stop the playback, it doesn't stop recieving internet-traffic, and the following error comes up in the log (see the screencap). It feels like it can't fill up the buffer in time and thus only makes one short snap. Works fine with mp3 stream.

VC 2.2.1.4

jitterjames

Thanks.

We will update the action description to indicate that it should only be used for wav and mp3 streams.

VoxCommando's primary function is not intended to be that of a media player.

pioneer

Sound.PlayStream( mp3, 44100 Hz, stereo, 320 kb/s )
-- OK

Sound.StopStream
-- Unexpected error in action: Sound.StopStream

System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at eval_g.eval_ᜃ(macroElement A_0, List`1 A_1, Int32 A_2)
   at eval_g.eval_ᜂ(macroElement A_0, List`1 A_1, Int32 A_2)



VC 2.2.1.4

nime5ter

TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

pioneer


pioneer

Oops  ;)

VC 2.2.1.6

Unexpected error in action: Sound.GetStreamInfo
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at eval_g.eval_ᜂ(macroElement A_0, List`1 A_1, Int32 A_2)
   at eval_g.eval_ᜁ(macroElement A_0, List`1 A_1, Int32 A_2)

jitterjames

#6
It's a small bug that I will fix but you can still use this action by sending a dummy parameter.

<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.1.7-->
<command id="-1" name="Actions copied from LCB">
  <action>
    <cmdType>Sound.GetStreamInfo</cmdType>
    <params>
      <param>null</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
</command>

pioneer