[Asterisk-video] Compiling the MCU

sergio.garcia@fontventa.com sergio.garcia at fontventa.com
Thu May 26 02:39:59 CDT 2011


Hi,

The trace seems perfect. Somehow sailfin (mcuWeb) is ending the call, probably because the SIP call is ended.

Check asterisk logs, most common cases are ack lost or no rtp media. Both issues are due to missconfiguration.

Best regards
Sergio

Enviado desde mi HTC

----- Reply message -----
De: "Fernando Cachay G." <fernandocachay at hotmail.com>
Fecha: jue., may. 26, 2011 00:13
Asunto: [Asterisk-video] Compiling the MCU
Para: "Development discussion of video media support in Asterisk" <asterisk-video at lists.digium.com>

Hi Sergio
    Finally it compiled normally after upgrading MP4v2. Now when I call to the conference room, it hangs the call after some seconds and the logs shows something like it deletes the participant,  any idea?



[b6d17370]-Dispatching [/mcu/mcu]
[b6d17370]>ProcessRequest [uri:/mcu/mcu]
[b6d17370]-ProcessRequest [method:CreateParticipant]
[b6d17370]>GetConferenceRef [101]
[b6d17370]<GetConferenceRef [1,1]
[b6d17370]>CreateParticipant [mosaic:0]
[b6d17370]>CreateMixer video [503]
[b6d17370]<CreateMixer video
[b6d17370]>CreateMixer audio [503]
[b6d17370]<CreateMixer audio
[b6d17370]>CreateMixer text [503]
[b6d17370]-Text [503,FCG]
[b6d17370]<CreateMixer text
[b6d17370]-SetVideoCodec [103,300,5,4,8]
[b6d17370]-SetAudioCodec [3,GSM]
[b6d17370]-SetTextCodec [106,T140]
[b6d17370]>Init video stream
[b6d17370]>Init RTPSession
[b6d17370]<Init RTPSession
[b6d17370]<Init video stream
[b6d17370]>Init audio stream
[b6d17370]>Init RTPSession
[flv @ 0xb6b14a40] vbv buffer overflow
[b6d17370]<Init RTPSession
[b6d17370]<Init audio stream
[b6d17370]>Init text stream
[b6d17370]>Init RTPSession
[flv @ 0xb6b14a40] vbv buffer overflow
[b6d17370]<Init RTPSession
[b6d17370]<Init text stream
[b6d17370]>Init mixer [id:503,mosaic:0]
[b6d17370]PipeVideoInput init
[b6d17370]>PipeVideoOutput init
[b6d17370]<PipeVideoOutput init
[b6d17370]<Init mixer [503]
[b6d17370]>Init mixer [503]
[b6d17370]PipeAudioOutput init
[b6d17370]<Init mixer [503]
[b6d17370]>Init mixer [503]
[b6d17370]PipeTextOutput init
[b6d17370]-AddReader [503]
[b6d17370]-Text [503,FCG]
[b6d17370]-AddWritter [id:503,name:"FCG"]
[b6d17370]-AddWritter [id:503,name:"FCG"]
[b6d17370][503,500]
[b6d17370]-AddWritter [id:500,name:"watcher"]
[b6d17370][503,501]
[b6d17370]-AddWritter [id:501,name:"broadcaster"]
[b6d17370][503,503]
[b6d17370]<Init mixer [503]
[b6d17370]<CreateParticipant [503]
[b6d17370]>ReleaseConferenceRef [101]
[b6d17370]<ReleaseConferenceRef
[b6d17370]<ProccessRequest
[b6d17370]-Dispatching [/mcu/mcu]
[b6d17370]>ProcessRequest [uri:/mcu/mcu]
[b6d17370]-ProcessRequest [method:StartReceivingAudio]
[b6d17370]>GetConferenceRef [101]
[b6d17370]<GetConferenceRef [1,1]
[b6d17370]-StartReceivingAudio [503]
[b6d17370]<StartReceiving audio [52542]
[b6d17370][b12feb70]RecvAudioThread [6672]
[b12feb70]>RecAudio
>ReleaseConferenceRef [101]
[b6d17370]<ReleaseConferenceRef
[b6d17370]<ProccessRequest
[b6d17370]-Dispatching [/mcu/mcu]
[b6d17370]>ProcessRequest [uri:/mcu/mcu]
[b6d17370]-ProcessRequest [method:StartReceivingVideo]
[b6d17370]>GetConferenceRef [101]
[b6d17370]<GetConferenceRef [1,1]
[b6d17370]-StartReceivingVideo [503]
[b6d17370]-StartReceiving Video [43044]
[b1cffb70][b6d17370]RecVideoThread [6672]
[b1cffb70]>RecVideo
>ReleaseConferenceRef [101]
[b6d17370]<ReleaseConferenceRef
[b6d17370]<ProccessRequest
[b6d17370]-Dispatching [/mcu/mcu]
[b6d17370]>ProcessRequest [uri:/mcu/mcu]
[b6d17370]-ProcessRequest [method:DeleteParticipant]
[b6d17370]>GetConferenceRef [101]
[b6d17370]<GetConferenceRef [1,1]
[b6d17370]>DeleteParticipant [503]
[b6d17370]-DeleteParticipant ending mixers [503]
[b6d17370]>Endmixer [id:503]
[b6d17370]-Removed from mosaic [mosaicId:0,pos:-1]
[b6d17370]<Endmixer [id:503]
[b6d17370]>PipeTextInput End
[b6d17370]<PipeTextInput Ended
[b6d17370]-StopRecordingParticipant [id:503]
[b6d17370]-DeleteParticipant ending media [503]
[b6d17370]>StopSending Audio
[b6d17370]<StopSending Audio
[b6d17370]>StopReceiving Audio
[b6ccd370]-Dispatching [/mcu/mcu]
[b6ccd370]>ProcessRequest [uri:/mcu/mcu]
[b6ccd370]-ProcessRequest [method:AddMosaicParticipant]
[b6ccd370]>GetConferenceRef [101]
[b6ccd370]<GetConferenceRef [1,1]
[b6ccd370]-AddMosaicParticipant [mosaic:0,partId:503]
[b6ccd370]-AddParticipant [id:503,pos:1]
[b6ccd370]>ReleaseConferenceRef [101]
[b6ccd370]<ReleaseConferenceRef
[b6ccd370]<ProccessRequest
[b6ccd370]-Dispatching [/mcu/mcu]
[b6ccd370]>ProcessRequest [uri:/mcu/mcu]
[b6ccd370]-ProcessRequest [method:SetAudioCodec]
[b6ccd370]>GetConferenceRef [101]
[b6ccd370]<GetConferenceRef [1,1]
[b6ccd370]-SetAudioCodec [503]
[b6ccd370]>ReleaseConferenceRef [101]
[b6ccd370]<ReleaseConferenceRef
[b6ccd370]<ProccessRequest
[b6ccd370]-Dispatching [/mcu/mcu]
[b6ccd370]>ProcessRequest [uri:/mcu/mcu]
[b6ccd370]-ProcessRequest [method:StartSendingAudio]
[b6ccd370]>GetConferenceRef [101]
[b6ccd370]<GetConferenceRef [1,1]
[b6ccd370]-StartSendingAudio [503]
[b6ccd370]>ReleaseConferenceRef [101]
[b6ccd370]<ReleaseConferenceRef
[b6ccd370]<ProccessRequest
[b6ccd370]-Dispatching [/mcu/mcu]
[b6ccd370]>ProcessRequest [uri:/mcu/mcu]
[b6ccd370]-ProcessRequest [method:SetVideoCodec]
[b6ccd370]>GetConferenceRef [101]
[b6ccd370]<GetConferenceRef [1,1]
[b6ccd370]-SetVideoCodec[503]
[b6ccd370]>ReleaseConferenceRef [101]
[b6ccd370]<ReleaseConferenceRef
[b6ccd370]<ProccessRequest
[b6ccd370]-Dispatching [/mcu/mcu]
[b6ccd370]>ProcessRequest [uri:/mcu/mcu]
[b6ccd370]-ProcessRequest [method:StartSendingVideo]
[type:103,codec:103]
[b6ccd370]>GetConferenceRef [101]
[b6ccd370]<GetConferenceRef [1,1]
[b6ccd370]-StartSendingVideo [503]
[b6ccd370]>ReleaseConferenceRef [101]
[b6ccd370]<ReleaseConferenceRef
[b6ccd370]<ProccessRequest
[b12feb70]<RecAudio
[b6d17370]<StopReceiving Audio
[b6d17370]>End
[b6d17370]>StopReceiving
[b1cffb70]<RecVideo
[b6d17370]<StopReceiving
[b6d17370]<End
[b6d17370]>StopSending Text
[b6d17370]<StopSending Text
[b6d17370]>StopReceiving Text
[b6d17370]<StopReceiving Text
[b6d17370]-DeleteParticipant deleting mixers [503]
[b6d17370]>DeleteMixer video [503]
[b6d17370]<DeleteMixer video [503]
[b6d17370]-DeleteMixer audio [503]
[b6d17370]-DeleteMixer text [503]
[b6d17370]<DeleteParticipant [503]
[b6d17370]>ReleaseConferenceRef [101]
[b6d17370]<ReleaseConferenceRef
[b6d17370]<ProccessRequest



