Difference between revisions of "GstWebRTC - PubNub Web Pages - TX1/TX2"

From RidgeRun Developer Connection
Jump to: navigation, search
m
m
Line 3: Line 3:
 
[[GstWebRTC - AppRTC Signaler Examples - TX1/TX2/Xavier|AppRTC]]|
 
[[GstWebRTC - AppRTC Signaler Examples - TX1/TX2/Xavier|AppRTC]]|
  
=== PubNub Official Demo ===
+
== PubNub Official Demo ==
  
 
The following figure show hows to establish a call using the official PubNub's WebRTC demo in https://www.pubnub.com/developers/demos/webrtc/
 
The following figure show hows to establish a call using the official PubNub's WebRTC demo in https://www.pubnub.com/developers/demos/webrtc/
Line 9: Line 9:
 
[[File:PubNub_Google_Chrome.png|700px|center|Establish a WebRTC call with https://www.pubnub.com/developers/demos/webrtc/]]
 
[[File:PubNub_Google_Chrome.png|700px|center|Establish a WebRTC call with https://www.pubnub.com/developers/demos/webrtc/]]
  
'''Follow these steps'''
+
===Follow these steps===
  
 
# Make sure to type the number above the message "this is your phone number" in the pipeline description
 
# Make sure to type the number above the message "this is your phone number" in the pipeline description
Line 15: Line 15:
 
# Launch the pipeline, the call should start right away (in Chrome), a couple of seconds at most (in Firefox).
 
# Launch the pipeline, the call should start right away (in Chrome), a couple of seconds at most (in Firefox).
  
'''Send/receive (VP8)'''
+
===Pipelines===
 +
 
 +
====Send/receive (VP8)====
 
<pre style="white-space: pre-wrap;">
 
<pre style="white-space: pre-wrap;">
 
GST_DEBUG=3 DISPLAY=:0 gst-launch-1.0 rrwebrtcbin rtcp-mux=true start-call=true signaler::user-channel=$USER_CHANNEL signaler::peer-channel=$PEER_CHANNEL name=web nvcamerasrc sensor-id=0  ! nvvidconv ! omxvp8enc ! rtpvp8pay ! web.video_sink web.video_src ! rtpvp8depay ! omxvp8dec ! videoconvert ! autovideosink
 
GST_DEBUG=3 DISPLAY=:0 gst-launch-1.0 rrwebrtcbin rtcp-mux=true start-call=true signaler::user-channel=$USER_CHANNEL signaler::peer-channel=$PEER_CHANNEL name=web nvcamerasrc sensor-id=0  ! nvvidconv ! omxvp8enc ! rtpvp8pay ! web.video_sink web.video_src ! rtpvp8depay ! omxvp8dec ! videoconvert ! autovideosink
 
</pre>
 
</pre>
  
'''Send only (VP8)'''
+
====Send only (VP8)====
 
<pre style="white-space: pre-wrap;">
 
<pre style="white-space: pre-wrap;">
 
GST_DEBUG=3 DISPLAY=:0 gst-launch-1.0 rrwebrtcbin rtcp-mux=true start-call=true signaler::user-channel=$USER_CHANNEL signaler::peer-channel=$PEER_CHANNEL name=web nvcamerasrc sensor-id=0  ! nvvidconv ! omxvp8enc ! rtpvp8pay ! web.video_sink
 
GST_DEBUG=3 DISPLAY=:0 gst-launch-1.0 rrwebrtcbin rtcp-mux=true start-call=true signaler::user-channel=$USER_CHANNEL signaler::peer-channel=$PEER_CHANNEL name=web nvcamerasrc sensor-id=0  ! nvvidconv ! omxvp8enc ! rtpvp8pay ! web.video_sink
 
</pre>
 
</pre>
  
'''Receive only (VP8)'''
+
====Receive only (VP8)====
 
<pre style="white-space: pre-wrap;">
 
<pre style="white-space: pre-wrap;">
 
GST_DEBUG=3 DISPLAY=:0 gst-launch-1.0 rrwebrtcbin rtcp-mux=true start-call=true signaler::user-channel=$USER_CHANNEL signaler::peer-channel=$PEER_CHANNEL name=web web.video_src ! rtpvp8depay ! omxvp8dec ! videoconvert ! autovideosink
 
GST_DEBUG=3 DISPLAY=:0 gst-launch-1.0 rrwebrtcbin rtcp-mux=true start-call=true signaler::user-channel=$USER_CHANNEL signaler::peer-channel=$PEER_CHANNEL name=web web.video_src ! rtpvp8depay ! omxvp8dec ! videoconvert ! autovideosink

Revision as of 15:31, 4 February 2020


Audio + Video - TX1/TX2


Home

AppRTC



PubNub Official Demo

The following figure show hows to establish a call using the official PubNub's WebRTC demo in https://www.pubnub.com/developers/demos/webrtc/

Establish a WebRTC call with https://www.pubnub.com/developers/demos/webrtc/

Follow these steps

  1. Make sure to type the number above the message "this is your phone number" in the pipeline description
  2. Just type the pipeline's name in the bottom text bar. In the examples 123 this would be $USER_CHANNEL or 123, don't press any of the other botons
  3. Launch the pipeline, the call should start right away (in Chrome), a couple of seconds at most (in Firefox).

Pipelines

Send/receive (VP8)

GST_DEBUG=3 DISPLAY=:0 gst-launch-1.0 rrwebrtcbin rtcp-mux=true start-call=true signaler::user-channel=$USER_CHANNEL signaler::peer-channel=$PEER_CHANNEL name=web nvcamerasrc sensor-id=0  ! nvvidconv ! omxvp8enc ! rtpvp8pay ! web.video_sink web.video_src ! rtpvp8depay ! omxvp8dec ! videoconvert ! autovideosink

Send only (VP8)

GST_DEBUG=3 DISPLAY=:0 gst-launch-1.0 rrwebrtcbin rtcp-mux=true start-call=true signaler::user-channel=$USER_CHANNEL signaler::peer-channel=$PEER_CHANNEL name=web nvcamerasrc sensor-id=0  ! nvvidconv ! omxvp8enc ! rtpvp8pay ! web.video_sink

Receive only (VP8)

GST_DEBUG=3 DISPLAY=:0 gst-launch-1.0 rrwebrtcbin rtcp-mux=true start-call=true signaler::user-channel=$USER_CHANNEL signaler::peer-channel=$PEER_CHANNEL name=web web.video_src ! rtpvp8depay ! omxvp8dec ! videoconvert ! autovideosink








Audio + Video - TX1/TX2


Home

AppRTC