Forum: Windows

Here is a forum space for SDK: Windows.

163. Incoming VideoPTT image can't be received

Hi

When VideoPtt is made from Android SDK, proptt works smoothly in mobile application. Videptt coming to the Windows SDK application is taken, but; image isn't available. 

When VideoPtt is done from Android SDK, the receiving Windows SDK does not fall into the "onTrackDataReceived" method.

We need your help in solving the problem.

Best Regards

Oct 11 '20 at 20:07 (GMT0) created by MEHMET KAPUSUZO?LU

 
Hi 
Did you set a preview window handle for VideoPTT?
ProPTT2.

Oct 12 '20 at 02:49 (GMT0) created by ProPTT2 dev

 
 
"Did you set a preview window handle for VideoPTT?" Yes it's set.

VideoPTT made from Proptt mobile application can be seen on windows SDK without any problem.

There is no problem in displaying the incoming videoshar by the Android SDK. It only falls on the "onLocked" method when doing VideoPtt. Then I handle the channel object with "setPlayView".
=>channel.setPlayView(cameraPanel.Handle)

Despite this, images can't be taken.

Oct 12 '20 at 06:44 (GMT0) created by MEHMET KAPUSUZO?LU

 
 
Then I handle the channel object with "setPlayView".
=>channel.setPlayView(cameraPanel.Handle)

In case of Windows SDK, it is not possible.
PlayView muse be set before locked.

ProPTT2.

Oct 12 '20 at 07:27 (GMT0) created by ProPTT2 dev

 
 
I guess there is a misunderstanding here. When it comes to the "OnLocked" method for the Windows SDK, I understand that videoptt comes. According to the incoming channel information, I make "setPlayView" to display it in my object.

With this method, I can get VideoPtt from proptt mobile and desktop applications without any problem. It doesn't even cause problems from a different windows SDK client.

I'm having this problem only in videoptt from android sdk.

Oct 12 '20 at 07:50 (GMT0) created by MEHMET KAPUSUZO?LU

 
 
Please note ProPTT2 PC client is using same SDK.
That means it would noe be a senario issue.
Please review your test case and your code.
ProPTT2

Oct 12 '20 at 07:58 (GMT0) created by ProPTT2 dev

 
 
This is removed.

Oct 13 '20 at 00:54 (GMT0) created by ProPTT2 dev

 
 
Then I handle the channel object with "setPlayView".
=>channel.setPlayView(cameraPanel.Handle)

In case of Windows SDK, it is not possible.
PlayView muse be set before locked.

ProPTT2.

Oct 12 '20 at 07:56 (GMT0) created by ProPTT2 dev