{"action":"closed","issue":{"url":"https://api.github.com/repos/DangLienMinh/webrtc_client/issues/7","repository_url":"https://api.github.com/repos/DangLienMinh/webrtc_client","labels_url":"https://api.github.com/repos/DangLienMinh/webrtc_client/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/DangLienMinh/webrtc_client/issues/7/comments","events_url":"https://api.github.com/repos/DangLienMinh/webrtc_client/issues/7/events","html_url":"https://github.com/DangLienMinh/webrtc_client/issues/7","id":225994938,"number":7,"title":"Only audio calling","user":{"login":"SWebvillee","id":28294936,"avatar_url":"https://avatars3.githubusercontent.com/u/28294936?v=4","gravatar_id":"","url":"https://api.github.com/users/SWebvillee","html_url":"https://github.com/SWebvillee","followers_url":"https://api.github.com/users/SWebvillee/followers","following_url":"https://api.github.com/users/SWebvillee/following{/other_user}","gists_url":"https://api.github.com/users/SWebvillee/gists{/gist_id}","starred_url":"https://api.github.com/users/SWebvillee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SWebvillee/subscriptions","organizations_url":"https://api.github.com/users/SWebvillee/orgs","repos_url":"https://api.github.com/users/SWebvillee/repos","events_url":"https://api.github.com/users/SWebvillee/events{/privacy}","received_events_url":"https://api.github.com/users/SWebvillee/received_events","type":"User","site_admin":false},"labels":[{"id":364925320,"url":"https://api.github.com/repos/DangLienMinh/webrtc_client/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-05-03T13:57:06Z","updated_at":"2018-04-24T07:07:52Z","closed_at":"2018-04-24T07:07:52Z","author_association":"NONE","body":"If we want to implement only audio calling then how to achieve that on receiving end. If at sending end we comment the following lines -  \r\n\r\nif (pcParams.videoCallEnabled) {\r\n            MediaConstraints videoConstraints = new MediaConstraints();\r\n            videoConstraints.mandatory.add(new MediaConstraints.KeyValuePair(\"maxHeight\", Integer.toString(pcParams.videoHeight)));\r\n            videoConstraints.mandatory.add(new MediaConstraints.KeyValuePair(\"maxWidth\", Integer.toString(pcParams.videoWidth)));\r\n            videoConstraints.mandatory.add(new MediaConstraints.KeyValuePair(\"maxFrameRate\", Integer.toString(pcParams.videoFps)));\r\n            videoConstraints.mandatory.add(new MediaConstraints.KeyValuePair(\"minFrameRate\", Integer.toString(pcParams.videoFps)));\r\n            videoSource = factory.createVideoSource(getVideoCapturer(), videoConstraints);\r\n            localMS.addTrack(factory.createVideoTrack(\"ARDAMSv0\", videoSource));\r\n        }\r\n![7e15e4b8-3006-11e7-95f2-2e39ca9fe36e](https://cloud.githubusercontent.com/assets/28294936/25663759/2a809642-3036-11e7-8274-0d1ec40bc26d.PNG)\r\n\r\n"}}
{"actor":{"display_login":"DangLienMinh"}}