12#ifndef INCLUDED_RTP_SOURCE_H
13#define INCLUDED_RTP_SOURCE_H
16#include <gnuradio/sync_block.h>
34 typedef std::shared_ptr<source<T>>
sptr;
36 static sptr make(
const std::string& mcast_address,
#define RTP_API
Definition api.h:19
Read stream from an RTP PCM stream, output gr_complex or interleaved shorts.
Definition source.h:31
virtual void set_ssrc(unsigned int ssrc)=0
virtual int get_channels() const =0
Return the number of input channels.
std::shared_ptr< source< T > > sptr
Definition source.h:34
virtual unsigned int get_ssrc() const =0
virtual int get_bits_per_sample() const =0
Return the number of bits per sample. the RTP stream.
static sptr make(const std::string &mcast_address, unsigned int ssrc, int in_channels=1, int out_channels=1, bool quiet=false)