Hi Ming! Ah, I overlooked that... So the problem in my case was that format.type was set to PJMEDIA_TYPE_UNKNOWN, and hence the members of the object didn’t get initialized. (I’m still
confused why it’s set to unknown, because it is the automatically generated audio media object for the default sound card, which IMHO should be set to PJMEDIA_TYPE_AUDIO, but anyway – I’ll bother with that later). Thanks for your answer! Georg PS: isn’t commented-out code considered bad style? PPS: sorry for the line number – I don’t know where I was looking From: pjsip [mailto:pjsip-bounces@xxxxxxxxxxxxxxx]
On Behalf Of Ming Hi Georg, Not sure which you're referring to, line 1590 is the end of the file. If you're referring to this: Then it looks correct, since format field will be populated by the code "format.fromPj(port_info.format);" Regards, Ming On Fri, Sep 16, 2016 at 9:07 AM, Piewald Georg <gpi@xxxxxxxxxxxxxxxxxxxx> wrote:
|
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org