diff options
Diffstat (limited to 'gst/rtpmanager/gstrtpsession.c')
-rw-r--r-- | gst/rtpmanager/gstrtpsession.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/gst/rtpmanager/gstrtpsession.c b/gst/rtpmanager/gstrtpsession.c index 043a8794d..367c0f073 100644 --- a/gst/rtpmanager/gstrtpsession.c +++ b/gst/rtpmanager/gstrtpsession.c @@ -946,30 +946,6 @@ gst_rtp_session_clear_pt_map (GstRtpSession * rtpsession) g_hash_table_foreach_remove (rtpsession->priv->ptmap, return_true, NULL); } -/* called when the session manager has an RTP packet or a list of packets - * ready for further processing */ -static GstFlowReturn -gst_rtp_session_process_rtp (RTPSession * sess, RTPSource * src, - GstBuffer * buffer, gpointer user_data) -{ - GstFlowReturn result; - GstRtpSession *rtpsession; - GstRtpSessionPrivate *priv; - - rtpsession = GST_RTP_SESSION (user_data); - priv = rtpsession->priv; - - if (rtpsession->recv_rtp_src) { - GST_LOG_OBJECT (rtpsession, "pushing received RTP packet"); - result = gst_pad_push (rtpsession->recv_rtp_src, buffer); - } else { - GST_DEBUG_OBJECT (rtpsession, "dropping received RTP packet"); - gst_buffer_unref (buffer); - result = GST_FLOW_OK; - } - return result; -} - /* called when the session manager has an RTP packet ready for further * sending */ static GstFlowReturn |