Skip to content

NAL_PREFIX constant from h264 class is not used in Packetizer class #581

@jagagit

Description

@jagagit

DePacketizer class from org.jitsi.impl.neomedia.codec.video.h264 package is creating NAL unit with start code from H264 class
static final byte[] NAL_PREFIX = {0, 0, 0, 1}; . But, In Packetizer class, 3 bytes start code ({0, 0,1}) only considered to find out NAL unit packets from stream.

We should use same "NAL_PREFIX" (4 bytes) constant should be used in Packetizer to avoid confusion

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