I'm using VLC to stream H.264 videos encapsulated in MPEG2-TS. I would like to try out incorporating x264_encoder_intra_refresh() in VLC.
Assuming I have a feedback channel, everytime if the client senses packet loss, it sends a signal to server VLC which then do x264_encoder_intra_refresh. Is this the right way to do it?
How about x264_encoder_invalidate_reference()? From the x264 header it seems I need to know the pts. How do I know what/which pts of the reference frames to invalidate? Thanks.