mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00
[InsertableStreams] Pass ssrc on TransformedFrameCallback registration.
Add new methods in the FrameTransformerInterfaces, passing the ssrc on registering the transformed frame callback, to associate separate frame transformer sinks for each ssrc. Same for unregister. Bug: chromium:1065838 Change-Id: I8a406815e9d0cce5199f9df06c286d8b10d75b4d Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/173183 Commit-Queue: Marina Ciocea <marinaciocea@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Magnus Flodman <mflodman@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31047}
This commit is contained in:
parent
9f0b36c461
commit
fdabfbc334
1 changed files with 6 additions and 2 deletions
|
@ -101,8 +101,12 @@ class FrameTransformerInterface : public rtc::RefCountInterface {
|
|||
std::unique_ptr<TransformableFrameInterface> transformable_frame) {}
|
||||
|
||||
virtual void RegisterTransformedFrameCallback(
|
||||
rtc::scoped_refptr<TransformedFrameCallback>) = 0;
|
||||
virtual void UnregisterTransformedFrameCallback() = 0;
|
||||
rtc::scoped_refptr<TransformedFrameCallback>) {}
|
||||
virtual void RegisterTransformedFrameSinkCallback(
|
||||
rtc::scoped_refptr<TransformedFrameCallback>,
|
||||
uint32_t ssrc) {}
|
||||
virtual void UnregisterTransformedFrameCallback() {}
|
||||
virtual void UnregisterTransformedFrameSinkCallback(uint32_t ssrc) {}
|
||||
|
||||
protected:
|
||||
~FrameTransformerInterface() override = default;
|
||||
|
|
Loading…
Reference in a new issue