Add media constraint-key constants for generating offers and answers
Similar to the existing constants for the media constraint-keys intended for media sources, add the constants for the standard keys to generate offers and answers. This patch also adds a few comments to RTCMediaConstraints.h, to give a better clue on the intended usage scope of declared media-constraint keys and values. BUG=webrtc:7722 Review-Url: https://codereview.webrtc.org/2908013002 Cr-Commit-Position: refs/heads/master@{#18362}
This commit is contained in:
committed by
Commit Bot
parent
dacac34cfb
commit
7b3eca9940
@ -35,6 +35,15 @@ NSString * const kRTCMediaConstraintsLevelControl =
|
||||
NSString * const kRTCMediaConstraintsAudioNetworkAdaptorConfig =
|
||||
@(webrtc::MediaConstraintsInterface::kAudioNetworkAdaptorConfig);
|
||||
|
||||
NSString * const kRTCMediaConstraintsIceRestart =
|
||||
@(webrtc::MediaConstraintsInterface::kIceRestart);
|
||||
NSString * const kRTCMediaConstraintsOfferToReceiveAudio =
|
||||
@(webrtc::MediaConstraintsInterface::kOfferToReceiveAudio);
|
||||
NSString * const kRTCMediaConstraintsOfferToReceiveVideo =
|
||||
@(webrtc::MediaConstraintsInterface::kOfferToReceiveVideo);
|
||||
NSString * const kRTCMediaConstraintsVoiceActivityDetection =
|
||||
@(webrtc::MediaConstraintsInterface::kVoiceActivityDetection);
|
||||
|
||||
NSString * const kRTCMediaConstraintsValueTrue =
|
||||
@(webrtc::MediaConstraintsInterface::kValueTrue);
|
||||
NSString * const kRTCMediaConstraintsValueFalse =
|
||||
|
||||
Reference in New Issue
Block a user