{"action":"created","issue":{"url":"https://api.github.com/repos/mikebrady/shairport-sync/issues/169","labels_url":"https://api.github.com/repos/mikebrady/shairport-sync/issues/169/labels{/name}","comments_url":"https://api.github.com/repos/mikebrady/shairport-sync/issues/169/comments","events_url":"https://api.github.com/repos/mikebrady/shairport-sync/issues/169/events","html_url":"https://github.com/mikebrady/shairport-sync/issues/169","id":121172033,"number":169,"title":"Packets out of sequence issue = frequent muting of sound","user":{"login":"Odal3","id":14325068,"avatar_url":"https://avatars.githubusercontent.com/u/14325068?v=3","gravatar_id":"","url":"https://api.github.com/users/Odal3","html_url":"https://github.com/Odal3","followers_url":"https://api.github.com/users/Odal3/followers","following_url":"https://api.github.com/users/Odal3/following{/other_user}","gists_url":"https://api.github.com/users/Odal3/gists{/gist_id}","starred_url":"https://api.github.com/users/Odal3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Odal3/subscriptions","organizations_url":"https://api.github.com/users/Odal3/orgs","repos_url":"https://api.github.com/users/Odal3/repos","events_url":"https://api.github.com/users/Odal3/events{/privacy}","received_events_url":"https://api.github.com/users/Odal3/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":48,"created_at":"2015-12-09T06:35:32Z","updated_at":"2015-12-18T13:40:15Z","closed_at":null,"body":"Hi Mike, \r\nThanks again for the great program. I have had very good experience when running shairport-sync either from moode or volumio. However, I'm now trying to get it to work on OSMC (kodi based platform), but I can't get it to play well due to packets out of sequence frequently causing the output to mute. It normally plays fine for the first 1-2 min, but then it mutes for a while and then starts playing again.\r\n\r\nAs you can see in the logs below, sounds mutes when RTP: Packets out of sequence: expected: 33555, got 0.\r\n\r\nI'm using a raspberry pi2 over wifi synced from an Ipad mini. I first suspected the wifi network, but when I'm using kodi I have no problem playing 1080p movies. Audio is output via alsa to a USB dac. I also tried changing the settings, but even if I set drift and resync_threshold = 100,000 it didn't really help. \r\n\r\nAny recommendations what to try next?\r\n\r\nHere's the output log:\r\n[quote]\r\n CSeq: 128.\r\n    X-Apple-Device-ID: 0xac3c0bc10dc7.\r\n    DACP-ID: 5DE5F6803F64A1A6.\r\n    Active-Remote: 5994324.\r\n    User-Agent: AirPlay/220.68.\r\n    Content-Length: 0.\r\n    CSeq: 128.\r\n    Audio-Jack-Status: connected; type=analog.\r\n    Public: ANNOUNCE, SETUP, RECORD, PAUSE, FLUSH, TEARDOWN, OPTIONS, GET_PARAMETER, SET_PARAMETER.\r\nRTP: Packets out of sequence: expected: 32885, got 32963.\r\nRTP: Packets out of sequence: expected: 32967, got 32970.\r\nRTP: Packets out of sequence: expected: 32971, got 32972.\r\nRTP: Packets out of sequence: expected: 32974, got 32976.\r\nRTP: Packets out of sequence: expected: 32978, got 32982.\r\nRTP: Packets out of sequence: expected: 32985, got 32887.\r\nRTP: Packets out of sequence: expected: 32888, got 32987.\r\nRTP: Packets out of sequence: expected: 32995, got 32998.\r\nRTP: Packets out of sequence: expected: 33001, got 33002.\r\nRTP: Packets out of sequence: expected: 33003, got 33004.\r\nRTP: Packets out of sequence: expected: 33028, got 33029.\r\nRTP: Packets out of sequence: expected: 33030, got 33031.\r\nRTP: Packets out of sequence: expected: 33038, got 33039.\r\nRTP: Packets out of sequence: expected: 33065, got 33066.\r\nRTP: Packets out of sequence: expected: 33078, got 32939.\r\nRTP: Packets out of sequence: expected: 32942, got 33078.\r\nRTP: Packets out of sequence: expected: 33087, got 32883.\r\nRTP: Packets out of sequence: expected: 32884, got 33087.\r\nRTP: Packets out of sequence: expected: 33090, got 32884.\r\nRTP: Packets out of sequence: expected: 32886, got 33090.\r\nRTP: Packets out of sequence: expected: 33093, got 32887.\r\nRTP: Packets out of sequence: expected: 32888, got 33093.\r\nRTP: Packets out of sequence: expected: 33104, got 32943.\r\nRTP: Packets out of sequence: expected: 32944, got 32883.\r\nRTP: Packets out of sequence: expected: 32885, got 32887.\r\nRTP: Packets out of sequence: expected: 32888, got 33104.\r\nRTP: Packets out of sequence: expected: 33107, got 32883.\r\nRTP: Packets out of sequence: expected: 32885, got 33107.\r\nRTP: Packets out of sequence: expected: 33113, got 32885.\r\nRTP: Packets out of sequence: expected: 32886, got 32887.\r\nRTP: Packets out of sequence: expected: 32888, got 33113.\r\nRTP: Packets out of sequence: expected: 33131, got 33132.\r\nRTP: Packets out of sequence: expected: 33151, got 32946.\r\nRTP: Packets out of sequence: expected: 32947, got 33151.\r\nRTP: Packets out of sequence: expected: 33165, got 33166.\r\nRTP: Packets out of sequence: expected: 33174, got 33179.\r\nRTP: Packets out of sequence: expected: 33201, got 33288.\r\nRTP: Packets out of sequence: expected: 33300, got 33301.\r\nRTP: Packets out of sequence: expected: 33308, got 32948.\r\nRTP: Packets out of sequence: expected: 32949, got 32950.\r\nRTP: Packets out of sequence: expected: 32957, got 32959.\r\n    CSeq: 129.\r\n    X-Apple-Device-ID: 0xac3c0bc10dc7.\r\n    DACP-ID: 5DE5F6803F64A1A6.\r\n    Active-Remote: 5994324.\r\n    User-Agent: AirPlay/220.68.\r\n    Content-Length: 0.\r\n    CSeq: 129.\r\n    Audio-Jack-Status: connected; type=analog.\r\n    Public: ANNOUNCE, SETUP, RECORD, PAUSE, FLUSH, TEARDOWN, OPTIONS, GET_PARAMETER, SET_PARAMETER.\r\nRTP: Packets out of sequence: expected: 32960, got 32967.\r\nRTP: Packets out of sequence: expected: 32970, got 32971.\r\nRTP: Packets out of sequence: expected: 32972, got 32974.\r\nRTP: Packets out of sequence: expected: 32976, got 33532.\r\nRTP: Packets out of sequence: expected: 33555, got 0.\r\nresend-related request packet received, ignoring.\r\nRTP: Packets out of sequence: expected: 1, got 0.\r\nresend-related request packet received, ignoring.\r\nRTP: Packets out of sequence: expected: 1, got 0.\r\nresend-related request packet received, ignoring.\r\nRTP: Packets out of sequence: expected: 1, got 33750.\r\nRTP: Packets out of sequence: expected: 33756, got 0.\r\nresend-related request packet received, ignoring.\r\nRTP: Packets out of sequence: expected: 1, got 33756.\r\nRTP: Packets out of sequence: expected: 33803, got 0.\r\nresend-related request packet received, ignoring.\r\nRTP: Packets out of sequence: expected: 1, got 33803.\r\nRTP: Packets out of sequence: expected: 33808, got 0.\r\nresend-related request packet received, ignoring.\r\nRTP: Packets out of sequence: expected: 1, got 33808.\r\nRTP: Packets out of sequence: expected: 33816, got 0.\r\nresend-related request packet received, ignoring.\r\nRTP: Packets out of sequence: expected: 1, got 0.\r\nresend-related request packet received, ignoring.\r\nRTP: Packets out of sequence: expected: 1, got 33867.\r\nRTP: Packets out of sequence: expected: 33890, got 0.\r\nresend-related request packet received, ignoring.\r\nRTP: Packets out of sequence: expected: 1, got 33890.\r\nRTP: Packets out of sequence: expected: 33928, got 0.\r\nresend-related request packet received, ignoring.\r\nAliasing of buffer index -- reset.\r\nRTP: Packets out of sequence: expected: 1, got 33928.\r\nRTP: Packets out of sequence: expected: 33965, got 0.\r\nresend-related request packet received, ignoring.\r\nRTP: Packets out of sequence: expected: 1, got 33965.\r\nRTP: Packets out of sequence: expected: 33968, got 0.\r\nresend-related request packet received, ignoring.\r\nRTP: Packets out of sequence: expected: 1, got 33968.\r\nRTP: Packets out of sequence: expected: 33989, got 0.\r\nresend-related request packet received, ignoring.\r\nRTP: Packets out of sequence: expected: 1, got 33989.\r\nRTP: Packets out of sequence: expected: 34006, got 0.\r\nresend-related request packet received, ignoring.\r\nRTP: Packets out of sequence: expected: 1, got 34006.\r\nRTP: Packets out of sequence: expected: 34012, got 33555.\r\nRTP: Packets out of sequence: expected: 33750, got 34012.\r\nRTP: Packets out of sequence: expected: 34021, got 33816.\r\nRTP: Packets out of sequence: expected: 33867, got 34021.\r\nPlayer: packets out of sequence: expected: 32883, got: 33907, sync error: 0 frames.\r\n^Cshutdown requested...\r\n[/quote]"},"comment":{"url":"https://api.github.com/repos/mikebrady/shairport-sync/issues/comments/165780742","html_url":"https://github.com/mikebrady/shairport-sync/issues/169#issuecomment-165780742","issue_url":"https://api.github.com/repos/mikebrady/shairport-sync/issues/169","id":165780742,"user":{"login":"mikebrady","id":4265913,"avatar_url":"https://avatars.githubusercontent.com/u/4265913?v=3","gravatar_id":"","url":"https://api.github.com/users/mikebrady","html_url":"https://github.com/mikebrady","followers_url":"https://api.github.com/users/mikebrady/followers","following_url":"https://api.github.com/users/mikebrady/following{/other_user}","gists_url":"https://api.github.com/users/mikebrady/gists{/gist_id}","starred_url":"https://api.github.com/users/mikebrady/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikebrady/subscriptions","organizations_url":"https://api.github.com/users/mikebrady/orgs","repos_url":"https://api.github.com/users/mikebrady/repos","events_url":"https://api.github.com/users/mikebrady/events{/privacy}","received_events_url":"https://api.github.com/users/mikebrady/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T13:40:15Z","updated_at":"2015-12-18T13:40:15Z","body":"Just pushed that little update. Apologies."}}