rtsp-server: Switch around sendonly/recvonly attributes
authorSebastian Dröge <sebastian@centricular.com>
Mon, 22 Jan 2018 10:46:34 +0000 (12:46 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 16 Feb 2018 09:04:53 +0000 (11:04 +0200)
commit3d275b1345b76151418e3f56ed014d9089ac1a57
treeef701c464f0cc6d884f7cf16b3dc8b98dcc14161
parent72dc8acd86aba6b44b6a3ffdfa70218b3f312ad3
rtsp-server: Switch around sendonly/recvonly attributes

They are wrong in the ONVIF streaming spec. The backchannel should be
recvonly and the normal media should be sendonly: direction is always
from the point of view of the SDP offerer (the server) according to
RFC 3264.
gst/rtsp-server/rtsp-onvif-media.c