Get in Touch
 Duration 14 hours

Course Outline

Media Device Handling

Browser Permissions with navigator.permissions

  • Accessing hardware components:
    • Webcam
    • Microphone
  • Optional permissions:
    • Geolocation
    • Notifications
    • Clipboard (read/write)
  • Querying permissions and checking status
  • Understanding limitations and browser compatibility

Reading Media Devices with navigator.mediaDevices

  • Enumerating available devices
  • Managing dynamic device changes

Cross-browser Compatibility

  • Utilizing key APIs:
    • navigator.permissions.query()
    • navigator.mediaDevices.enumerateDevices()
    • getUserMedia()
  • Implementing Safari fallback strategies

Media Device Management

  • Initializing devices via getUserMedia(constraints)
  • Configuring media device constraints
  • Controlling the start and stop of media streams
  • Responding to device changes

Recording Devices with MediaRecorder

  • Initiating and terminating streaming and recording
  • Downloading content as .webm files
  • Generating real-time waveform previews

Optional Extensions:

  • Saving audio in .wav format using ScriptProcessorNode
  • Visualizing the Audio FFT spectrum
  • Displaying volume bars in decibels
  • Integrating voice recognition via webkitSpeechRecognition

Peer Connection

Signaling Servers

  • Options for bidirectional channels:
    • WebSocket
    • Socket.io
    • SignalR
  • Structuring signaling messages
  • Building a simplified WebRTC client
  • Executing the full signaling flow

Video Chat via WebRTC

  • System architecture: Node.js + ws
  • WebRTC client implementation using RTCPeerConnection
  • Conducting local End-to-End (E2E) testing

Optional Features:

  • Managing call termination (closing connections and stopping media)
  • Enabling group calls (multi-user rooms)
  • Implementing token-based simple authentication

Screen Sharing

  • Utilizing getDisplayMedia()
  • Architectural considerations and configuration options

Session Description Protocol (SDP)

  • Overview and component breakdown
  • Parsing and interpreting SDP data
  • Codec management:
    • Audio and Video codecs
    • Negotiation and control mechanisms
    • Fallback strategies

WebRTC Statistics with getStats()

  • Categorizing types of statistics
  • Methods for interpreting statistical data
  • Generating live bitrate and jitter charts
  • Strategies for quality adaptation

All of the topic are

  • Practical, hands-on use-case implementation

Requirements

This training is specifically tailored for frontend and full-stack developers, technical architects, and engineers who are developing browser-based real-time communication features such as video chat, screen sharing, or audio streaming. Participants are expected to have a solid understanding of JavaScript and web technologies, with additional experience in Node.js and WebSocket-based communication serving as a beneficial but optional foundation.

Number of participants


Price per participant

Testimonials (3)

Upcoming Courses

Related Categories