[Live-devel] MRCP over RTSP with "liveMedia" library

David Guthrie guthrie at bmh.com
Tue Oct 4 09:00:04 PDT 2005


I implemented much of the MRCP protocol last year using the live  
media library.  If you want to talk with me offline, I can work out a  
way to get the code I was writing to you.  It was, of course, an  
older version of liveMedia, so you'd have to apply the patch to a new  
version of live.  I also only implemented sending data upstream to do  
voice recognition.  I tested against Nuance MRCP server 1.0.

David

On Oct 4, 2005, at 5:16 AM, Andriy Bychay wrote:

>
> Hello,
>
> I'd like to use "liveMedia" library to implement MRCP over RTSP. I
> read the FAQ, looked through the samples and traced library sources
> and I still have some questions:
>
> 1. client establishes session as usual and streams audio data to
> speech recognition server (unicast PCMU audio streaming).
> For now I didn't found how to set data source and sink with RTSPClient
> class to send data. If I  do something similar to client samples and
> call MediaSubsession::initialize() method then it creates source to  
> accept
> data - the opposite thing.
>
> Can you give me a hint?
>
> 2. client sends audio data on their arrival (for example, data are
> acquired from microphone in real time); should I start
> TaskScheduler::doEventLoop() every time I need to send acquired audio
> and exit this loop if my data are over or there is better way to do
> this?
> Possibly I sould never exit the loop while I need to stream data from
> the point of "liveMedia" library view. But between sending data I need
> to send some commands to recognition server with ANNOUNCE messages.
>
> 3. As soon as server generates some decision on the data that  
> client sent
> it should send a response in body of ANNOUNCE RTSP message. Can client
> accept such a message? How to do this?
>
> -- 
> Best regards,
>  Andriy                          mailto:andriy.bychay at clarity-ag.net
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>



More information about the live-devel mailing list