Hi, I'm trying to use swift sdk, but I had a problem with working with a VideoPlayer.
I use:
public func setRenderTexture(_ texture: OpaquePointer) -> Void
But i cant convert texture id to OpaquePointer. The video plays, I hear its sound. But in place of the marker I see a black rectangle.
please see my code
var pointer:UnsafePointer<GLuint> = UnsafePointer([texture_id])
video_player?.setRenderTexture(OpaquePointer(pointer)).
Please tell me, how to set GLuint textureId as OpaquePointer in setRenderTexture.
Thank you.