Skip to content
Discussion options

You must be logged in to vote

Hi, the final version that works, thank you so much, hats off to you!
I was able to realize what I had in mind, only I had to use MediaCapture from snapchat, this class has access to the buffer, which allowed me to send already processed data through your BufferVideoSource.

class SnapCameraSource(
    private val context: Context,
    private val apiToken: String = XXX-XXX-XXX-XXX",
    private val groupIds: String = "XXXX-XXXX-XXX",
) : VideoSource(), LifecycleOwner {

    private val lifecycleRegistry = LifecycleRegistry(this)
    private var running = false
    var session: Session? = null
    var imageProcessorSource: XImageProcessorSource? = null

    override fun create(width: Int, …

Replies: 7 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by pedroSG94
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants