RTSP-Client-Server icon indicating copy to clipboard operation
RTSP-Client-Server copied to clipboard

In the constructor of RTPpacket.java why don't we construct Ssrc according to byte[] packet

Open FourierX9 opened this issue 5 years ago • 4 comments

Hi! I think in the constructor of an RTPpacket object from the packet bistream, the Ssrc needs to be built. As I am working on a protocal called GB28181, I need to identify the video stream from different cameras through Ssrc. And I think it can be built from 8th, 9th, 10th, 11th bit in the header[], which is a little bit similiar to building the TimeStamp. Thanks!

FourierX9 avatar Jan 07 '21 06:01 FourierX9

I'm getting indexarrayoutofbound exception, can you please tell hoe can it be resolved?

akay777 avatar Jan 29 '21 11:01 akay777

Hi! Actually I have never run this project. I am learning how to unpack a RTP packet and build my own project. So I have not met the same problem as yours. Concerning your problem, I think we might have to check the header of the packet you received. If it do not have the 8th-11th bit in the header then you might meet an exception.

FourierX9 avatar Jan 30 '21 10:01 FourierX9

Ok. Firstly,Thank you for helping. Can you please tell that what are other protocols other than webRTC that I should consider for video streaming comparison..like protocols that are as good as webRTC or not better that webRTC but better than others.

akay777 avatar Jan 30 '21 14:01 akay777

Maybe FLV? In my project, we use FLV to send video stream to user. But I have never compared it with WebRTC.

FourierX9 avatar Jan 31 '21 04:01 FourierX9