MT#55283 move setting of RECEIVED flag

Should make more sense there

Change-Id: I5a16d42510ee93e72f8cf605d9463e220b53aa6b
rfuchs/2133
Richard Fuchs 3 weeks ago
parent c53e7f9f03
commit 4751218ce5

@ -3151,8 +3151,6 @@ static bool media_packet_address_check(struct packet_handler_ctx *phc)
}
}
PS_SET(phc->mp.stream, RECEIVED);
endpoint_t *update_endpoint = &phc->mp.stream->endpoint;
// don't update the "to" address endpoint for asymmetric streams
if (MEDIA_ISSET(phc->mp.media, ASYMMETRIC))
@ -3514,6 +3512,8 @@ static int stream_packet(struct packet_handler_ctx *phc) {
if (media_packet_address_check(phc))
goto drop;
PS_SET(phc->mp.stream, RECEIVED);
if (rtpe_config.active_switchover && IS_FOREIGN_CALL(phc->mp.call))
call_make_own_foreign(phc->mp.call, false);

Loading…
Cancel
Save