Hello,
I've got vxml app pretty much functional now, and I am just begining to fine tune it. I've been noticing the huge latency when my audio files play and I was wondering what steps I can go about to improve it.
The struture of the application is to retrieve .wav files (anywhere from 160kbs to 1.5 mbs) over HTTP and play them. The application is hosted on an hosted IIS server.
two things:
1. when I inistally call, I find the first opening .wav file takes a while to to play, maybe a half a second which is a lot (the file itself is 160kbs).
2. Later on in the vxml a request is made to play the main content which can be anywhere from (160kbs to 1.5mbs). This can take 2-4 seconds to start playing.
Is there anyway I can start queing up these audio files in the background?
Any tips would be greatly appriciated.
thanks
We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics
Experiencing Latency with audio playing
-
- Posts: 42
- Joined: Mon Oct 10, 2005 3:40 pm
-
- Posts: 34
- Joined: Mon Nov 07, 2005 11:27 am
- Location: United Kingdom
-
- Posts: 42
- Joined: Mon Oct 10, 2005 3:40 pm
-
- Posts: 34
- Joined: Mon Nov 07, 2005 11:27 am
- Location: United Kingdom
I doubt that it would work with dynamic VXML because the interpreter doesn’t know the page until you actually generate the VXML, which I guess is mid-conversation. Another option is to try and host the voice files as close as you can physically to the voice platform so that the real network latency is minimised, or break the voice files into "sentences" so as to reduce their size (and therefore load time). My own feeling is that it is easier to bear a short delay between sentences rather than a huge delay between paragraphs.
-
- Posts: 42
- Joined: Mon Oct 10, 2005 3:40 pm