TT#88750 fix SRTP not working after Redis restart

Change-Id: I40a20b2cd2668480d4b85de7a19c39f606b2eada
(cherry picked from commit 5001a02d44)
mr7.5.7
Richard Fuchs 6 years ago
parent c3b6504fd7
commit e8b39ceccb

@ -1005,7 +1005,7 @@ void call_media_state_machine(struct call_media *m) {
call_stream_state_machine(l->data);
}
static int __init_stream(struct packet_stream *ps) {
int __init_stream(struct packet_stream *ps) {
struct call_media *media = ps->media;
struct call *call = ps->call;
int dtls_active = -1;

@ -1420,6 +1420,8 @@ static int json_link_streams(struct call *c, struct redis_list *streams,
if (ps->media)
__rtp_stats_update(ps->rtp_stats, ps->media->codecs_recv);
__init_stream(ps);
}
return 0;

@ -435,6 +435,7 @@ void add_total_calls_duration_in_interval(struct timeval *interval_tv);
void payload_type_free(struct rtp_payload_type *p);
void __rtp_stats_update(GHashTable *dst, GHashTable *src);
int __init_stream(struct packet_stream *ps);
const struct rtp_payload_type *__rtp_stats_codec(struct call_media *m);

Loading…
Cancel
Save