mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
Use correct RTP payload type for aptX, LDAC,SBC
According to the A2DP spec, the payload type should be set to a number between 96 and 127. This is fixed for AAC codec, but not the rest. Original PulseAudio issue: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/591
This commit is contained in:
parent
2dcdc80030
commit
579481ab70
3 changed files with 3 additions and 3 deletions
|
|
@ -287,7 +287,7 @@ static int codec_start_encode (void *data,
|
|||
memset(this->header, 0, sizeof(struct rtp_header));
|
||||
|
||||
this->header->v = 2;
|
||||
this->header->pt = 1;
|
||||
this->header->pt = 96;
|
||||
this->header->sequence_number = htons(seqnum);
|
||||
this->header->timestamp = htonl(timestamp);
|
||||
return sizeof(struct rtp_header);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue