My work is like the following:
Before streaming a video, the type, size and start address of each NAL unit is extracted using H.264 bitstream parser.
During streaming, a single NAL unit is encapsulated into one RTP packet.
My question: I need to use the extracted NAL unit's information as input to a mux so this mux could determine whether an RTP packet contains a specific NAL unit type such as PPS. If so, it will steer it to a TCP tunnel else, the RTP packet will be steered to a UDP tunnel.
FYI : I'm using OEFMON which integrates Qualnet and Directshow Any help will be appreciated.