File tree Expand file tree Collapse file tree 2 files changed +0
-21
lines changed 
sdk/communication/Azure.Communication.NetworkTraversal Expand file tree Collapse file tree 2 files changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -83,24 +83,6 @@ foreach (CommunicationIceServer iceServer in iceServers)
8383}
8484``` 
8585
86- ## Getting a Relay Configuration for a user without identity async  
87- 
88- ``` C#  Snippet:GetRelayConfigurationAsyncWithoutIdentity
89- Response < CommunicationRelayConfiguration >  relayConfiguration  =  await  client .GetRelayConfigurationAsync ();
90- DateTimeOffset  turnTokenExpiresOn  =  relayConfiguration .Value .ExpiresOn ;
91- IReadOnlyList < CommunicationIceServer >  iceServers  =  relayConfiguration .Value .IceServers ;
92- Console .WriteLine ($" Expires On: {turnTokenExpiresOn }" 
93- foreach  (CommunicationIceServer  iceServer  in  iceServers )
94- {
95-     foreach  (string  url  in  iceServer .Urls )
96-     {
97-         Console .WriteLine ($" ICE Server Url: {url }" 
98-     }
99-     Console .WriteLine ($" ICE Server Username: {iceServer .Username }" 
100-     Console .WriteLine ($" ICE Server Credential: {iceServer .Credential }" 
101- }
102- ``` 
103- 
10486## Troubleshooting  
10587
10688>  TODO
Original file line number Diff line number Diff line change @@ -100,8 +100,6 @@ public async Task GetRelayConfigurationAsyncWithoutIdentity()
100100            //@@var connectionString = "<connection_string>"; 
101101            var  client  =  new  CommunicationRelayClient ( connectionString ) ; 
102102            client  =  CreateClientWithConnectionString ( ) ; 
103- 
104-             #region Snippet:GetRelayConfigurationAsyncWithoutIdentity
105103            Response < CommunicationRelayConfiguration >  relayConfiguration  =  await  client . GetRelayConfigurationAsync ( ) ; 
106104            DateTimeOffset  turnTokenExpiresOn  =  relayConfiguration . Value . ExpiresOn ; 
107105            IReadOnlyList < CommunicationIceServer >  iceServers  =  relayConfiguration . Value . IceServers ; 
@@ -115,7 +113,6 @@ public async Task GetRelayConfigurationAsyncWithoutIdentity()
115113                Console . WriteLine ( $ "ICE Server Username: { iceServer . Username } ") ; 
116114                Console . WriteLine ( $ "ICE Server Credential: { iceServer . Credential } ") ; 
117115            } 
118-             #endregion Snippet:GetRelayConfigurationAsyncWithoutIdentity
119116        } 
120117
121118        [ Test ] 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments