MediaStreamContainer::clone Method |
||
| Creates a copy of the stream container, which is completely independent from the current object, but copies the internal state and data of the container. | ||
| Syntax: | smart_ptr<MediaStreamContainer> clone() const; |
|
| Return Value: | A copy of this media stream container. |
|
| Remarks: | You must not use one instance of MediaStreamContainer to create two independent MediaStreamSink objects. Use clone to duplicate the container before you create a second sink. |
|
| See also: | MediaStreamContainer, MediaStreamSink | |