RootEncoder-iOS icon indicating copy to clipboard operation
RootEncoder-iOS copied to clipboard

Text Overlay

Open bittuRichestsoft opened this issue 1 year ago • 7 comments

How to do text overlay during live streaming in iOS?

bittuRichestsoft avatar Mar 28 '24 11:03 bittuRichestsoft

Hello,

Currently it is not supported but I have plan to add it

pedroSG94 avatar Mar 28 '24 11:03 pedroSG94

Owner

if you ever plan to add it just allow us to add any view not just text please

prikshitgupta avatar Jul 15 '24 21:07 prikshitgupta

Hello,

I have plan to add the same filters than in Android. That include views, but I can't promise all filters because I don't know iOS limitations. All filters should be possible. I did a bit of investigation, but the possible ways that I found was no tested yet.

The idea is implement all features available in Android.

pedroSG94 avatar Jul 16 '24 08:07 pedroSG94

Hello,

I have plan to add the same filters than in Android. That include views, but I can't promise all filters because I don't know iOS limitations. All filters should be possible. I did a bit of investigation, but the possible ways that I found was no tested yet.

The idea is implement all features available in Android.

How i can check android filter?

wertpoiu avatar Jul 18 '24 23:07 wertpoiu

In swiftui every ui element is a view

wertpoiu avatar Jul 19 '24 02:07 wertpoiu

Hello, I have plan to add the same filters than in Android. That include views, but I can't promise all filters because I don't know iOS limitations. All filters should be possible. I did a bit of investigation, but the possible ways that I found was no tested yet. The idea is implement all features available in Android.

How i can check android filter?

You can compile the Android app example and open Rotation example. In that example you have a menu with all filters and you can test it

pedroSG94 avatar Jul 19 '24 08:07 pedroSG94

In swiftui every ui element is a view

That is the idea

pedroSG94 avatar Jul 19 '24 08:07 pedroSG94

This is currently possible using ViewFilterRender, You have an example in rtmp and rtsp example in the app sample code. I have plan to add a filter only for text but, for now, it is not necessary. Closing as solved. Open other issue if you find bugs or problems in the new filter

pedroSG94 avatar Aug 09 '24 21:08 pedroSG94

This is currently possible using ViewFilterRender, You have an example in rtmp and rtsp example in the app sample code. I have plan to add a filter only for text but, for now, it is not necessary. Closing as solved. Open other issue if you find bugs or problems in the new filter

Thank you for the update. It will not work with swiftui elements or view?

wertpoiu avatar Aug 09 '24 21:08 wertpoiu

For now, you only can create a UIView and use that UIView inside a swiftUI element like in the example. I will try add it in the future

pedroSG94 avatar Aug 09 '24 21:08 pedroSG94

For now, you only can create a UIView and use that UIView inside a swiftUI element like in the example. I will try add it in the future

Ok thank you, i didn’t see any clear example how i can place like simple text on camera?

wertpoiu avatar Aug 09 '24 21:08 wertpoiu

You have the example here: https://github.com/pedroSG94/RootEncoder-iOS/blob/master/app/RtmpSwiftUIView.swift#L131

pedroSG94 avatar Aug 09 '24 22:08 pedroSG94

You have the example here: https://github.com/pedroSG94/RootEncoder-iOS/blob/master/app/RtmpSwiftUIView.swift#L131

Ok thank you

wertpoiu avatar Aug 09 '24 22:08 wertpoiu