diff --git a/.github/workflows/build-win-linux.yml b/.github/workflows/build-win-linux.yml index cb46f7d..e020274 100644 --- a/.github/workflows/build-win-linux.yml +++ b/.github/workflows/build-win-linux.yml @@ -127,7 +127,7 @@ jobs: uses: marvinpinto/action-automatic-releases@v1.2.1 with: repo_token: "${{ secrets.GITHUB_TOKEN }}" - automatic_release_tag: "v2.4.8" + automatic_release_tag: "v2.4.9" prerelease: false files: | ./**/*.tar.gz diff --git a/lib/rtsp.js b/lib/rtsp.js index 469bc1f..d9c311b 100644 --- a/lib/rtsp.js +++ b/lib/rtsp.js @@ -171,7 +171,7 @@ Client.prototype.startHandshake = function(udpServers, host, port) { this.socket = net.connect(port, host, async function() { self.clearTimeout(); - if (self.needPassword) { + if (self.needPassword || self.needPin) { self.status = PAIR_PIN_START; self.sendNextRequest(); self.startHeartBeat(); diff --git a/package.json b/package.json index 1d1fbf0..61e930d 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "audio", "cider" ], - "version": "2.4.8", + "version": "2.4.9", "author": "vapormusic ", "main": "./lib/index.js", "bin": "./examples/play_stdin.js",