Closed ndrean closed 3 weeks ago
Yes....indeed
test_send_data(pc1, pc2, track1, track1)
will make it fail, but... I can't catch this :EXIT.
:EXIT
trapped in fact with Process.flag(:trap_exit, true)
. Discovered this. Seems to pass.
@ndrean thanks for your work!
I have modified a little bit the behavior so that pc doesn't stop when we try to send data on invalid track id.
I also created a separate test case for send_rtp as I belive it fits better :slightly_smiling_face:
@mickel8 @LVala Thanks both of you for your work!
I did not returned a
{:stop, :unrecognized_id, state}
as I don't know how you want to treat this.