Browse Source

MT#60688 redis: add support of ptime replication

Wasn't fully implemented, recovering part is added.

Change-Id: I5c81bdd1d090bb30b2aa3b3e3a10c0240068815b
pull/1848/head
Donat Zenichev 1 year ago
parent
commit
1a671e3726
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      daemon/redis.c

+ 2
- 0
daemon/redis.c View File

@ -1619,6 +1619,8 @@ static int json_medias(call_t *c, struct redis_list *medias, struct redis_list *
if (!redis_hash_get_str(&s, rh, "media_id"))
call_str_cpy(c, &med->media_id, &s);
if (redis_hash_get_int(&med->ptime, rh, "ptime"))
return -1;
if (redis_hash_get_int(&med->maxptime, rh, "maxptime"))
return -1;


Loading…
Cancel
Save