-
Notifications
You must be signed in to change notification settings - Fork 637
WebRTC Error Callback Messages
This documentation is for developers who need to callbacks and their descriptions for WebRTC operations.
{
command : "error",
definition : "notSetLocalDescription",
}
Description : It is send when local description is not set successfully",
-
WebSocketNotSupported
: WebSocket connection is not supported for environment or connection is not in the correct state. -
AbortError
: Although the user and operating system both granted access to the hardware device, and no hardware issues occurred that would cause a NotReadableError, some problem occurred which prevented the device from being used. -
NotAllowedError
: The user has specified that the current browsing instance is not permitted access to the device, or the user has denied access for the current session, or the user has denied all access to user media devices globally.
"NotFoundError"
Reason: No media tracks of the type specified were found that satisfy the given constraints.
"OverconstrainedError"
Reason: The specified constraints resulted in no candidate devices which met the criteria requested. The error is an object of type OverconstrainedError and has a constraint property whose string value is the name of a constraint which was impossible to meet, and a message property containing a human-readable string explaining the problem.
"SecurityError"
Reason: User media support is disabled on the Document on which getUserMedia() was called. The mechanism by which user media support is enabled and disabled is left up to the individual user agent.
"AudioAlreadyActive"
Reason: If there is audio it calls callbackError with "AudioAlreadyActive.
"Camera or Mic is being used by some other process that does not let read the devices"
Reason: Error definition it is sent when media devices are used by another application.
"VideoAlreadyActive"
Reason: If there is video it calls callbackError with "VideoAlreadyActive.
"NotSupportedError"
Reason: Error definition it is sent when SSL is needed.
"NoActiveConnection"
Reason: Error definition it is sent when no active WebSocket connection.
{
command : "error",
definition : "noStreamNameSpecified",
}
Description: Error definition it is sent when stream id is not specified in the message.
{
command : "error",
definition: "not_allowed_unregistered_streams",
}
Description: This is sent back to the user if the publisher wants to send a stream with an unregistered id and server is configured not to allow this kind of streams",
{
command : "error",
definition : "no_room_specified",
}
Description: This is sent back to the user when there is no room specified in joining the video conference.
{
command : "error",
definition : "unauthorized_access",
}
Description : This is sent back to the user when the token is not validated",
{
command : "error",
definition : "no_encoder_settings",
}
Description : This is sent back to the user when there are no encoder settings available in publishing the stream.
{
command : "error",
definition : "no_peer_associated_before",
}
Description: This is peer to peer connection error definition.It is sent back to the user when there is no peer associated with the stream",
- Introduction
- Quick Start
- Installation
- Publishing Live Streams
- Playing Live Streams
- Conference Call
- Peer to Peer Call
- Adaptive Bitrate(Multi-Bitrate) Streaming
- Data Channel
- Video on Demand Streaming
- Simulcasting to Social Media Channels
- Clustering & Scaling
- Monitor Ant Media Servers with Apache Kafka and Grafana
- WebRTC SDKs
- Security
- Integration with your Project
- Advanced
- WebRTC Load Testing
- TURN Servers
- AWS Wavelength Deployment
- Multi-Tenancy Support
- Monitor Ant Media Server with Datadog
- Clustering in Alibaba
- Playlist
- Kubernetes
- Time based One Time Password
- Kubernetes Autoscaling
- Kubernetes Ingress
- How to Install Ant Media Server on EKS
- Release Tests
- Spaceport Volumetric Video
- WebRTC Viewers Info
- Webhook Authentication for Publishing Streams
- Recording Streams
- How to Update Ant Media Server with Cloudformation
- How to Install Ant Media Server on GKE
- Ant Media Server on Docker Swarm
- Developer Quick Start
- Recording HLS, MP4 and how to recover
- Re-streaming update
- Git Branching
- UML Diagrams