diff options
author | Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com> | 2014-05-26 15:16:29 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2014-06-01 10:17:16 +0300 |
commit | 323e9c14ddc25bf79d42bf4564c7a74ebf5ec7ea (patch) | |
tree | 6e85a6cb73f3a7ecb9b3bee591aa291e6c8a4c6d /android/hal-audio.c | |
parent | f9df0da774ca7be70e8496c446727ab8f5577070 (diff) | |
download | bluez-323e9c14ddc25bf79d42bf4564c7a74ebf5ec7ea.tar.gz |
android/hal-audio: Fix PT in media packets
According to A2DP 1.3 spec section 4.3.3.2:
"A payload type in the RTP dynamic range shall be chosen (see [22],
section 3)." - [22] = RFC3551
As per referenced RFC3551, values in range 96-127 are reserved for
dynamic assignment so we can set PT to 96.
Diffstat (limited to 'android/hal-audio.c')
-rw-r--r-- | android/hal-audio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/hal-audio.c b/android/hal-audio.c index 49b829a02..49393e2fc 100644 --- a/android/hal-audio.c +++ b/android/hal-audio.c @@ -479,7 +479,7 @@ static bool open_endpoint(struct audio_endpoint *ep, if (!ep->mp) goto failed; ep->mp->hdr.v = 2; - ep->mp->hdr.pt = 1; + ep->mp->hdr.pt = 0x60; ep->mp->hdr.ssrc = htonl(1); ep->mp_data_len = payload_len; |