Closed AMKaffiOS closed 7 years ago
It's software decoding by default (VP8 codec). In order to use hardware decoding with H264 you need to replace the order of codec priority in SDP. The appropriate code to do it can be found here.
Then just call it with needed argument:
let description = ARDSDPUtils.description(for: offerDescription, preferredVideoCodec: "H264")
And "VP8" if you need software decoding back.
What is the default mode of decoding,How do I choose hardware decoding or software decoding? thanks!