Antwort: Assertion error when trying to create media stream

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

 



Hello,
?
yes, thank you! That worked for me!
?
regards
?

Gesendet:?Mittwoch, 14. August 2013 um 11:49 Uhr
Von:?Adam.Wientzek at dfs.de
An:?"pjsip list" <pjsip at lists.pjsip.org>
Betreff:?[pjsip] Antwort: Assertion error when trying to create media stream
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[http://blog.pjsip.org/]

pjsip mailing list
pjsip at lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org[http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org]
?
?
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[http://www.dfs.de]
Public-Key der DFS: http://www.dfs.de/dfs/public_key.asc[http://www.dfs.de/dfs/public_key.asc]



[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