I have created a demo app using mediasoup-ios-client.
I have compiled a WebRTC with hardware encoding / decoding h264 and I have compiled the Mediasoup library with this WebRTC but it is not working.
I check the codecs that WebRTC supports from my app:
let defaultRTC = RTCDefaultVideoDecoderFactory()
let defaultEncodeRTC = RTCDefaultVideoEncoderFactory()
for codec in defaultRTC.supportedCodecs() {
print(codec.name)
print(codec.parameters)
}
for codec in defaultEncodeRTC.supportedCodecs() {
print(codec.name)
print(codec.parameters)
}
I get the capabilities from our server and it supports h264 but when I pass them to Mediasoup it doesn’t load h264.
I have consulted the offer created by Mediasoup from the library and it doesn’t include h264.
How could I get Mediasoup to work with WebRTC and h264 codec from iOS?
Is it possible you have to do something in Mediasoup client or WebRTC to enable encoding / decoding h264 in iOS?
Hello.
I have created a demo app using mediasoup-ios-client.
I have compiled a WebRTC with hardware encoding / decoding h264 and I have compiled the Mediasoup library with this WebRTC but it is not working.
I check the codecs that WebRTC supports from my app:
LOGS
I get the capabilities from our server and it supports h264 but when I pass them to Mediasoup it doesn’t load h264.
I have consulted the offer created by Mediasoup from the library and it doesn’t include h264.
How could I get Mediasoup to work with WebRTC and h264 codec from iOS? Is it possible you have to do something in Mediasoup client or WebRTC to enable encoding / decoding h264 in iOS?