// A Call represents a two-way connection carrying zero or more outgoing // and incoming media streams, transported over one or more RTP transports.
// A Call instance can contain several send and/or receive streams. All streams // are assumed to have the same remote endpoint and will share bitrate estimates // etc.
// When using the PeerConnection API, there is an one to one relationship // between the PeerConnection and the Call.
// In order for a created VideoReceiveStreamInterface to be aware that it is // protected by a FlexfecReceiveStream, the latter should be created before // the former. virtual FlexfecReceiveStream* CreateFlexfecReceiveStream( const FlexfecReceiveStream::Config config) = 0; virtualvoid DestroyFlexfecReceiveStream(
FlexfecReceiveStream* receive_stream) = 0;
// When a resource is overused, the Call will try to reduce the load on the // sysem, for example by reducing the resolution or frame rate of encoded // streams. virtualvoid AddAdaptationResource(scoped_refptr<Resource> resource) = 0;
// All received RTP and RTCP packets for the call should be inserted to this // PacketReceiver. The PacketReceiver pointer is valid as long as the // Call instance exists. virtual PacketReceiver* Receiver() = 0;
// This is used to access the transport controller send instance owned by // Call. The send transport controller is currently owned by Call for legacy // reasons. (for instance variants of call tests are built on this assumtion) // TODO(srte): Move ownership of transport controller send out of Call and // remove this method interface. virtual RtpTransportControllerSendInterface* GetTransportControllerSend() = 0;
// Returns the call statistics, such as estimated send and receive bandwidth, // pacing delay, etc. virtual Stats GetStats() const = 0;
// TODO(skvlad): When the unbundled case with multiple streams for the same // media type going over different networks is supported, track the state // for each stream separately. Right now it's global per media type. virtualvoid SignalChannelNetworkState(MediaType media,
NetworkState state) = 0;
virtualvoid OnAudioTransportOverheadChanged(
int transport_overhead_per_packet) = 0;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.