{ "id": "169799", "key": "TIMOB-25296", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2017-09-15T18:53:21.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "escalation" ], "versions": [], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-10-05T22:31:52.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h5. Issue Description \r\n\r\nSo we have this 3rd party SDK that allows our app to do Live Streaming videos. We've successfully integrated it on iOS, and we're looking forward to integrate it with Android as well. One of the requirements that the SDK has for working is that it needs an instance of Surface View - to display a camera preview from where to broadcast the stream signal. On iOS it only needed an instance of UIView, which was accomplished by passing on a TiUIProxyView object to an iOS Titanium Module, that could be casted to UIView. However we couldn't find a way to do so on Android - seems like TiUIProxyView cannot be casted to Surface View object. So the question is: can titanium handle / create Surface Views for Android and pass them to an Android Titanium Module somehow ? ", "attachment": [], "flagged": false, "summary": "Help on using an 3rd-p SDK with Android that requires Surface V", "creator": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "428276", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "To retrieve the native component of a {{TiViewProxy}} you can do the following:\r\n\r\n{code}\r\nTiViewProxy.peekView() // returns TiUIView\r\nTiUIView.getNativeView() // returns View\r\n{code}", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-09-21T18:07:53.000+0000", "updated": "2017-09-21T18:07:53.000+0000" }, { "id": "428763", "author": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Ok Gary thanks ! I will let you know the results. ", "updateAuthor": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-05T22:31:52.000+0000", "updated": "2017-10-05T22:31:52.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }