Sad Tux - Windows bias detected
This page contains Windows bias

About This Page

This page is part of the Azure documentation. It contains code examples and configuration instructions for working with Azure services.

Bias Analysis

Detected Bias Types
windows_first
windows_tools
missing_linux_example
Summary
The documentation exhibits Windows bias primarily in the prerequisites and resource links. The link to creating an Azure Communication Services resource includes a 'tabs=windows' parameter, suggesting a Windows-first approach. The reference for learning about WebSockets points to a Windows Azure-specific blog post, and there are no Linux-specific instructions or examples. No Linux or cross-platform guidance is provided for setting up the environment or running the Python code, and there are no mentions of Linux tools or commands.
Recommendations
  • Provide Linux-specific or cross-platform instructions and links alongside or before Windows-specific ones.
  • Update the 'Create an Azure Communication Services resource' link to either default to a neutral tab or include both Windows and Linux tabs.
  • Include references to cross-platform or Linux-specific WebSocket server setup guides, not just Windows Azure resources.
  • Explicitly state that the Python code samples are cross-platform and provide any necessary Linux-specific setup notes (e.g., package installation, firewall configuration).
  • Ensure all external documentation links are either cross-platform or have clear Linux equivalents.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2025-07-12 23:44 #41 cancelled Biased Biased
2025-07-12 00:58 #8 cancelled Clean Clean
2025-07-10 05:06 #7 processing Clean Clean

Flagged Code Snippets

When Azure Communication Services receives the URL for your WebSocket server, it establishes a connection to it. Once the connection is successfully made, streaming is initiated.

### Start streaming audio to your webserver while a call is in progress
To start media streaming during the call, you can use the API. To do so, set the `startMediaStreaming` parameter to `false` (which is the default), and later in the call, you can use the start API to enable media streaming.

The first packet you receive contains metadata about the stream, including audio settings such as encoding, sample rate, and other configuration details.

### Additional Headers
The Correlation ID and Call Connection ID are now included in the WebSocket headers for improved traceability `x-ms-call-correlation-id` and `x-ms-call-connection-id`. These are sent when Azure Communication Services tries to connect to your endpoint.