Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
FourierX9 opened this issue Jan 7, 2021 · 4 comments

Comments

@FourierX9
Copy link

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!

@akay777
Copy link

akay777 commented Jan 29, 2021

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

@FourierX9
Copy link
Author

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.

@akay777
Copy link

akay777 commented Jan 30, 2021

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.

@FourierX9
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants