Forum: Android

Here is a forum space for SDK: Android.

170. VideoPTT image can't be received

Hello;

When videoptt is done, image is displayed in mobile proptt application; it doesn't appear in the desktop proptt application. 

Does any extra setting need to be made when sending to desktop?

Oct 12 '20 at 13:55 (GMT0) created by MEHMET KAPUSUZO?LU

 
There is no extra setting for PC client.
ProPTT2.

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

 
 
It works well with other Android SDK clients and mobile proptt application. Can you help with the reason why the videoptt image is not coming to the Windows SDK client?

Oct 13 '20 at 16:53 (GMT0) created by MEHMET KAPUSUZO?LU

 
 
We could not support your code debugging.
But we will consider to prepare a video ptt sample project for windows.
Thanks,
ProPTT2

Oct 14 '20 at 00:05 (GMT0) created by ProPTT2 dev

 
 
We have added the VideoPTT sample project for Windows.
We didn't find any issue.
Please visit to https://dev.proptt2.com/account-download.php
ProPTT2.

Oct 16 '20 at 06:45 (GMT0) created by ProPTT2 dev

 
 
I've reviewed your Windows application but the problem persists.

VideoPtt notification is coming but; Video data can't be displayed because it isn't received.

Oct 22 '20 at 13:49 (GMT0) created by MEHMET KAPUSUZO?LU

 
 
Sorry, we could not understand what the reason of your issue is.
The sample work well.
I guess the reason is another where.
But we could not know it.
Regards,
ProPTT2

Oct 22 '20 at 14:16 (GMT0) created by ProPTT2 dev

 
 
Hello again;

pttChannel = pttService.getChannelList().get(channelID);

        if(pttChannel != null)
        {
            pttChannel.setEnableSendAudio(false);
            pttChannel.setEnablePlayAudio(false);

            pttChannel.setAudioManager(new IAudioManager() {
                @Override
                public int isInitialized() {
                    return 1;
                }
                @Override
                public int getType() {
                    return 0;
                }
                @Override
                public int setEventHandler(IAudioManagerEvent ?AudioManagerEvent) {
                    return 0;
                }
                @Override
                public int configure(int i, int i1, int i2) {
                    return 0;
                }
                @Override
                public int start() {
                    return 0;
                }
                @Override
                public int stop() {
                    return 0;
                }
                @Override
                public int write(byte[] bytes, int i, long l) {
                    return 0;
                }
            });

            TextView textTitleChannelName = (TextView)findViewById(R.id.text_title_channel_name);
            textTitleChannelName.setText(pttChannel.getChannelName());

            pttChannel.join();


When we use "setAudioManager" as above, the video coming from Android doesn't come to windows apk or proptt2 console except mobile devices.

Respects

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