You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: