ADL.ConnectionDescription.toJSON C# (CSharp) Method

toJSON() private method

private toJSON ( ) : string
return string
        internal string toJSON()
        {
            string json = String.Format(@"{{""videoStream"": {0},
            ""autopublishVideo"": {1}, ""autopublishAudio"": {2}, ""url"": ""{3}"", ""scopeId"": ""{4}"",
            ""authDetails"": {5}}}", videoStream.toJSON(), lowercaseBool(autopublishVideo),
                     lowercaseBool(autopublishAudio), url, scopeId, authDetails.toJSON());

            return json;
        }