Skip to content

Commit 278d040

Browse files
author
Amin
committed
minor improvement
1 parent 56b6776 commit 278d040

File tree

4 files changed

+22
-43
lines changed

4 files changed

+22
-43
lines changed

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
"require": {
2626
"php": "^8.4",
2727
"quasarstream/mixin": "^v1.0",
28-
"quasarstream/dtls": "^v1.0",
2928
"quasarstream/ice": "^v1.0"
3029
},
3130
"autoload": {

src/README.md

Lines changed: 0 additions & 41 deletions
This file was deleted.

src/RTCTransportStats.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
namespace Webrtc\Stats;
1313

14-
use Webrtc\DTLS\Enum\TLSState;
14+
use Webrtc\Stats\enum\TLSState;
1515
use Webrtc\ICE\Enum\IceRole;
1616
use Webrtc\Stats\enum\StatType;
1717

src/enum/TLSState.php

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?php
2+
3+
/**
4+
* This file is part of the PHP WebRTC package.
5+
*
6+
* (c) Amin Yazdanpanah <https://www.aminyazdanpanah.com/#contact>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
12+
namespace Webrtc\Stats\enum;
13+
14+
enum TLSState: int
15+
{
16+
case NEW = 0;
17+
case CONNECTING = 1;
18+
case CONNECTED = 2;
19+
case CLOSED = 3;
20+
case FAILED = 4;
21+
}

0 commit comments

Comments
 (0)