We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa742af commit cd8d922Copy full SHA for cd8d922
crates/nodes/src/transport/moq/pull.rs
@@ -718,8 +718,16 @@ impl MoqPullNode {
718
);
719
return Ok(StreamEndReason::Natural);
720
},
721
+ Err(moq_lite::Error::Cancel) => {
722
+ tracing::debug!(
723
+ session_packet_count,
724
+ total_packet_count = *total_packet_count,
725
+ "Track read cancelled"
726
+ );
727
+ return Ok(StreamEndReason::Reconnect);
728
+ },
729
Err(e) => {
- tracing::error!("Error reading from track: {}", e);
730
+ tracing::error!(error = %e, session_packet_count, "Error reading from track");
731
if session_packet_count > 0 {
732
tracing::warn!(
733
"Track ended unexpectedly after {} packets - will retry",
0 commit comments