testing WebRTC to HLS broadcasting

Testing WebRTC video stream playback in an HLS player

Send the video stream from the Google Chrome browser using WebRTC technology and play this video stream in the HLS player on the iOS device

Use these instructions for quick installation and configuration of the server. In addition to that, you can connect to our demo server demo.flashphoner.com to perform the tests. For testing, we use a virtual camera that plays a video clip

Test plan

  1. Connect to WCS server
  2. Start broadcasting a video stream from a virtual camera in Google Chrome
  3. Start playback of the broadcast stream over HLS in the Safari browser on the iOS device

 

Testing WebRTC broadcast from Chrome to iOS Safari over HLS

1. Log in to the web-interface of the server demo.flashphoner.com

Login_to_WCS

2. Select “Two-way Streaming” from the menu on the left side of the page

choose_two-way_streaming_stream_webcam_WebRTC_browser_WCS

3. Click the “Connect” button

connect_stream_webcam_WebRTC_browser_WCS

4. Verify that the status of the WCS server is “Established”. Specify a convenient stream name. We have “Stream1”. Click “Publish”

publish_stream_webcam_WebRTC_browser_WCS

5. The video stream from the webcam is displayed in the “Local” player

WCS_publishing_stream_broadcasting_safari_ios_Websocket_Canvas_WSPlayer

 

6. Open the Safari browser on your iOS device. Log in to the web-interface of the server demo.flashphoner.com and select “HLS player” from the menu on the left side of the page

 

open_HLS_player_Safari_iOS_WebRTC_to_HLS_Playback_RTMP_RTMFP_WebRTC_SIP

 

7. Enter in the “Stream” field the name of the stream that you specified in the Google Chrome browser and click the “Play” button

 

open_stream_HLS_player_Safari_iOS_WebRTC_to_HLS_Playback_RTMP_RTMFP_WebRTC_SIP

 

8. Done! The video stream that is broadcast from the Google Chrome browser is played in the Safari browser on iOS using the HLS protocol

 

play_stream_HLS_player_Safari_iOS_WebRTC_to_HLS_Playback_RTMP_RTMFP_WebRTC_SIP

 

To embed the HLS Player for iOS Safari in your website, refer to the instructions on the page Embedding

Download Web Call Server 5

System requirements: Linux x86_64, 1 core CPU, 2 Gb RAM, Java

    Download Now    

Installation:

  1. wget https://flashphoner.com/download-wcs5.2-server.tar.gz
  2. Unpack and install using 'install.sh'
  3. Launch server using command 'service webcallserver start'
  4. Open the web interface https://host:8444 and activate your license

 

If you are using Amazon EC2, you don't need to download anything.

Launch WCS5 on Amazon EC2

 

Web Call Server Monthly Subscription

$75 per month

 

   Purchase   

 

 


Related Articles