diff --git a/CHANGELOG.md b/CHANGELOG.md
index aa577f7..3b94446 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,7 @@
## unreleased
* warn when connecting via TCP to a known-broken live555 server version.
+* improve compatibility with Geovision cameras (work in progress).
## `v0.3.0` (2021-08-31)
diff --git a/src/client/rtp.rs b/src/client/rtp.rs
index ae4742a..c557bfe 100644
--- a/src/client/rtp.rs
+++ b/src/client/rtp.rs
@@ -4,15 +4,17 @@
//! RTP and RTCP handling; see [RFC 3550](https://datatracker.ietf.org/doc/html/rfc3550).
use bytes::{Buf, Bytes};
-use log::trace;
+use log::{debug, trace};
use pretty_hex::PrettyHex;
use crate::client::PacketItem;
-use crate::{Error, ErrorInt};
+use crate::{ConnectionContext, Error, ErrorInt, PacketContext};
+
+use super::{SessionOptions, Timeline};
/// A received RTP packet.
pub struct Packet {
- pub ctx: crate::PacketContext,
+ pub ctx: PacketContext,
pub stream_id: usize,
pub timestamp: crate::Timestamp,
pub ssrc: u32,
@@ -51,7 +53,7 @@ impl std::fmt::Debug for Packet {
#[derive(Debug)]
pub struct SenderReport {
pub stream_id: usize,
- pub ctx: crate::PacketContext,
+ pub ctx: PacketContext,
pub timestamp: crate::Timestamp,
pub ntp_timestamp: crate::NtpTimestamp,
}
@@ -88,10 +90,10 @@ impl InorderParser {
pub fn rtp(
&mut self,
- session_options: &super::SessionOptions,
- conn_ctx: &crate::ConnectionContext,
- pkt_ctx: &crate::PacketContext,
- timeline: &mut super::Timeline,
+ session_options: &SessionOptions,
+ conn_ctx: &ConnectionContext,
+ pkt_ctx: &PacketContext,
+ timeline: &mut Timeline,
stream_id: usize,
mut data: Bytes,
) -> Result