Skip to content
  • John Lin's avatar
    Bug 1662507 - don't use mEncoder outside webrtc.org thread. r=jya, a=RyanVM · 00a17733
    John Lin authored
        Dispatching the `MediaDataEncoder::Encode()` invocation is not really
        necessary because the callback is desinated to run in task queue anyway.
        Also make `Shutdown()` wait for completion to make sure resource is
        released before next allocation.
    
    Includes parts from:
    * Bug 1662514 - Take mCallbackMutex when accessing mError.
    * Bug 1662540: Remove unused member.
    * Bug 1640416 - p5: run WebrtcMediaDataEncoder and the platform encoder in different thread pools/task queues.
    00a17733