Play Audio Stream from Web

rated by 0 users
This post has 3 Replies | 2 Followers

Top 150 Contributor
Posts 36
Points 600
manzoor Posted: 03-16-2010 7:25 AM

How do I play audio stream from the web? Is it possible?

The scenario is we'll be downloading audio file from the Internet but can't wait for it to be completely downloaded, so I want to play while it is streamed?

BTW, we are using Springware boards.

Examples will be really appreciated :)

-Thanks

  • | Post Points: 20
Top 25 Contributor
Male
Posts 178
Points 1,559
Dialogic Employee

In general you probably want to look at UIO function calls in the voice api manuals.   This allows a prograam to define their own "user defined I/O" for playing and recording audio.   It can stream from file or memory. 

UIO allows you to over-ride the default read, write, and seek functions and input your own data buffers.

Also another web related for streaming is a protocol called RTSP "Real Time Streaming Protocol".  If the web server supports this protocol, this is another option.  We have two app notes that might be useful.

 

- DL

Top 150 Contributor
Posts 36
Points 600

Can't we stream with the dx_playiottdata() function? Are there any examples, (using Analog aur ISDN protocols)?

  • | Post Points: 20
Top 25 Contributor
Male
Posts 178
Points 1,559
Dialogic Employee

Hi:

I don't happen to have sample code.  A good guide is to look at the dx_setuio() function in the voice API libary guide.  You'll find basic sample code in the function description.

http://www.dialogic.com/manuals/docs/voice_api_v2.pdf

 

- DL

Page 1 of 1 (4 items) | RSS