Skip to content

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

@mondain

Description

@mondain

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...
      }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions