Hi to all,
I need to write a video streaming server, and to test it i try to render the stream byt vlc client. i'm using the JRTPLIB to send video packet. I set the maximum packet size with
Code: Select all
status=sessparams.SetMaximumPacketSize(LEN_BUFFER_TO_SEND);
'status' value return 'ok'. When i send a packet (len<LEN_BUFFER_TO_SEND)
Code: Select all
status = sess.SendPacket(pSampleBuffer,len);
status return 'ok', but if i check the sended packets with WireShark (network analyzer) , they are break in multiple data maybe by the network subsystem (Windoscket), perhaps for too length data. The first part of packet is 'read' as RTP packet, indeed the next packets are a normal UDP. If i try to send with VLC the same content, the packet is split in multiple subpackets and WireShark 'read' all packets in the right way -> RTP Packet.
Have someone experience about this scenario?
Thanks in advance.