Setting up the decoder factory for the peer connection factory doesn't appear to regard the enableH264HighProfile
DefaultVideoEncoderFactory defaultVideoEncoderFactory =
new DefaultVideoEncoderFactory(eglContext, true, false);
peerConnectionFactory = PeerConnectionFactory.builder()
.setOptions(options)
.setVideoEncoderFactory(defaultVideoEncoderFactory)
.createPeerConnectionFactory();
In addition, the answer SDP also specifies the profile as 42e01f and the video packets will still contain high profile. How do I prevent this behavior?
Here the encoder detail
Buffer csd-0 = {
00000000: 00 00 00 01 67 64 00 34 ac b4 09 05 b4 d4 08 08 ....gd.4........
00000010: 08 1e 28 55 40 00 00 00 01 68 ee 0d 8b ..(U@....h...
}
Buffer csd-1 = {
00000000: 00 00 00 01 68 ee 0d 8b ....h...
}
Setting up the decoder factory for the peer connection factory doesn't appear to regard the
enableH264HighProfileIn addition, the answer SDP also specifies the profile as
42e01fand the video packets will still contain high profile. How do I prevent this behavior?Here the encoder detail