{"action":"created","issue":{"url":"https://api.github.com/repos/fyhertz/libstreaming/issues/99","repository_url":"https://api.github.com/repos/fyhertz/libstreaming","labels_url":"https://api.github.com/repos/fyhertz/libstreaming/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/fyhertz/libstreaming/issues/99/comments","events_url":"https://api.github.com/repos/fyhertz/libstreaming/issues/99/events","html_url":"https://github.com/fyhertz/libstreaming/issues/99","id":65559754,"number":99,"title":"V/MediaCodecInputStream﹕ No buffer available... with Glass and MODE_MEDIACODEC_API_2","user":{"login":"Ali1","id":218558,"avatar_url":"https://avatars.githubusercontent.com/u/218558?v=3","gravatar_id":"","url":"https://api.github.com/users/Ali1","html_url":"https://github.com/Ali1","followers_url":"https://api.github.com/users/Ali1/followers","following_url":"https://api.github.com/users/Ali1/following{/other_user}","gists_url":"https://api.github.com/users/Ali1/gists{/gist_id}","starred_url":"https://api.github.com/users/Ali1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ali1/subscriptions","organizations_url":"https://api.github.com/users/Ali1/orgs","repos_url":"https://api.github.com/users/Ali1/repos","events_url":"https://api.github.com/users/Ali1/events{/privacy}","received_events_url":"https://api.github.com/users/Ali1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2015-03-31T22:21:24Z","updated_at":"2016-07-03T03:21:02Z","closed_at":null,"body":"Good evening. Anyone have any idea why I'm getting the error `V/MediaCodecInputStream﹕ No buffer available...` in logcat on my Glass app? I'm getting about 3/second of these continuously during streaming to a Wowza server. Thanks\r\n\r\n        mSession = SessionBuilder.getInstance()\r\n                .setContext(getApplicationContext())\r\n                .setAudioEncoder(SessionBuilder.AUDIO_AAC)\r\n                .setAudioQuality(new AudioQuality(8000,16000))\r\n                .setVideoEncoder(SessionBuilder.VIDEO_H264)\r\n             //   .setVideoQuality(new VideoQuality(320, 240, 15, 500000)) //only need if you want to change the resolution from default\r\n                .setSurfaceView(mSurfaceView).setPreviewOrientation(0)\r\n                .setCallback(this).build();\r\n\r\n        mSession.getVideoTrack().setStreamingMethod(MediaStream.MODE_MEDIACODEC_API_2);"},"comment":{"url":"https://api.github.com/repos/fyhertz/libstreaming/issues/comments/230133079","html_url":"https://github.com/fyhertz/libstreaming/issues/99#issuecomment-230133079","issue_url":"https://api.github.com/repos/fyhertz/libstreaming/issues/99","id":230133079,"user":{"login":"chinapumpkin","id":11049778,"avatar_url":"https://avatars.githubusercontent.com/u/11049778?v=3","gravatar_id":"","url":"https://api.github.com/users/chinapumpkin","html_url":"https://github.com/chinapumpkin","followers_url":"https://api.github.com/users/chinapumpkin/followers","following_url":"https://api.github.com/users/chinapumpkin/following{/other_user}","gists_url":"https://api.github.com/users/chinapumpkin/gists{/gist_id}","starred_url":"https://api.github.com/users/chinapumpkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chinapumpkin/subscriptions","organizations_url":"https://api.github.com/users/chinapumpkin/orgs","repos_url":"https://api.github.com/users/chinapumpkin/repos","events_url":"https://api.github.com/users/chinapumpkin/events{/privacy}","received_events_url":"https://api.github.com/users/chinapumpkin/received_events","type":"User","site_admin":false},"created_at":"2016-07-03T03:21:02Z","updated_at":"2016-07-03T03:21:02Z","body":"hello\n\nbecause i did not use google glass. I use the pupil glasses . \n\nAnd media recorder mode is more older than media codec . For the media codec api I remember is android 4.1. \n\nBesides, there is no buffer for mode media codec api 2. I also did not use it. It is use for test the new technology.  But it did not suit for all the phone. \n\nBr\n\nDeng canrong\n\n发自我的 iPad\n\n> 在 2016年7月1日，上午12:07，Manuel Saelices <notifications@github.com> 写道：\n> \n> The MediaStream.MODE_MEDIARECORDER_API mode seems works better in the Google Glass, no?\n> \n> —\n> You are receiving this because you commented.\n> Reply to this email directly, view it on GitHub, or mute the thread.\n> \n"}}
{"actor":{"display_login":"chinapumpkin"}}