request_receiving_async


Description:

public async bool request_receiving_async (Contact contact, bool receive) throws Error

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.

Parameters:

this

a CallStream

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 callback