mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
Init project
This commit is contained in:
10
tests/peerconnection/answer.cpp
Normal file
10
tests/peerconnection/answer.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
#include <iostream>
|
||||
|
||||
#include "rtc.h"
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
CreatePeerConnectionWithID("ws://localhost:9002", "000000");
|
||||
|
||||
getchar();
|
||||
return 0;
|
||||
}
|
||||
10
tests/peerconnection/offer.cpp
Normal file
10
tests/peerconnection/offer.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
#include <iostream>
|
||||
|
||||
#include "rtc.h"
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
CreatePeerConnection("ws://localhost:9002");
|
||||
|
||||
getchar();
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user