This repository has been archived by the owner on Oct 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WebRTC signalling added for the Call option and implementation a security hybrid model key and the status of listened voice messages
- Loading branch information
Showing
31 changed files
with
467 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
syntax = "proto3"; | ||
package proto; | ||
import "Response.proto"; | ||
|
||
option java_package = "net.iGap.proto"; | ||
option java_outer_classname = "ProtoPushRateSignaling"; | ||
|
||
message PushRateSignalingResponse { | ||
Response response = 1; | ||
uint64 id = 2; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
syntax = "proto3"; | ||
package proto; | ||
import "Request.proto"; | ||
import "Response.proto"; | ||
|
||
option java_package = "net.iGap.proto"; | ||
option java_outer_classname = "ProtoSignalingAccept"; | ||
|
||
message SignalingAccept { | ||
Request request = 1; | ||
string called_sdp = 2; | ||
} | ||
|
||
message SignalingAcceptResponse { | ||
Response response = 1; | ||
string called_sdp = 2; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
syntax = "proto3"; | ||
package proto; | ||
import "Request.proto"; | ||
import "Response.proto"; | ||
|
||
option java_package = "net.iGap.proto"; | ||
option java_outer_classname = "ProtoSignalingCandidate"; | ||
|
||
message SignalingCandidate { | ||
Request request = 1; | ||
string candidate = 2; | ||
string sdp_m_id = 3; | ||
uint32 sdp_m_line_index = 4; | ||
} | ||
|
||
message SignalingCandidateResponse { | ||
Response response = 1; | ||
string peer_candidate = 2; | ||
string peer_sdp_m_id = 3; | ||
uint32 peer_sdp_m_line_index = 4; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
syntax = "proto3"; | ||
package proto; | ||
import "Request.proto"; | ||
import "Response.proto"; | ||
|
||
option java_package = "net.iGap.proto"; | ||
option java_outer_classname = "ProtoSignalingClearLog"; | ||
|
||
message SignalingClearLog { | ||
Request request = 1; | ||
uint64 clear_id = 2; | ||
} | ||
|
||
message SignalingClearLogResponse { | ||
Response response = 1; | ||
uint64 clear_id = 2; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
syntax = "proto3"; | ||
package proto; | ||
import "Request.proto"; | ||
import "Response.proto"; | ||
|
||
option java_package = "net.iGap.proto"; | ||
option java_outer_classname = "ProtoSignalingGetConfiguration"; | ||
|
||
message SignalingGetConfiguration { | ||
Request request = 1; | ||
} | ||
|
||
message SignalingGetConfigurationResponse { | ||
Response response = 1; | ||
|
||
message IceServer { | ||
string url = 1; | ||
string credential = 2; | ||
string username = 3; | ||
} | ||
repeated IceServer ice_server = 2; | ||
|
||
bool voice_calling = 3; | ||
bool video_calling = 4; | ||
bool screen_sharing = 5; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
syntax = "proto3"; | ||
package proto; | ||
import "Request.proto"; | ||
import "Response.proto"; | ||
import "Global.proto"; | ||
import "SignalingOffer.proto"; | ||
|
||
option java_package = "net.iGap.proto"; | ||
option java_outer_classname = "ProtoSignalingGetLog"; | ||
|
||
message SignalingGetLog { | ||
Request request = 1; | ||
Pagination pagination = 2; | ||
} | ||
|
||
message SignalingGetLogResponse { | ||
Response response = 1; | ||
|
||
message SignalingLog { | ||
uint64 id = 1; | ||
SignalingOffer.Type type = 2; | ||
|
||
enum Status { | ||
MISSED = 0; | ||
CANCELED = 1; | ||
INCOMING = 2; | ||
OUTGOING = 3; | ||
} | ||
Status status = 3; | ||
|
||
RegisteredUser peer = 4; | ||
uint32 offer_time = 5; | ||
uint32 duration = 6; | ||
} | ||
|
||
repeated SignalingLog signaling_log = 2; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
syntax = "proto3"; | ||
package proto; | ||
import "Request.proto"; | ||
import "Response.proto"; | ||
|
||
option java_package = "net.iGap.proto"; | ||
option java_outer_classname = "ProtoSignalingLeave"; | ||
|
||
message SignalingLeave { | ||
Request request = 1; | ||
} | ||
|
||
message SignalingLeaveResponse { | ||
Response response = 1; | ||
|
||
enum Type { | ||
MISSED = 0; | ||
REJECTED = 1; | ||
ACCEPTED = 2; | ||
NOT_ANSWERED = 3; | ||
UNAVAILABLE = 4; | ||
DISCONNECTED = 5; | ||
FINISHED = 6; | ||
} | ||
Type type = 2; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
syntax = "proto3"; | ||
package proto; | ||
import "Request.proto"; | ||
import "Response.proto"; | ||
|
||
option java_package = "net.iGap.proto"; | ||
option java_outer_classname = "ProtoSignalingOffer"; | ||
|
||
message SignalingOffer { | ||
Request request = 1; | ||
uint64 called_user_id = 2; | ||
|
||
enum Type { | ||
VOICE_CALLING = 0; | ||
VIDEO_CALLING = 1; | ||
SCREEN_SHARING = 2; | ||
} | ||
Type type = 3; | ||
|
||
string caller_sdp = 4; | ||
} | ||
|
||
message SignalingOfferResponse { | ||
Response response = 1; | ||
|
||
uint64 caller_user_id = 2; | ||
SignalingOffer.Type type = 3; | ||
string caller_sdp = 4; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
syntax = "proto3"; | ||
package proto; | ||
import "Request.proto"; | ||
import "Response.proto"; | ||
|
||
option java_package = "net.iGap.proto"; | ||
option java_outer_classname = "ProtoSignalingRate"; | ||
|
||
message SignalingRate { | ||
Request request = 1; | ||
uint64 id = 2; | ||
uint32 rate = 3; | ||
string reason = 4; | ||
} | ||
|
||
message SignalingRateResponse { | ||
Response response = 1; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
syntax = "proto3"; | ||
package proto; | ||
import "Request.proto"; | ||
import "Response.proto"; | ||
|
||
option java_package = "net.iGap.proto"; | ||
option java_outer_classname = "ProtoSignalingRinging"; | ||
|
||
message SignalingRinging { | ||
Request request = 1; | ||
} | ||
|
||
message SignalingRingingResponse { | ||
Response response = 1; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
syntax = "proto3"; | ||
package proto; | ||
import "Request.proto"; | ||
import "Response.proto"; | ||
|
||
option java_package = "net.iGap.proto"; | ||
option java_outer_classname = "ProtoSignalingSessionHold"; | ||
|
||
message SignalingSessionHold { | ||
Request request = 1; | ||
bool hold = 2; | ||
} | ||
|
||
message SignalingSessionHoldResponse { | ||
Response response = 1; | ||
bool hold = 2; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.