Antwort: Assertion error when trying to create media stream

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

i am using it this way:

pjmedia_codec_param codec_param;
pjmedia_codec_mgr *codec_mgr = 
pjmedia_endpt_get_codec_mgr(pjsua_get_pjmedia_endpt());
status = pjmedia_codec_mgr_get_default_param(codec_mgr, codecInfo, 
&codec_param);

pjmedia_codec_param_clone(pool, &codec_param);

Best regards




Von:    "Paul Schmidt" <8flm6 at gmx.de>
An:     pjsip at lists.pjsip.org, 
Datum:  14.08.2013 11:31
Betreff:        [pjsip] Assertion error when trying to create media stream
Gesendet von:   "pjsip" <pjsip-bounces at lists.pjsip.org>



Hello,

I'm trying to create a media stream by calling pjmedia_stream_create(). 
Until now this fails showing the message

"../src/pjmedia/codec.c:53: pjmedia_codec_param_clone: Assertion `pool && 
src' failed."

This happens in pjmedia_codec_param_clone(). As I use the memory pool 
prior to this step without any problems,
the passed pjmedia_codec_param struct must be the problem. I noticed that 
there is the same problem, when I start
the sample application streamutil.

My first guess was to initialize the pjmedia_codec_param with default 
values which is owned by the pjmedia_stream_info 
struct which is passed to pjmedia_stream_create(). For this I used 
pjmedia_codec_mgr_set_default_param(). But this seems
not to work.

Did anyone came across this issue? If yes how did you solved it?

regards

_______________________________________________
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/20130814/ff98f942/attachment-0002.html>
-------------- next part --------------
DFS Deutsche Flugsicherung GmbH
Am DFS-Campus
D - 63225 Langen

Tel.: +49-(0)6103-707-0 

Sitz der Gesellschaft: Langen/Hessen
Zust?ndiges Registergericht: AG Offenbach am Main, HRB 34977
Vorsitzender des Aufsichtsrates: Michael Odenwald
Gesch?ftsf?hrer: Prof. Klaus-Dieter Scheurle (Vors.), Robert Schickling, Dr. Michael Hann

Internet: http://www.dfs.de
Public-Key der DFS: http://www.dfs.de/dfs/public_key.asc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130814/ff98f942/attachment-0003.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux