Crash app when close channel of MOP connection with OSDK
已完成I got issue when transfer data via MOP channel between OSDK and MSDK.
I use this function for reading msg in the loop:
let readData = pipeline.readData(256, error: nil)
When OSDK close channel, my app is crashed.
How can check channel is alive? or how can try catch the error at here?
Thank you so much !!!
-
Please have a look the MSDK MOP Sample fore reference. Link:https://github.com/DJI-Mobile-SDK-Tutorials/Android-MOPDemo
请先登录再写评论。
评论
2 条评论