Skip to content

Commit 4b7d4d3

Browse files
committed
docs: add notes on native library classifiers for webrtc-java
1 parent 016fceb commit 4b7d4d3

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

docs/quickstart.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,27 @@ Add the following dependency to your `pom.xml`:
4646
</dependency>
4747
```
4848

49+
Note about native library classifiers:
50+
- The webrtc-java artifact will automatically add the dependency for the native library artifact matching the currently running operating system and architecture at runtime.
51+
- If you encounter issues loading the native library "webrtc-java", you can declare the platform-specific classifier explicitly. For example, for Windows 64-Bit:
52+
53+
```xml
54+
<dependency>
55+
<groupId>dev.onvoid.webrtc</groupId>
56+
<artifactId>webrtc-java</artifactId>
57+
<version>{{VERSION}}</version>
58+
<classifier>windows-x86_64</classifier>
59+
</dependency>
60+
```
61+
62+
Complete list of available classifiers:
63+
- windows-x86_64
64+
- macos-x86_64
65+
- macos-aarch64
66+
- linux-x86_64
67+
- linux-aarch64
68+
- linux-aarch32
69+
4970
#### Using SNAPSHOT Versions
5071

5172
If you want to use the latest development version, you can use a SNAPSHOT release:

0 commit comments

Comments
 (0)