mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
[feat] support using negotiated sdp to create media codecs
This commit is contained in:
@@ -103,7 +103,7 @@ class PeerConnection {
|
||||
private:
|
||||
int Login();
|
||||
|
||||
int CreateVideoCodec(bool hardware_acceleration);
|
||||
int CreateVideoCodec(bool av1, bool hardware_acceleration);
|
||||
int CreateAudioCodec();
|
||||
|
||||
void ProcessSignal(const std::string &signal);
|
||||
@@ -111,6 +111,8 @@ class PeerConnection {
|
||||
int RequestTransmissionMemberList(const std::string &transmission_id,
|
||||
const std::string &password);
|
||||
|
||||
int NegotiationFailed();
|
||||
|
||||
private:
|
||||
void StartIceWorker();
|
||||
void StopIceWorker();
|
||||
@@ -150,6 +152,7 @@ class PeerConnection {
|
||||
unsigned int ws_connection_id_ = 0;
|
||||
bool offer_peer_ = false;
|
||||
std::string user_id_ = "";
|
||||
std::string remote_user_id_ = "";
|
||||
std::string local_transmission_id_ = "";
|
||||
std::string remote_transmission_id_ = "";
|
||||
std::vector<std::string> user_id_list_;
|
||||
|
||||
Reference in New Issue
Block a user