PeerConnectionFactoryDependencies changes how media support is enabled

If you are creating PeerConnectionFactory using CreateModularPeerConnectionFactory, you would need to change how media related dependencies are injected.

If you do not use media (i.e. data channel only peer connection), no change is needed.

With this change following is deprecated and will be removed:

`call_factory` and `media_engine` members in 

webrtc::PeerConnectionFactoryDependencies.

webrtc::CreateCallFactory and cricket::CreateMediaEngine functions

struct cricket::MediaEngineDependencies

function webrtc::SetMediaEngineDefaults

test specific helper CreateTimeControllerBasedCallFactory

Example how code can be transformed to use `EnableMedia`:

Example how code can be transformed from using SetMediaEngineDefaults to use `EnableMediaWithDefaults`:

Read more here: Source link