Skip to content

Commit

Permalink
Buffer fill prints
Browse files Browse the repository at this point in the history
  • Loading branch information
QuantumEntangledAndy committed Apr 13, 2024
1 parent 350fc7d commit c92e289
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/rtsp/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,12 @@ async fn send_to_appsrc<E, T: Stream<Item = Result<StampedData, E>> + Unpin>(
appsrc.set_state(gstreamer::State::Playing).unwrap();
buffer_inited = true;
log::info!("Playing state on {}", appsrc.name());
} else if !buffer_inited {
log::info!(
"{} of {}",
appsrc.current_level_bytes(),
(appsrc.max_bytes() * 3 / 2)
);
}
}
AnyResult::Ok(())
Expand Down

0 comments on commit c92e289

Please sign in to comment.