Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS SDK - publishTimeoutError in capture #6360

Closed
mekya opened this issue May 25, 2024 · 0 comments
Closed

iOS SDK - publishTimeoutError in capture #6360

mekya opened this issue May 25, 2024 · 0 comments
Assignees

Comments

@mekya
Copy link
Contributor

mekya commented May 25, 2024

Publishing PixelBuffer: In iOS we are provided with this method for publishing pixelBuffer
"RTCCustomCapturer:capture(_ pixelBuffer: CVPixelBuffer, rotation:RTCVideoRotation, timeStampNs: Int64)".
Calling this method gives us "publishTimeoutError". We think this issue is due to scaling of pixelBuffer according to a target height, not happening. We had also modified the code of this method and had used scaling according to a target height and it was working.

This scaling of pixelBuffer is implemented in another capture method "RTCCustomCapturer:capture(_ sampleBuffer: CMSampleBuffer, externalRotation:Int = -1) " provided. We are able to publish with this method with the help of a sampleBuffer which we make from our pixelBuffer"

But we would prefer to use the first method as we handle pixel buffer in our camera pipeline and an additional step is involved in converting it to sample buffer. Can this change be accomodated?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants