Hi Salvatore, thank you for your prompt response. I think I didn't express 
myself clearly. My problem is when I try to install the application (using the 
"sudo make" command) that I got the following error messages. I put the 
app_rtsp.c in the apps folder and it is after then that I used the "sudo make" 
command. I have also a working Asterisk software. I am even using the app_mp4 
application. So, the problem could be with my system. I'm using Ubuntu Hardy.

The  following  is the error that I got when I tried to install:

[CC] app_rtsp.c -> app_rtsp.o

In file included from /usr/include/inttypes.h:28,

                 from /opt/asterisk-1.4.26/include/asterisk/compat.h:20,

                 from /opt/asterisk-1.4.26/include/asterisk.h:27,

                 from app_rtsp.c:24:

/usr/include/stdint.h:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or 
‘__attribute__’ before ‘typedef’



The following is what is included in the stdint.h file:

 36 # define __int8_t_defined

 37 typedef signed char             int8_t;

 38 typedef short int               int16_t;

 39 typedef int                     int32_t;



So, any hint?


Thank you.

Best regards,

- Zelalem S. 
Grahamstown, SA



Date: Tue, 16 Feb 2010 12:18:34 +0100
From: [email protected]
To: [email protected]
Subject: [Asterisk-video]  App_rtsp installation problem?

Hi,
this is the procedure
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

-- 
_______________________________________
Salvatore Frandina
website: http://frandinas.altervista.org

mail: [email protected]

_______________________________________

                                          
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-video

Reply via email to