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

PPS and SPS packets want to send every 10 seconds #289

Open
rajcooltyagi opened this issue Jun 3, 2019 · 0 comments
Open

PPS and SPS packets want to send every 10 seconds #289

rajcooltyagi opened this issue Jun 3, 2019 · 0 comments

Comments

@rajcooltyagi
Copy link

H264Packetizer.java

if (type == 5 && sps != null && pps != null) {
buffer = socket.requestBuffer();
socket.markNextPacket();
socket.updateTimestamp(ts);
System.arraycopy(stapa, 0, buffer, rtphl, stapa.length);
super.send(rtphl + stapa.length);
}

Above code executing every 65-66 seconds in my device I want to execute it every 10 seconds. I tried by adding interval manually but it not working because packets not there for pps and sps at that time. So anybody please tell me how can I achieve this.

Thanks.

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

1 participant