diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-01-06 08:07:56 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-01-06 08:07:56 +0100 |
commit | 0f900a2b4d7707dddeddadd62ac5a109aed93e7e (patch) | |
tree | c7b125951de8d4e6ee045449d03b3772e84f8bac /src/rtp_profile_opus.cc | |
parent | 06cd551da9405a220b170ffaf77d6554cbace69d (diff) |
Fix round robin frame selector. Add l16 and jpeg profiles. Add timestamp to lrtp_enqueue_frame.
Diffstat (limited to 'src/rtp_profile_opus.cc')
-rw-r--r-- | src/rtp_profile_opus.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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<outputframe_t *> &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); |