Skip to content

Commit

Permalink
attempt to force rtmp not to send old media info
Browse files Browse the repository at this point in the history
  • Loading branch information
igorshevach committed Sep 15, 2024
1 parent 19c5a6c commit 37b1f5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transcoder/receiver_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ int clientLoop(receiver_server_t *server,receiver_server_session_t *session,tran
transcode_session_get_ack_frame_id(transcode_session,&current_position);
// TODO: we cheat here, received_frame_id may have not been persisted yet
// so we should make sure all of the frames are consumed ny upstream
current_position.frame_id = current_position.transcoded_frame_id = received_frame_id;
current_position.frame_id = current_position.transcoded_frame_id = received_frame_id + 1;
LOGGER(CATEGORY_RECEIVER,AV_LOG_INFO,"[%s] sending ack for packet # : %lld",session->stream_name,current_position.frame_id);
_S(KMP_send_ack(&session->kmpClient,&current_position));
}
Expand Down

0 comments on commit 37b1f5d

Please sign in to comment.