File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ const server = new StreamingServer({
26
26
27
27
const run = async () => {
28
28
try {
29
- server .start ();
29
+ await server .start ();
30
30
} catch (e) {
31
31
console .error (e);
32
32
}
@@ -61,4 +61,4 @@ Consume that stream from your favourite RTSP Client:
61
61
* Stability
62
62
* Authorisation
63
63
* RTP interleaved in RTSP (RTP over RTSP)
64
- * Hooks for events when streams are published / consumed
64
+ * Hooks for events when streams are published / consumed
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ const server = new StreamingServer({
10
10
11
11
const run = async ( ) => {
12
12
try {
13
- server . start ( ) ;
13
+ await server . start ( ) ;
14
14
} catch ( e ) {
15
15
console . error ( e ) ;
16
16
}
17
17
}
18
18
19
- run ( ) ;
19
+ run ( ) ;
You can’t perform that action at this time.
0 commit comments