I have searched everywhere in the whole VLCJ project,only to find out the method to decode and play h264 stream.

The only available method is

boolean playMedia(String mrl, String... mediaOptions);

in which the MRL can be either a file path or a network address.

I use the udpsocket to receive real-time H264 byte stream and I hope that the VLCJ is able to provide the method to directly decode the byte stream and play.

So I hope I can use a method like

playStream(byte[],...)

没有正确的解决方案

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top