{"action":"created","issue":{"url":"https://api.github.com/repos/begeekmyfriend/yasea/issues/4","repository_url":"https://api.github.com/repos/begeekmyfriend/yasea","labels_url":"https://api.github.com/repos/begeekmyfriend/yasea/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/begeekmyfriend/yasea/issues/4/comments","events_url":"https://api.github.com/repos/begeekmyfriend/yasea/issues/4/events","html_url":"https://github.com/begeekmyfriend/yasea/issues/4","id":151139681,"number":4,"title":"writeThread not closed","user":{"login":"gouravd","id":3840752,"avatar_url":"https://avatars.githubusercontent.com/u/3840752?v=3","gravatar_id":"","url":"https://api.github.com/users/gouravd","html_url":"https://github.com/gouravd","followers_url":"https://api.github.com/users/gouravd/followers","following_url":"https://api.github.com/users/gouravd/following{/other_user}","gists_url":"https://api.github.com/users/gouravd/gists{/gist_id}","starred_url":"https://api.github.com/users/gouravd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gouravd/subscriptions","organizations_url":"https://api.github.com/users/gouravd/orgs","repos_url":"https://api.github.com/users/gouravd/repos","events_url":"https://api.github.com/users/gouravd/events{/privacy}","received_events_url":"https://api.github.com/users/gouravd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-04-26T13:47:09Z","updated_at":"2016-04-27T05:29:01Z","closed_at":null,"body":"I guess the following is missing in the stop() function in srsEncoder.java. May be that is why the writeThread continues to wait even after stop publishing\r\n\r\nif(publisher != null) {\r\n            Log.i(TAG, \"stop publisher\");\r\n            publisher.shutdown();\r\n        }"},"comment":{"url":"https://api.github.com/repos/begeekmyfriend/yasea/issues/comments/214974223","html_url":"https://github.com/begeekmyfriend/yasea/issues/4#issuecomment-214974223","issue_url":"https://api.github.com/repos/begeekmyfriend/yasea/issues/4","id":214974223,"user":{"login":"begeekmyfriend","id":6031938,"avatar_url":"https://avatars.githubusercontent.com/u/6031938?v=3","gravatar_id":"","url":"https://api.github.com/users/begeekmyfriend","html_url":"https://github.com/begeekmyfriend","followers_url":"https://api.github.com/users/begeekmyfriend/followers","following_url":"https://api.github.com/users/begeekmyfriend/following{/other_user}","gists_url":"https://api.github.com/users/begeekmyfriend/gists{/gist_id}","starred_url":"https://api.github.com/users/begeekmyfriend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/begeekmyfriend/subscriptions","organizations_url":"https://api.github.com/users/begeekmyfriend/orgs","repos_url":"https://api.github.com/users/begeekmyfriend/repos","events_url":"https://api.github.com/users/begeekmyfriend/events{/privacy}","received_events_url":"https://api.github.com/users/begeekmyfriend/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T05:29:01Z","updated_at":"2016-04-27T05:29:01Z","body":"That could be the reason why write thread leaks. I do appreciate the point you gave me. And I will do more details to verify that."}}