Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

h.264 high is sent whether or not the option is enabled #25

Open
mondain opened this issue Aug 8, 2024 · 0 comments
Open

h.264 high is sent whether or not the option is enabled #25

mondain opened this issue Aug 8, 2024 · 0 comments

Comments

@mondain
Copy link

mondain commented Aug 8, 2024

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           ..([email protected]...
      }
      Buffer csd-1 = {
        00000000:  00 00 00 01 68 ee 0d 8b                           ....h...
      }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant