Re: No RTP after upgrading to latest commit

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

 





On Tue, Mar 2, 2021 at 8:35 AM mayamatakeshi <mayamatakeshi@xxxxxxxxx> wrote:
Hi,
I'm trying to update a node.js module I wrote
using pjproject commit de3d744c2e1188b59bb907b6ee32ef83740ebc64 (jan/2017) to latest commit 6470fb9e4bd9baa14d50f754dc7f945e7a76c828.

The build works but I got the assertion failure discussed here when I try to run an app using my module:
So I changed my code to call pjmedia_event_mgr_create().
This indeed solved the assertion issue.
However, although there are no error logs, pjmedia doesn't send RTP packets anymore. 
I tested the pjsip samples and they work (no RTP issues) and I tried previous commits but the same problem happens so I'm sure it is a problem with my code but I could not figure where as pjmedia doesn't output any error messages.
Does anyone have any clue why this might be happening? (I didn't change anything else).

Ah, I found the problem.
I compared the old version of sample streamutil.c with the one from latest commit and I found that now it calls:
  pjmedia_transport_media_start()
and
  pjmedia_transport_media_stop()
I added these calls to my code and now RTP is OK.


_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[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