Assertion error when trying to create media stream

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

 



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



[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