Newsflash
The H324M library has reached it's first milestone.
Audio, video an dtmf are finally working!!!
app_rtsp Installation PDF Print E-mail
Thursday, 08 March 2007

Compiling

This document explains how to install and setup the app_tsp application.
First, you need to have the source code of your Asterisk correctly installed on your system

Copy the app_rtsp.c file into de Asterisk apps directory, goto the Asterisk parent directory and

make
make install

Setup

Enable video support and preferred codecs in sip.conf
videosupport=yes

disable=all
allow=ulaw
allow=alaw
allow=h263
allow=h263p
Now, you can use the application functions in your dialpan, a simple setup is like that:
[default]
exten => 201,1,Answer
exten => 201,2,rtsp(rtsp://192.168.1.1/live.sdp)
exten => 201,3,HangUp
Calling 201 will make the application to connect to the rtsp server and start the playback of the media resource to the calling party..

As not many network cameras support H263 you would need to use the video transcoding application to convert MPEG4 to H263.

Copyright 2006 - Sergio García Murillo
Powered by Mambo