Code Monkey home page Code Monkey logo

Comments (5)

Meherdeep avatar Meherdeep commented on July 20, 2024 1

Hey @mrtordoide, Would you prefer a solution where we can offer a method to set your own VideoRenderMode in a SurfaceView?
https://pub.dev/documentation/agora_rtc_engine/latest/agora_rtc_engine/VideoRenderMode-class.html

from videouikit-flutter.

mrtordoide avatar mrtordoide commented on July 20, 2024

Yes, that will be great @Meherdeep. Thank you! But I reckon it will only work on mobile platforms right? Do you know if web implementation at dev/flutter2 support VideoRenderMode currently? I was unable to make it work.

from videouikit-flutter.

Meherdeep avatar Meherdeep commented on July 20, 2024

@mrtordoide VideoRenderMode is a property of the SurfaceView and is available for web as well. If you want to try it out you can fork the web branch and add a VideoRenderMode. https://github.com/AgoraIO-Community/Flutter-UIKit/tree/web

from videouikit-flutter.

mrtordoide avatar mrtordoide commented on July 20, 2024

@Meherdeep Thanks for your response. Could you please tell me where SurfaceView is used when I use Flutter UIKit? Isn't it only AgoraVideoViewer() widget that is required instead of SurfaceView widget?

from videouikit-flutter.

Meherdeep avatar Meherdeep commented on July 20, 2024

@mrtordoide You're correct. AgoraVideoViewer uses SurfaceView internally. If you want to add render mode then you will have to fork the repo and add VideoRenderMode over here: https://github.com/AgoraIO-Community/Flutter-UIKit/blob/main/lib/src/layout/grid_layout.dart#L32

from videouikit-flutter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.