Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Screen Shared not stretching video content properly #100

Open
dcf82 opened this issue Feb 1, 2022 · 2 comments
Open

Screen Shared not stretching video content properly #100

dcf82 opened this issue Feb 1, 2022 · 2 comments

Comments

@dcf82
Copy link

dcf82 commented Feb 1, 2022

Hi,

I'm testing the WebEx Android SDK, and tried to share content in a conference meeting, but saw that the sharing content video is not using the right aspect ratio & stretch the content properly, so I would like to know if I'm missing something when I set up the component.

Share

Thanks

@mpalkovi
Copy link

mpalkovi commented Feb 2, 2022

Can you share more details about your current usage? There is also an example here https://github.com/webex/webex-android-sdk#examples under step 8 for screensharing. You can also compare this with the Sample App provided here https://developer.webex.com/docs/sdks/android#complete-demo-app

@dcf82
Copy link
Author

dcf82 commented Feb 2, 2022

Hi, in fact this error is weird, because it happens just with the MediaRenderView for the share component only, so I'm sharing the screen of my iPhone, and see the content on my Android device, so as we know there is no major configuration setup required more than just like done in the sample code in Step 8 as you mentioned, my video configuration looks like this code,

........
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/screenShareContainer"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginEnd="8dp"
android:elevation="8dp"
android:visibility="invisible"
app:layout_constraintRight_toRightOf="@+id/remoteView"
app:layout_constraintTop_toBottomOf="@+id/localView"
tools:visibility="visible">

    <com.ciscowebex.androidsdk.phone.MediaRenderView
        android:id="@+id/screenShare"
        android:layout_width="60dp"
        android:layout_height="80dp"
        android:background="@drawable/border"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>

......

So I'm running on SDK version: 2.7.0.9-SNAPSHOT@aar

But yeah, I'm using same sample code you have with minor cosmetic changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants