diff --git a/protocol/rtp/client.go b/protocol/rtp/client.go index ea6951cf..c5f3a998 100644 --- a/protocol/rtp/client.go +++ b/protocol/rtp/client.go @@ -42,7 +42,7 @@ type Client struct { // addr is the address of form : that we expect to receive // RTP at. func NewClient(addr string) (*Client, error) { - c := &Client{} + c := &Client{r: &PacketReader{}} a, err := net.ResolveUDPAddr("udp", addr) if err != nil {