Hi Greg,
I found it will run without error even if VBR: using kVTVideoEncoderSpecification_EnableLowLatencyRateControl with:
VTSessionSetProperties(compressionSession, propertyDictionary: [kVTCompressionPropertyKey_ConstantBitRate: bitrate] as CFDictionary)
And it will get error -12900 if set kVTVideoEncoderSpecification_EnableLowLatencyRateControl with:
VTSessionSetProperty(compressionSession, key: kVTCompressionPropertyKey_ConstantBitRate, value: bitrate as CFNumber)
[quote='857413022, DTS Engineer, /thread/799459?answerId=857413022#857413022']
Are you saying that it has no effect in the sample code you linked to, or in a separate project you have?
[/quote]
I tried the sample code, and the first several frames were too large and exceeded the size limit. But the following frames seem okay, close to the data rate limit.
For low latency live streaming, would you recommend using ABR rather than CBR?
Topic:
Media Technologies
SubTopic:
Streaming
Tags: