there is comment from our expert:
There is only one limitation for feeding data to the decoder. Input data should have integer numbers of nal units.
On the other hand you can use UMC splitters (demuxer or h264_spl) for construction input data. In this case you should implement DataReader interface for reading data from network by rtp. UMC splitters use DataReader for getting next portion of data.