mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
782 B
Protocol Buffer
38 lines
782 B
Protocol Buffer
9 years ago
|
/**
|
||
|
* Copyright (C) 2014-2016 Open Whisper Systems
|
||
|
*
|
||
|
* Licensed according to the LICENSE file in this repository.
|
||
|
*/
|
||
|
|
||
7 years ago
|
// iOS - since we use a modern proto-compiler, we must specify
|
||
|
// the legacy proto format.
|
||
|
syntax = "proto2";
|
||
|
|
||
|
// iOS - package name determines class prefix
|
||
|
package WebRTCProtos;
|
||
9 years ago
|
|
||
|
option java_package = "org.thoughtcrime.securesms.webrtc";
|
||
|
option java_outer_classname = "WebRtcDataProtos";
|
||
|
|
||
7 years ago
|
message Connected {
|
||
|
// @required
|
||
|
optional uint64 id = 1;
|
||
9 years ago
|
}
|
||
|
|
||
7 years ago
|
message Hangup {
|
||
|
// @required
|
||
|
optional uint64 id = 1;
|
||
9 years ago
|
}
|
||
|
|
||
7 years ago
|
message VideoStreamingStatus {
|
||
|
// @required
|
||
|
optional uint64 id = 1;
|
||
|
optional bool enabled = 2;
|
||
9 years ago
|
}
|
||
|
|
||
7 years ago
|
message Data {
|
||
|
optional Connected connected = 1;
|
||
|
optional Hangup hangup = 2;
|
||
|
optional VideoStreamingStatus videoStreamingStatus = 3;
|
||
9 years ago
|
}
|