From: Sergio Garcia Murillo 
Sent: Wednesday, May 25, 2011 9:45 AM
To: Development discussion of video media support in Asterisk 
Subject: Re: [Asterisk-video] Compiling the MCU


Hi Fernando,

Use latest mp4v2 trunk version (r466) and make sure that no older version is still present in your server.

Best regards
Sergio

El 25/05/2011 16:25, Fernando Cachay G. escribió: 
  Hi, I'm trying to compile MCU and i'm getting this error:

  g++ -lavcodec -lgsm -lpthread -lswscale -lavformat -lavutil -lx264 -lssl -lmp4v2 -lspeex -lspeexdsp -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_abyss -lxmlrpc_server -L/usr/src/mcumediaserver/xmlrpc/lib  -o /usr/src/mcumediaserver/bin//debug/mcu /usr/src/mcumediaserver/media/build/debug/mcu.o /usr/src/mcumediaserver/media/build/debug/multiconf.o /usr/src/mcumediaserver/media/build/debug/videomixer.o /usr/src/mcumediaserver/media/build/debug/audiomixer.o /usr/src/mcumediaserver/media/build/debug/xmlrpcserver.o /usr/src/mcumediaserver/media/build/debug/xmlhandler.o /usr/src/mcumediaserver/media/build/debug/statushandler.o /usr/src/mcumediaserver/media/build/debug/xmlrpcmcu.o /usr/src/mcumediaserver/media/build/debug/tools.o /usr/src/mcumediaserver/media/build/debug/rtpsession.o /usr/src/mcumediaserver/media/build/debug/audiostream.o /usr/src/mcumediaserver/media/build/debug/videostream.o /usr/src/mcumediaserver/media/build/debug/pipeaudioinput.o /usr/src/mcumediaserver/media/build/debug/pipeaudiooutput.o /usr/src/mcumediaserver/media/build/debug/pipevideoinput.o /usr/src/mcumediaserver/media/build/debug/pipevideooutput.o /usr/src/mcumediaserver/media/build/debug/framescaler.o /usr/src/mcumediaserver/media/build/debug/mosaic.o /usr/src/mcumediaserver/media/build/debug/partedmosaic.o /usr/src/mcumediaserver/media/build/debug/asymmetricmosaic.o /usr/src/mcumediaserver/media/build/debug/logo.o /usr/src/mcumediaserver/media/build/debug/amf.o /usr/src/mcumediaserver/media/build/debug/rtmpmessage.o /usr/src/mcumediaserver/media/build/debug/rtmpchunk.o /usr/src/mcumediaserver/media/build/debug/rtmpstream.o /usr/src/mcumediaserver/media/build/debug/rtmpconnection.o /usr/src/mcumediaserver/media/build/debug/rtmpserver.o /usr/src/mcumediaserver/media/build/debug/broadcaster.o /usr/src/mcumediaserver/media/build/debug/broadcastsession.o /usr/src/mcumediaserver/media/build/debug/rtmpflvstream.o /usr/src/mcumediaserver/media/build/debug/flvrecorder.o /usr/src/mcumediaserver/media/build/debug/FLVEncoder.o /usr/src/mcumediaserver/media/build/debug/xmlrpcbroadcaster.o /usr/src/mcumediaserver/media/build/debug/mediagateway.o /usr/src/mcumediaserver/media/build/debug/mediabridgesession.o /usr/src/mcumediaserver/media/build/debug/xmlrpcmediagateway.o /usr/src/mcumediaserver/media/build/debug/textmixer.o /usr/src/mcumediaserver/media/build/debug/textmixerworker.o /usr/src/mcumediaserver/media/build/debug/textstream.o /usr/src/mcumediaserver/media/build/debug/pipetextinput.o /usr/src/mcumediaserver/media/build/debug/pipetextoutput.o /usr/src/mcumediaserver/media/build/debug/mp4player.o /usr/src/mcumediaserver/media/build/debug/mp4streamer.o /usr/src/mcumediaserver/media/build/debug/audioencoder.o /usr/src/mcumediaserver/media/build/debug/textencoder.o /usr/src/mcumediaserver/media/build/debug/mp4recorder.o /usr/src/mcumediaserver/media/build/debug/g711.o /usr/src/mcumediaserver/media/build/debug/pcmucodec.o /usr/src/mcumediaserver/media/build/debug/pcmacodec.o /usr/src/mcumediaserver/media/build/debug/h263codec.o /usr/src/mcumediaserver/media/build/debug/mpeg4codec.o /usr/src/mcumediaserver/media/build/debug/h263-1996codec.o /usr/src/mcumediaserver/media/build/debug/gsmcodec.o /usr/src/mcumediaserver/media/build/debug/h264encoder.o /usr/src/mcumediaserver/media/build/debug/h264decoder.o /usr/src/mcumediaserver/media/build/debug/flv1codec.o /usr/src/mcumediaserver/media/build/debug/main.o
  /usr/src/mcumediaserver/media/build/debug/mp4recorder.o: In function `mp4track::CreateTextTrack()':
  /usr/src/mcumediaserver/media/src/mp4recorder.cpp:120: undefined reference to `MP4AddSubtitleTrack'
  collect2: ld returned 1 exit status
  make[1]: *** [mcu] Error 1
  make[1]: Leaving directory `/usr/src/mcumediaserver/media'
  make: *** [all] Error 2

  I have installed the last version of ffmpeg and compiled with --enable-gpl --enable-shared --enable-nonfree, I have also tried installing mp4v2-1.9.0 and mp4v2-trunk-r355 but nothing, any idea?

  Regards,
  Fernando 

--
_____________________________________________________________________


--------------------------------------------------------------------------------

Regards,

Fernando

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-video/attachments/20110526/5384b800/attachment.htm>


More information about the asterisk-video mailing list