Download

mobile connect pixelstreaming failed only in lan

when PixelStreaming Run on PC without Netowrk, Only in Lan.Other PC in lan Launch PixelStreaming Normal. but Android Or Ios Launch Failed, Only Show Webrct Connected, Waiting For the Video. When Lan Connect Network, Devices work fine.

solved!

  1. Download adapter-latest.js from https://webrtc.github.io/adapter/adapter-latest.js,put the file into scripts folder.

  2. Modify player.htm

<head>
    <link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon">
    <link rel="icon" type="image/png" sizes="96x96" href="/images/favicon-96x96.png">
    <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
    <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
    <link type="text/css" rel="stylesheet" href="player.css">
    <!-- <script type="text/javascript" src="https://webrtc.github.io/adapter/adapter-latest.js"></script> -->
    <script type="text/javascript" src="scripts/adapter-latest.js"></script>
    <script type="text/javascript" src="scripts/webRtcPlayer.js"></script>
    <script type="text/javascript" src="scripts/app.js"></script>
</head>