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.
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.