Skip to content
  • Kristofer's avatar
    rtsp-client: RTP Info when completed_sender · 4bad948e
    Kristofer authored and Tim-Philipp Müller's avatar Tim-Philipp Müller committed
    Change condition that should be fulfilled regarding RTPInfo.
    Replace !gst_rtsp_media_is_receive_only with
    gst_rtsp_media_has_completed_sender. It is more correct to actually look
    for a sender pipeline that is complete. Only then a RTPInfo should
    exist.
    
    gst_rtsp_media_is_receive_only gives different answears depending on
    state of server.
    If Describe is called wth URL+options for backchannel SDP will give only
    audio and only backchannel a=sendonly
    If Describe is called on URL+options that gives both audio and video
    direction from server to client, pipelines are created. Thus
    receive_only will return false, even though Setup only would setup
    backchannel.
    
    RTP-Info is only for outgoing streams. Thus one should look if outgoing
    streams are complete.
    4bad948e