grandstream

Forum for questions and support relating to the 1.25.x releases only.
Locked
morg
Posts: 8
Joined: Mon Feb 06, 2012 12:52 pm

grandstream

Post by morg »

grandstream not work

mjpeg

Log

Feb 7 11:41:45 kzban zmc_m2[25132]: ERR [Unsupported media type 'application' in SDP media attribute 'application 0 RTP/AVP 107']
Feb 7 11:41:54 kzban zmc_m2[25132]: FAT [No RTSP sources]
Feb 7 11:41:54 kzban zmdc[22658]: ERR ['zmc -m 2' exited abnormally, exit status 255]
Feb 7 11:51:54 kzban zmc_m2[25178]: INF [Starting Capture]
Feb 7 11:51:55 kzban zmc_m2[25178]: ERR [Unsupported media type 'application' in SDP media attribute 'application 0 RTP/AVP 107']
Feb 7 11:52:04 kzban zmc_m2[25178]: FAT [No RTSP sources]
Feb 7 11:52:04 kzban zmdc[22658]: ERR ['zmc -m 2' exited abnormally, exit status 255]
Feb 7 12:02:04 kzban zmc_m2[25224]: INF [Starting Capture]
Feb 7 12:02:05 kzban zmc_m2[25224]: ERR [Unsupported media type 'application' in SDP media attribute 'application 0 RTP/AVP 107']

have any ideas?
MegaSin
Posts: 2
Joined: Wed Nov 23, 2011 12:07 pm

Re: grandstream

Post by MegaSin »

судя по сорцам
switch( sdpType )
.....
case 'm' :
.....
if ( mediaType != "audio" && mediaType != "video" )
throw Exception( "Unsupported media type '"+mediaType+"' in SDP media attribute '"+line+"'" );
выбран неправильный sdpType

КЭП )
morg
Posts: 8
Joined: Mon Feb 06, 2012 12:52 pm

Re: grandstream

Post by morg »

а как лечить?
MegaSin
Posts: 2
Joined: Wed Nov 23, 2011 12:07 pm

Re: grandstream

Post by MegaSin »

вещать в другом формате как вариант..
что за камеры? mjpeg не умеют? или сразу мпег4?
morg
Posts: 8
Joined: Mon Feb 06, 2012 12:52 pm

Re: grandstream

Post by morg »

камеры GXV3601HD в другом не умеют. в настроках можно выбирать H264 MJPEG Bitrate FPS и менять разрешение. Все перепробовал.
morg
Posts: 8
Joined: Mon Feb 06, 2012 12:52 pm

Re: grandstream

Post by morg »

I have registered / etc / sysctl.conf kernel.shmall = 167772160
kernel.shmmax = 167772160

# Ipcs-l

------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 163,840
max total shared memory (kbytes) = 671,088,640
min seg size (bytes) = 1

------ Semaphore Limits --------
max number of arrays = 128
max semaphores per array = 250
max semaphores system wide = 32000
max ops per semop call = 32
semaphore max value = 32767

------ Messages Limits --------
max queues system wide = 7912
max size of message (bytes) = 8192
default max size of queue (bytes) = 16384

but in the logs
Mar 24 02:12:50 zmtest zmc_m1[17258]: ERR [Got unexpected memory map file size 36865524, expected 15668724]
Mar 24 02:12:50 zmtest zmc_m1[17258]: ERR [Response parse failure, 0 bytes follow]
Mar 24 02:12:50 zmtest zmc_m1[17258]: INF [Starting Capture]
Mar 24 02:13:01 zmtest zmc_m1[17258]: FAT [No RTSP sources]
Mar 24 02:13:01 zmtest zmdc[16729]: ERR ['zmc -m 1' exited abnormally, exit status 255]
Mar 24 02:13:21 zmtest zmdc[16729]: INF [Starting pending process, zmc -m 1]
Mar 24 02:13:21 zmtest zmdc[16729]: INF ['zmc -m 1' starting at 12/03/24 02:13:21, pid = 17264]
Mar 24 02:13:21 zmtest zmdc[17264]: INF ['zmc -m 1' started at 12/03/24 02:13:21]
Mar 24 02:13:21 zmtest zmc_m1[17264]: ERR [Got unexpected memory map file size 36865524, expected 15668724]
Mar 24 02:13:21 zmtest zmc_m1[17264]: ERR [Response parse failure, 0 bytes follow]
Mar 24 02:13:21 zmtest zmc_m1[17264]: INF [Starting Capture]
Mar 24 02:13:32 zmtest zmc_m1[17264]: FAT [No RTSP sources]
Mar 24 02:13:32 zmtest zmdc[16729]: ERR ['zmc -m 1' exited abnormally, exit status 255]

[Got unexpected memory map file size 36865524, expected 15668724]

what could be the problem?

P.S. Operating system gentoo
Locked