Request that a remote contact stops or starts sending on this stream.
The can_request_receiving property defines whether the protocol allows the local user to request the other side start sending on this stream.
If receive
is true
, request that the given contact starts to send media. If receive
is false
, request that the given contact stops sending media.
this | |
contact |
contact from which sending is requested |
receive |
the requested receiving state |
callback |
a callback to call when the operation finishes |
user_data |
data to pass to |