Browse Source

MT#55283 use correct string to parse RTP

Change-Id: I18d2ef5cfdbc32ba9a467c0c6a44ca0e283d110f
pull/1623/head
Richard Fuchs 3 years ago
parent
commit
3e197f7163
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      daemon/jitter_buffer.c

+ 1
- 1
daemon/jitter_buffer.c View File

@ -99,7 +99,7 @@ static int get_clock_rate(struct media_packet *mp, int payload_type) {
}
static struct jb_packet* get_jb_packet(struct media_packet *mp, const str *s) {
if (rtp_payload(&mp->rtp, &mp->payload, &mp->raw))
if (rtp_payload(&mp->rtp, &mp->payload, s))
return NULL;
char *buf = malloc(s->len + RTP_BUFFER_HEAD_ROOM + RTP_BUFFER_TAIL_ROOM);


Loading…
Cancel
Save