linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] Support packetization-mode=0 in H.264 When Using i


From: Li Qian
Subject: [Linphone-developers] Support packetization-mode=0 in H.264 When Using iOS VideoToolbox
Date: Fri, 18 Nov 2016 16:25:01 +0800

Dear Linphone developers,

When using Linphone iOS app, with the iOS native H.264 encoder/decoder which uses VideoToolbox.framework, when call to some video phone model, it is one way video. The video phone cannot see the video, but Linphone iOS can see the video.

After hours of investigation, I found out that, when using VideoToolbox.framework to encode the video, it will call

rfc3984_set_mode(&ctx->packer_ctx, 1);

to tell the RTP packer to do fragmentation, i.e. packetization-mode=1, which results in FU-A packets. I compared the WireShark capture, I think those video phones which cannot see the video may not support that mode. So, I tried to do

rfc3984_set_mode(&ctx->packer_ctx, 0);
ctx->packer_ctx.maxsz = INT_MAX;

and hoping that IP layer can take care of the fragmentation if necessary. Then the video quality becomes very bad...

Is it possible to make the encoder to support packetization-mode=0 while still having the good performance when using VideoToolbox.framework?

Looking forward to your reply.

Best Regards,
Li

reply via email to

[Prev in Thread] Current Thread [Next in Thread]