How to get frame data in AppRTC iOS app for video modifications?
Just after posting the question I had a luck in finding the sneaky data!
You have to add the following property to RTCEAGLVideoView.h file:
@property(atomic, strong) RTCI420Frame* i420Frame;
In the original implementation file there is the i420Frame property but it wasn't exposed in the iOS project's header file for the class. Adding the property allows you to get view's current frame.
I'm still in search of a more elegant way of getting the stream data directly, without the need to look into remoteView contents, will update the answer once I find it.
iOS Webrtc - Crash in capturing local Video Stream
My bad! I was trying to create PeerConnectionFactory and LocalVideoTrack in worker thread! Problem solved when I moved those to main thread. I have uploaded apprtc version in Apprtc-Swift with description on this tutorial
Related Topics
Using Decodable with Inheritance Raises an Exception
Swift/Cloudkit: After Record Changed, Upload Triggers "Service Record Changed"
Avplayerviewcontroller Black Screen When Swiping on iOS 11
Is .Playground a Swift File? Who Can 'See' It
Delegate Property with Different Type in Swift
Xcode Playgrounds Shared Directory Not Working
Nsinvocationoperation' Is Unavailable in Xcode 6.1
Set Custom Uiview Frame in Uiviewrepresentable Swiftui
Swift Use Unicode Character in Localization.Strings
Swiftui View Does Not Updated When Observedobject Changed
Skspritenode Gets Hidden Below Parent Node
Phase 1 and Phase 2 Initialization in Swift
Class with Non-Optional Property Conforming to Protocol with Optional Property
Rotate a Text View and Its Frame in Swiftui
Nonfailable Enum Initializer with Default Value