Example #1
0
        public MediaStreamConstraints(bool audio, MediaConstraints video)
        {
            Audio            = audio;
            AudioConstraints = null;

            Video            = true;
            VideoConstraints = video;
        }
Example #2
0
        public MediaStreamConstraints(MediaConstraints audio, MediaConstraints video)
        {
            Audio            = true;
            AudioConstraints = audio;

            Video            = true;
            VideoConstraints = video;
        }
Example #3
0
        public MediaStreamConstraints(MediaConstraints audio, bool video)
        {
            Audio            = true;
            AudioConstraints = audio;

            Video            = video;
            VideoConstraints = null;
        }