예제 #1
0
        private void PrepareLocalMedia()
        {
            // We will offer local audio and video when we connect to room.

            // Adding local audio track to localMedia
            if (localAudioTrack == null)
            {
                localAudioTrack = localMedia.AddAudioTrack(true);
            }

            // Adding local video track to localMedia and starting local preview if it is not already started.
            //if (localMedia.VideoTracks.Length == 0) {
            //	StartPreview ();
            //}
        }
 private void PrepareLocalMedia()
 {
     localMedia      = new LocalMedia();
     localAudioTrack = localMedia.AddAudioTrack(true);
 }