Skip to content

Commit 9c86a58

Browse files
committed
Amend clone URL
1 parent 517ccbc commit 9c86a58

2 files changed

Lines changed: 39 additions & 24 deletions

File tree

README.ja.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ FIWARE システム内の Generic Enabler として統合し、コンテキス
154154
インストールを開始するには、次の手順を実行します :
155155

156156
```console
157-
git clone git@github.com:FIWARE/tutorials.Media-Streams.git
157+
git clone https://github.com/FIWARE/tutorials.Media-Streams.git
158158
cd tutorials.Media-Streams
159159
git submodule update --init --recursive
160160

README.md

Lines changed: 38 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ to provide a command-line functionality similar to a Linux distribution on Windo
120120
To start the installation, do the following:
121121

122122
```console
123-
git clone git@github.com:FIWARE/tutorials.Media-Streams.git
123+
git clone https://github.com/FIWARE/tutorials.Media-Streams.git
124124
cd tutorials.Media-Streams
125125
git submodule update --init --recursive
126126

@@ -479,12 +479,15 @@ function createMediaElements(pipeline, ws, callback) {
479479

480480
```javascript
481481
function connectMediaElements(webRtcEndpoint, callback) {
482-
webRtcEndpoint.connect(webRtcEndpoint, error => {
483-
if (error) {
484-
return callback(error);
482+
webRtcEndpoint.connect(
483+
webRtcEndpoint,
484+
error => {
485+
if (error) {
486+
return callback(error);
487+
}
488+
return callback(null);
485489
}
486-
return callback(null);
487-
});
490+
);
488491
}
489492
```
490493

@@ -664,18 +667,24 @@ function createMediaElements(pipeline, ws, callback) {
664667

665668
```javascript
666669
function connectMediaElements(webRtcEndpoint, faceOverlayFilter, callback) {
667-
webRtcEndpoint.connect(faceOverlayFilter, error => {
668-
if (error) {
669-
return callback(error);
670-
}
671-
faceOverlayFilter.connect(webRtcEndpoint, error => {
670+
webRtcEndpoint.connect(
671+
faceOverlayFilter,
672+
error => {
672673
if (error) {
673674
return callback(error);
674675
}
676+
faceOverlayFilter.connect(
677+
webRtcEndpoint,
678+
error => {
679+
if (error) {
680+
return callback(error);
681+
}
675682
676-
return callback(null);
677-
});
678-
});
683+
return callback(null);
684+
}
685+
);
686+
}
687+
);
679688
}
680689
```
681690

@@ -806,19 +815,25 @@ function createMediaElements(pipeline, ws, callback) {
806815

807816
```javascript
808817
function connectMediaElements(webRtcEndpoint, filter, callback) {
809-
webRtcEndpoint.connect(filter, error => {
810-
if (error) {
811-
return callback(error);
812-
}
813-
814-
filter.connect(webRtcEndpoint, error => {
818+
webRtcEndpoint.connect(
819+
filter,
820+
error => {
815821
if (error) {
816822
return callback(error);
817823
}
818824

819-
return callback(null);
820-
});
821-
});
825+
filter.connect(
826+
webRtcEndpoint,
827+
error => {
828+
if (error) {
829+
return callback(error);
830+
}
831+
832+
return callback(null);
833+
}
834+
);
835+
}
836+
);
822837
}
823838
```
824839

0 commit comments

Comments
 (0)