Skip to content

Commit

Permalink
add support for iOS 12.2+
Browse files Browse the repository at this point in the history
  • Loading branch information
moritzmhmk committed Jun 9, 2019
1 parent 86663e1 commit 7b1cbb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CameraSource.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ Camera.prototype.handleStreamRequest = function (request) {
this.log(`Starting video stream (${width}x${height}, ${fps} fps, ${bitrate} kbps)`)
let ffmpegCommand = `\
-f video4linux2 -input_format h264 -video_size ${width}x${height} -framerate ${fps} -i /dev/video0 \
-vcodec copy -an -payload_type 99 -ssrc ${ssrc} -f rtp \
-vcodec copy -copyts -an -payload_type 99 -ssrc ${ssrc} -f rtp \
-srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params ${srtp} \
srtp://${address}:${port}?rtcpport=${port}&localrtcpport=${port}&pkt_size=1378`
if (this.debug) {
Expand Down

0 comments on commit 7b1cbb9

Please sign in to comment.