From 0f900a2b4d7707dddeddadd62ac5a109aed93e7e Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Mon, 6 Jan 2014 08:07:56 +0100 Subject: Fix round robin frame selector. Add l16 and jpeg profiles. Add timestamp to lrtp_enqueue_frame. --- src/rtp_profile_opus.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/rtp_profile_opus.cc') diff --git a/src/rtp_profile_opus.cc b/src/rtp_profile_opus.cc index 102d175..3fc0de9 100644 --- a/src/rtp_profile_opus.cc +++ b/src/rtp_profile_opus.cc @@ -144,13 +144,14 @@ int profile_opus_unpack(struct lrtp_profile_t *profile, const RTP &rtp, std::list &framelist) { - struct lrtp_profile_opus_t *p = (struct lrtp_profile_opus_t *)profile; + //struct lrtp_profile_opus_t *p = (struct lrtp_profile_opus_t *)profile; outputframe_t *of = new outputframe_t(); of->size = rtp.payloadSize(); char *buf = (char*)malloc(of->size); of->size = rtp.payload(buf, of->size); of->data = buf; + of->ts = rtp.timestamp(); framelist.push_back(of); -- cgit v1.2.3