Revert "rtsp-server: Switch around sendonly/recvonly attributes"
authorSebastian Dröge <sebastian@centricular.com>
Tue, 17 Apr 2018 14:47:30 +0000 (17:47 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 17 Apr 2018 14:50:05 +0000 (17:50 +0300)
commit9f5d3ee7a8ccf92b883e9e6a31151cb3d45bf7a9
tree1bbdd9f48ca484fce176ba0bddfcf46389b82563
parentd49edc5582fa701d981ad0b98d76fe445e09bb38
Revert "rtsp-server: Switch around sendonly/recvonly attributes"

This reverts commit 3d275b1345b76151418e3f56ed014d9089ac1a57.

While RFC 3264 (SDP) says that sendonly/recvonly are from the point of view of
the requester, the actual RTSP RFCs (RFC 2326 / 7826) disagree and say
the opposite, just like the ONVIF standard.

Let's follow those RFCs as we're doing RTSP here, and add a property at
a later time if needed to switch to the SDP RFC behaviour.

https://bugzilla.gnome.org/show_bug.cgi?id=793964
gst/rtsp-server/rtsp-onvif-media.c