Search found 4 matches

by oviano
Sat Dec 12, 2020 4:55 am
Forum: Development Support
Topic: ATSC3/October code for hdhomerun_config and GUI
Replies: 3
Views: 1146

Re: ATSC3/October code for hdhomerun_config and GUI

Is the GitHub repo going to be updated with the newest source code? I made a modification to the C api allowing the video stream data to be optionally passed to the calling app via a callback, rather than writing to the ring buffer. This allows for more efficient usage of the API in some scenarios a...
by oviano
Mon Dec 07, 2020 9:54 am
Forum: Development Support
Topic: C API RTP - I can't see any code for dealing with packet re-ordering, is that correct?
Replies: 2
Views: 528

Re: C API RTP - I can't see any code for dealing with packet re-ordering, is that correct?

You don't get out of order packets on a LAN network... the code is detecting missing/dropped packets and keeping a count. Nick Well it's obviously less likely, but UDP doesn't guarantee packet order so I have to disagree with you there! Anyway, thanks for the clarification as to what the code is do...
by oviano
Sat Dec 05, 2020 2:34 am
Forum: Development Support
Topic: C API RTP - I can't see any code for dealing with packet re-ordering, is that correct?
Replies: 2
Views: 528

C API RTP - I can't see any code for dealing with packet re-ordering, is that correct?

Unless I've misread the code, it receives the UDP packets, strips the RTP header and just logs out-of-sequence packets. Below is after it has received a packet, calls parse_rtp: if (length == VIDEO_RTP_DATA_PACKET_SIZE) { hdhomerun_video_parse_rtp(vs, &pkt); length = pkt.end - pkt.pos; } if (length ...
by oviano
Wed Dec 02, 2020 12:40 pm
Forum: Development Support
Topic: C API question...
Replies: 0
Views: 1163

C API question...

Greetings I'm adding HDHomeRun support to my streaming project and I just have a small Q regarding using the C API. When changing the program filter, using hdhomerun_device_set_tuner_program(), at what point do the new packets received relate to the new filter? i.e. if I do this sequence: hdhomerun_...