Todo en orden. El 3 de abril de 2012 17:28, <pjsip-request at lists.pjsip.org> escribi?: > Send pjsip mailing list submissions to > pjsip at lists.pjsip.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > or, via email, send a message with subject or body 'help' to > pjsip-request at lists.pjsip.org > > You can reach the person managing the list at > pjsip-owner at lists.pjsip.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of pjsip digest..." > > > Today's Topics: > > 1. Re: PJSIP vs HD video is it possible? (frogersik) > 2. Deadlock when using ICE/TURN (Jonathan Martin) > 3. Re: Problem compiling pjsip windows (Ignacio Gonzalez Lopez) > 4. Re: Problem compiling pjsip windows (Ignacio Gonzalez Lopez) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 03 Apr 2012 20:09:16 +0200 > From: frogersik <frogersik@xxxxxxxxx> > To: pjsip at lists.pjsip.org > Subject: Re: PJSIP vs HD video is it possible? > Message-ID: <4F7B3CCC.504 at gmail.com> > Content-Type: text/plain; charset=UTF-8; format=flowed > > Hi, > first of all I send to you to read this topic: > > http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2012-March/014358.html > (you started this but i don't know that you read all answers) there I > write some method with some mistakes but Fedot correct it in next post. > and there is the answers what are you looking for... > but you write that you can change size, bitrate and framerate it is not > enough to make HD call. You also need to change some codec parametr like > is "profil level id", so please read some information about it. > especially about levels > http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Levels > > as advice: to HD video call you need change encoder resolution to hd: > 1920x1080 you can do it by api describes at pjsip video guide: > http://trac.pjsip.org/repos/wiki/Video_Users_Guide#modvcodec by this > section: > http://trac.pjsip.org/repos/wiki/Video_Users_Guide#Sizeorresolution by > point "a" > and you need to change also decoding direction by point "b", you need > only change to higher level by: > param.dec_fmtp.param[n].name = pj_str("profile-level-id"); > param.dec_fmtp.param[n].val = pj_str("xxxxxx"); > > and that's all you need to this issue. > > > > ------------------------------ > > Message: 2 > Date: Tue, 3 Apr 2012 11:11:38 -0700 > From: "Jonathan Martin" <jmartin@xxxxxxxxxx> > To: <pjsip at lists.pjsip.org> > Subject: Deadlock when using ICE/TURN > Message-ID: <C9996049E07D4C71917837686C89E6E7 at BLUEHUWIN7PRO> > Content-Type: text/plain; charset="utf-8" > > Hi, > > With the aid of the Borland debugger, I?ve found a deadlock situation > between two threads when using the latest pjsip 2.0 code from SVN (checked > out April 1st). The issue is similar to the one fixed in ticket 1451. > > Thread 1 attempting to send a packet: > - ice_strans.c: pj_ice_strans_sendto (line 1191) acquires turn socket lock > - ioqueue_common_abs.c: pj_ioqueue_send (line 906) attempts to acquire key > mutex > > Thread 2 receives a packet: > - ioqueue_common_abs.c: ioqueue_dispatch_read_event (line 418) acquires > key mutex > - turn_sock.c: on_data_read (line 548) attempts to acquire turn socket lock > > Regards, > Jonathan Martin > AKCode LLC > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120403/577912f8/attachment-0001.html > > > > ------------------------------ > > Message: 3 > Date: Tue, 3 Apr 2012 11:55:26 -0700 (PDT) > From: Ignacio Gonzalez Lopez <mylaneza@xxxxxxxxxxxx> > To: pjsip list <pjsip at lists.pjsip.org> > Subject: Re: Problem compiling pjsip windows > Message-ID: > <1333479326.82621.YahooMailNeo at web161204.mail.bf1.yahoo.com> > Content-Type: text/plain; charset="iso-8859-1" > > How do you build BaseClasses?. Because when I build in debug the library > name is strmbasd.lib. When i build in release the name is strmbase.lib but > using this is when I have the compilation problems. > I download Windows SDK 6.0, before i was using Windows SDK 6.1. > > > 1>------ Build started: Project: pjmedia_test, Configuration: Release > Win32 ------ > 2>------ Build started: Project: pjsua, Configuration: Release Win32 ------ > 3>------ Skipped Build: Project: PocketPJ ------ > 3>Project not selected to build for this solution configuration > 4>------ Skipped Build: Project: pjsua_wince ------ > 4>Project not selected to build for this solution configuration > 5>------ Build started: Project: samples, Configuration: Release Win32 > ------ > 5>Performing Makefile project actions > 6>------ Skipped Build: Project: python_pjsua, Configuration: Release > Win32 ------ > 6>Project not selected to build for this solution configuration > 7>------ Build started: Project: pjsystest, Configuration: Release Win32 > ------ > 5>aviplay.c > 1>Linking... > 2>Linking... > 7>Linking... > 1>libpjproject-i386-win32-vc8-release.lib(dshowclasses.obj) : error > LNK2019: unresolved external symbol "public: __thiscall > CBaseRenderer::CBaseRenderer(struct _GUID const &,char const *,struct > IUnknown *,long *)" (??0CBaseRenderer@@QAE at ABU_GUID@@PBDPAUIUnknown@@PAJ at Z) > referenced in function "public: __thiscall NullRenderer::NullRenderer(long > *)" (??0NullRenderer@@QAE at PAJ@Z) > 1>..\bin\pjmedia-test-i386-Win32-vc8-Release.exe : fatal error LNK1120: 1 > unresolved externals > 2>libpjproject-i386-win32-vc8-release.lib(dshowclasses.obj) : error > LNK2019: unresolved external symbol "public: __thiscall > CBaseRenderer::CBaseRenderer(struct _GUID const &,char const *,struct > IUnknown *,long *)" (??0CBaseRenderer@@QAE at ABU_GUID@@PBDPAUIUnknown@@PAJ at Z) > referenced in function "public: __thiscall NullRenderer::NullRenderer(long > *)" (??0NullRenderer@@QAE at PAJ@Z) > 2>..\bin\pjsua-i386-Win32-vc8-Release.exe : fatal error LNK1120: 1 > unresolved externals > 1>Build log was saved at > "file://j:\Nacho\Proyectos\pj\pjproject\pjmedia\build\output\pjmedia_test-i386-Win32-vc8-Release\BuildLog.htm" > 1>pjmedia_test - 2 error(s), 0 warning(s) > 2>Build log was saved at > "file://j:\Nacho\Proyectos\pj\pjproject\pjsip-apps\build\output\pjsua-i386-Win32-vc8-Release\BuildLog.htm" > 2>pjsua - 2 error(s), 0 warning(s) > 7>libpjproject-i386-win32-vc8-release.lib(dshowclasses.obj) : error > LNK2019: unresolved external symbol "public: __thiscall > CBaseRenderer::CBaseRenderer(struct _GUID const &,char const *,struct > IUnknown *,long *)" (??0CBaseRenderer@@QAE at ABU_GUID@@PBDPAUIUnknown@@PAJ at Z) > referenced in function "public: __thiscall NullRenderer::NullRenderer(long > *)" (??0NullRenderer@@QAE at PAJ@Z) > 7>..\bin\pjsystest-i386-Win32-vc8-Release.exe : fatal error LNK1120: 1 > unresolved externals > 7>Build log was saved at > "file://j:\Nacho\Proyectos\pj\pjproject\pjsip-apps\build\output\pjsystest-i386-Win32-vc8-Release\BuildLog.htm" > 7>pjsystest - 2 error(s), 0 warning(s) > 5>pjmedia-videodev-i386-win32-vc8-release.lib(dshowclasses.obj) : error > LNK2019: unresolved external symbol "public: __thiscall > CBaseRenderer::CBaseRenderer(struct _GUID const &,char const *,struct > IUnknown *,long *)" (??0CBaseRenderer@@QAE at ABU_GUID@@PBDPAUIUnknown@@PAJ at Z) > referenced in function "public: __thiscall NullRenderer::NullRenderer(long > *)" (??0NullRenderer@@QAE at PAJ@Z) > 5>..\bin\samples\i386-win32-vc8-release\aviplay.exe : fatal error LNK1120: > 1 unresolved externals > 5>NMAKE : fatal error U1077: '"F:\Program Files\Microsoft Visual Studio > 9.0\VC\bin\cl.EXE"' : return code '0x2' > 5>Stop. > 5>Project : error PRJ0019: A tool returned an error code from "Performing > Makefile project actions" > 5>Build log was saved at > "file://j:\Nacho\Proyectos\pj\pjproject\pjsip-apps\build\output\samples-i386-Win32-vs8-Release\BuildLog.htm" > 5>samples - 4 error(s), 0 warning(s) > ========== Build: 0 succeeded, 4 failed, 25 up-to-date, 3 skipped > ========== > > > > ________________________________ > De: Fedot Fedotov <fedot.fedotov at gmail.com> > Para: pjsip list <pjsip at lists.pjsip.org> > Enviado: Martes, 3 de abril, 2012 8:38:05 > Asunto: Re: [pjsip] Problem compiling pjsip windows > > > I can share with you my pjsua project configuration(similar for other > problem projects in PJ-project solution): > ? > Configuration Properties/?Linker / General / Additional Library Directories > D:\Projects\PJSIP\_BaseClasses\Debug\ > C:\Program Files\Microsoft SDKs\Windows\v6.0\Lib\ > D:\Projects\PJSIP\SDL-1.3.0-6091\VisualC\SDL\Release\ > D:\Projects\PJSIP\ffmpeg-git-7d531e8-win32-dev\lib\ > C:\Program Files (x86)\Microsoft DirectX SDK (March 2009)\Lib\x86\ > > Configuration Properties/?Linker / Input/ Additional?Dependencies > ?Iphlpapi.lib? dsound.lib dxguid.lib netapi32.lib mswsock.lib ws2_32.lib > odbc32.lib odbccp32.lib ole32.lib user32.lib gdi32.lib advapi32.lib > ? > Configuration Properties/?Linker / Input/ Ignore Specific > Librarymsvcrt.lib; LIBCMTD.lib > ? > Cheers > ? > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120403/0357eb25/attachment-0001.html > > > > ------------------------------ > > Message: 4 > Date: Tue, 3 Apr 2012 15:28:08 -0700 (PDT) > From: Ignacio Gonzalez Lopez <mylaneza@xxxxxxxxxxxx> > To: Ignacio Gonzalez Lopez <mylaneza at yahoo.com.mx>, pjsip list > <pjsip at lists.pjsip.org> > Subject: Re: Problem compiling pjsip windows > Message-ID: > <1333492088.78593.YahooMailNeo at web161201.mail.bf1.yahoo.com> > Content-Type: text/plain; charset="iso-8859-1" > > I move some paths and try to build pjsip with debug configuration: > > > I skip samples, psystest, the python and the windows mobile projects. > > INCLUDE PATHS: > > FFMPEGINCLUDE = J:\ffmpeg-git-7d5318-win32-dev\include ( I download this > from the page http://ffmpeg.zeranoe.com/builds/win32/dev/ ) > INTTYPESINCLUDE = F:\ffmpeg\msinttypes ( I download this from > http://code.google.com/p/msinttypes/downloads/list ) > SDLINCLUDE = F:\SDL-1.3.0-6248\include ( I download this from > http://www.libsdl.org/tmp/ ) > > DIRECTSHOWINCLUDE = F:\Program Files\Microsoft > SDKs\Windows\v6.0\Samples\Multimedia\DirectShow\BaseClasses? ( I download > this from http://www.microsoft.com/download/en/details.aspx?id=23719 > > LINK PATHS > ? > DIRECTX = F:\Program Files\Microsoft DirectX 9.0 SDK (Summer 2004)\Lib ( I > download this from > http://www.microsoft.com/download/en/details.aspx?id=21416 ) > > FFMPEG = J:\ffmpeg-git-7d531e8-win32-dev\lib > SDL = F:\SDL-1.3.0-6248\VisualC\SDL\Debug > DIRECTSHOW = F:\Program Files\Microsoft > SDKs\Windows\v6.0\Samples\Multimedia\DirectShow\BaseClasses\Debug > > My project configuration: > > pjmedia > ??? include > ??? ??? FFMPEGINCLUDE > ??? ??? INTTYPESINCLUDE > > pjmedia_codec > ??? include > ??? ??? FFMPEGINCLUDE > ??? ??? INTTYPESINCLUDE > > pjmedia_videodev > ??? include > ??? ??? SDLINCLUDE > ??? ??? DIRECTSHOWINCLUDE > > pjsip_test > ??? link > ??? ??? DIRECTX > > pjsua > ??? link > ??? ??? DIRECTX > ??? ??? FFMPEG > ??? ??? SDL > ??? ??? DIRECTSHOW > > simple_debug > ??? link > ??? ??? DIRECTX > > pjmedia_test > ??? link > ??? ??? DIRECTX > ??? ??? FFMPEG > ??? ??? SDL > ??? ??? DIRECTSHOW > > I set this in the config_site.h file: > > #include <pj/config_site_sample.h> > > #define PJMEDIA_HAS_VIDEO??? ??????? 1 > #define PJMEDIA_HAS_FFMPEG??? ??????? 1 > #define PJMEDIA_VIDEO_DEV_HAS_SDL?????? 1 > #define PJMEDIA_VIDEO_DEV_HAS_DSHOW???? 1 > #define PJMEDIA_HAS_FFMPEG_CODEC_H264?? 1 /* Optional. Note: require > libx264 and ffmpeg must be built with h264 enabled */ > > And these are the compiling errors: > > > 1>------ Skipped Build: Project: samples, Configuration: Debug Win32 ------ > 1>Project not selected to build for this solution configuration > 2>------ Skipped Build: Project: PocketPJ, Configuration: Debug Win32 > ------ > 2>Project not selected to build for this solution configuration > 3>------ Skipped Build: Project: pjsua_wince, Configuration: Debug Win32 > ------ > 3>Project not selected to build for this solution configuration > 4>------ Build started: Project: pjsua, Configuration: Debug Win32 ------ > 5>------ Build started: Project: pjmedia_test, Configuration: Debug Win32 > ------ > 6>------ Skipped Build: Project: python_pjsua, Configuration: Debug Win32 > ------ > 6>Project not selected to build for this solution configuration > 7>------ Skipped Build: Project: pjsystest, Configuration: Debug Win32 > ------ > 7>Project not selected to build for this solution configuration > 5>Linking... > 4>Linking... > 4>libpjproject-i386-win32-vc8-debug.lib(dshowclasses.obj) : error LNK2019: > unresolved external symbol "public: __thiscall > CBaseRenderer::CBaseRenderer(struct _GUID const &,char const *,struct > IUnknown *,long *)" (??0CBaseRenderer@@QAE at ABU_GUID@@PBDPAUIUnknown@@PAJ at Z) > referenced in function "public: __thiscall NullRenderer::NullRenderer(long > *)" (??0NullRenderer@@QAE at PAJ@Z) > 5>libpjproject-i386-win32-vc8-debug.lib(dshowclasses.obj) : error LNK2019: > unresolved external symbol "public: __thiscall > CBaseRenderer::CBaseRenderer(struct _GUID const &,char const *,struct > IUnknown *,long *)" (??0CBaseRenderer@@QAE at ABU_GUID@@PBDPAUIUnknown@@PAJ at Z) > referenced in function "public: __thiscall NullRenderer::NullRenderer(long > *)" (??0NullRenderer@@QAE at PAJ@Z) > 5>..\bin\pjmedia-test-i386-Win32-vc8-Debug.exe : fatal error LNK1120: 1 > unresolved externals > 4>..\bin\pjsua-i386-Win32-vc8-Debug.exe : fatal error LNK1120: 1 > unresolved externals > 4>Build log was saved at > "file://j:\Nacho\Proyectos\pj\pjproject\pjsip-apps\build\output\pjsua-i386-Win32-vc8-Debug\BuildLog.htm" > 4>pjsua - 2 error(s), 0 warning(s) > 5>Build log was saved at > "file://j:\Nacho\Proyectos\pj\pjproject\pjmedia\build\output\pjmedia_test-i386-Win32-vc8-Debug\BuildLog.htm" > 5>pjmedia_test - 2 error(s), 0 warning(s) > ========== Build: 0 succeeded, 2 failed, 25 up-to-date, 5 skipped > ========== > > > I still don't know how to fix this. > > Thanks for the help. > > > > > ________________________________ > De: Ignacio Gonzalez Lopez <mylaneza at yahoo.com.mx> > Para: pjsip list <pjsip at lists.pjsip.org> > Enviado: Martes, 3 de abril, 2012 13:55:26 > Asunto: Re: [pjsip] Problem compiling pjsip windows > > > How do you build BaseClasses?. Because when I build in debug the library > name is strmbasd.lib. When i build in release the name is strmbase.lib but > using this is when I have the compilation problems. > I download Windows SDK 6.0, before i was using Windows SDK 6.1. > > > 1>------ Build started: Project: pjmedia_test, Configuration: Release > Win32 ------ > 2>------ Build started: Project: pjsua, Configuration: Release Win32 ------ > 3>------ Skipped Build: Project: PocketPJ ------ > 3>Project not selected to build for this solution configuration > 4>------ Skipped Build: Project: pjsua_wince ------ > 4>Project not selected to build for this solution configuration > 5>------ > Build started: Project: samples, Configuration: Release Win32 ------ > 5>Performing Makefile project actions > 6>------ Skipped Build: Project: python_pjsua, Configuration: Release > Win32 ------ > 6>Project not selected to build for this solution configuration > 7>------ Build started: Project: pjsystest, Configuration: Release Win32 > ------ > 5>aviplay.c > 1>Linking... > 2>Linking... > 7>Linking... > 1>libpjproject-i386-win32-vc8-release.lib(dshowclasses.obj) : error > LNK2019: unresolved external symbol "public: __thiscall > CBaseRenderer::CBaseRenderer(struct _GUID const &,char const *,struct > IUnknown *,long *)" (??0CBaseRenderer@@QAE at ABU_GUID@@PBDPAUIUnknown@@PAJ at Z) > referenced in function "public: __thiscall NullRenderer::NullRenderer(long > *)" (??0NullRenderer@@QAE at PAJ@Z) > 1>..\bin\pjmedia-test-i386-Win32-vc8-Release.exe : fatal error LNK1120: 1 > unresolved > externals > 2>libpjproject-i386-win32-vc8-release.lib(dshowclasses.obj) : error > LNK2019: unresolved external symbol "public: __thiscall > CBaseRenderer::CBaseRenderer(struct _GUID const &,char const *,struct > IUnknown *,long *)" (??0CBaseRenderer@@QAE at ABU_GUID@@PBDPAUIUnknown@@PAJ at Z) > referenced in function "public: __thiscall NullRenderer::NullRenderer(long > *)" (??0NullRenderer@@QAE at PAJ@Z) > 2>..\bin\pjsua-i386-Win32-vc8-Release.exe : fatal error LNK1120: 1 > unresolved externals > 1>Build log was saved at > "file://j:\Nacho\Proyectos\pj\pjproject\pjmedia\build\output\pjmedia_test-i386-Win32-vc8-Release\BuildLog.htm" > 1>pjmedia_test - 2 error(s), 0 warning(s) > 2>Build log was saved at > "file://j:\Nacho\Proyectos\pj\pjproject\pjsip-apps\build\output\pjsua-i386-Win32-vc8-Release\BuildLog.htm" > 2>pjsua - 2 error(s), 0 warning(s) > 7>libpjproject-i386-win32-vc8-release.lib(dshowclasses.obj) : error > LNK2019: unresolved external > symbol "public: __thiscall CBaseRenderer::CBaseRenderer(struct _GUID > const &,char const *,struct IUnknown *,long *)" (??0CBaseRenderer@ > @QAE at ABU_GUID@@PBDPAUIUnknown@@PAJ at Z) referenced in function "public: > __thiscall NullRenderer::NullRenderer(long *)" (??0NullRenderer@@QAE at PAJ > @Z) > 7>..\bin\pjsystest-i386-Win32-vc8-Release.exe : fatal error LNK1120: 1 > unresolved externals > 7>Build log was saved at > "file://j:\Nacho\Proyectos\pj\pjproject\pjsip-apps\build\output\pjsystest-i386-Win32-vc8-Release\BuildLog.htm" > 7>pjsystest - 2 error(s), 0 warning(s) > 5>pjmedia-videodev-i386-win32-vc8-release.lib(dshowclasses.obj) : error > LNK2019: unresolved external symbol "public: __thiscall > CBaseRenderer::CBaseRenderer(struct _GUID const &,char const *,struct > IUnknown *,long *)" (??0CBaseRenderer@@QAE at ABU_GUID@@PBDPAUIUnknown@@PAJ at Z) > referenced in function "public: __thiscall NullRenderer::NullRenderer(long > *)" > (??0NullRenderer@@QAE at PAJ@Z) > 5>..\bin\samples\i386-win32-vc8-release\aviplay.exe : fatal error LNK1120: > 1 unresolved externals > 5>NMAKE : fatal error U1077: '"F:\Program Files\Microsoft Visual Studio > 9.0\VC\bin\cl.EXE"' : return code '0x2' > 5>Stop. > 5>Project : error PRJ0019: A tool returned an error code from "Performing > Makefile project actions" > 5>Build log was saved at > "file://j:\Nacho\Proyectos\pj\pjproject\pjsip-apps\build\output\samples-i386-Win32-vs8-Release\BuildLog.htm" > 5>samples - 4 error(s), 0 warning(s) > ========== Build: 0 succeeded, 4 failed, 25 up-to-date, 3 skipped > ========== > > > > ________________________________ > De: Fedot Fedotov <fedot.fedotov at gmail.com> > Para: pjsip list <pjsip at lists.pjsip.org> > Enviado: Martes, 3 de abril, 2012 8:38:05 > Asunto: Re: [pjsip] Problem compiling pjsip windows > > > I can share with you my pjsua project configuration(similar for other > problem projects in PJ-project solution): > ? > Configuration Properties/?Linker / General / Additional Library Directories > D:\Projects\PJSIP\_BaseClasses\Debug\ > C:\Program Files\Microsoft SDKs\Windows\v6.0\Lib\ > D:\Projects\PJSIP\SDL-1.3.0-6091\VisualC\SDL\Release\ > D:\Projects\PJSIP\ffmpeg-git-7d531e8-win32-dev\lib\ > C:\Program Files (x86)\Microsoft DirectX SDK (March 2009)\Lib\x86\ > > Configuration Properties/?Linker / Input/ Additional?Dependencies > ?Iphlpapi.lib? dsound.lib dxguid.lib netapi32.lib mswsock.lib ws2_32.lib > odbc32.lib odbccp32.lib ole32.lib user32.lib gdi32.lib advapi32.lib > ? > Configuration Properties/?Linker / Input/ Ignore Specific > Librarymsvcrt.lib; LIBCMTD.lib > ? > Cheers > ? > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120403/6c495135/attachment.html > > > > ------------------------------ > > _______________________________________________ > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > End of pjsip Digest, Vol 56, Issue 8 > ************************************ > -- -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120403/bc19d974/attachment-0001.html>