Sunday, October 27, 2019

Node WebRTC - Running Examples


The project said to be containing the below

This project presents a few example applications using node-webrtc.

    audio-video-loopback: relays incoming audio and video using RTCRtpTransceivers.
    ping-pong: simple RTCDataChannel ping/pong example.
    pitch-detector: pitch detector implemented using RTCAudioSink and RTCDataChannel.
    sine-wave: generates a sine wave using RTCAudioSource; frequency control implemented using RTCDataChannel.
    sine-wave-stereo: generates a stereo sine wave using RTCAudioSource; panning control implemented using RTCDataChannel.
    video-compositing: uses RTCVideoSink, node-canvas, and RTCVideoSource to draw spinning text on top of an incoming video.


The below were the examples in this

audio-video-loopback
This example simply relays incoming audio and video using RTCRtpTransceivers.


ping-pong
This example sends a “ping” from the client over an RTCDataChannel. Upon receipt, node-webrtc responds with a “pong”. Open the Console to see the pings and pongs…

pitch-detector
This example uses node-webrtc’s RTCAudioSink to implement simple pitch detection server-side. The client generates a sine wave, and the server communicates the pitch it detects using RTCDataChannel. Use the number input to change the frequency of the client-generated sine wave

datachannel-buffer-limits
This example sends a given amount of data from the client over an RTCDataChannel. Upon receipt, node-webrtc responds by sending the data back to the client. Data is chunked into pieces, you can adjust both the chunk size and global size to test the outbound buffer limits of the RTCDataChannel.

sine-wave
This example uses node-webrtc’s RTCAudioSource to generate a sine wave server-side. Use the number input to change the frequency of the server-generated sine wave. Frequency changes are sent to the server using RTCDataChannel. Finally, pitch is detected client-side and displayed alongside the received waveform.

sine-wave-stereo
This example uses node-webrtc’s RTCAudioSource to generate a stereo sine wave server-side. Use the number input to change the panning of the server-generated sine wave. Panning changes are sent to the server using RTCDataChannel.

video-compositing
This example uses node-webrtc’s RTCVideoSource and RTCVideoSink along with node-canvas to superimpose a spinning, colorful animation on top of the incoming video.

Next step would be to install this on a web server and give a try! Before that see what all this does really does behind the scenes

References:
https://github.com/node-webrtc/node-webrtc-examples

1 comment:

  1. -- Living Mobile --: Node Webrtc - Running Examples >>>>> Download Now

    >>>>> Download Full

    -- Living Mobile --: Node Webrtc - Running Examples >>>>> Download LINK

    >>>>> Download Now

    -- Living Mobile --: Node Webrtc - Running Examples >>>>> Download Full

    >>>>> Download LINK ua

    ReplyDelete