mirror of
https://github.com/AlexxIT/go2rtc.git
synced 2025-09-27 04:36:12 +08:00
18 lines
430 B
Go
18 lines
430 B
Go
package camera
|
|
|
|
const TypeSetupDataStreamTransport = "131"
|
|
|
|
type SetupDataStreamRequest struct {
|
|
SessionCommandType byte `tlv8:"1"`
|
|
TransportType byte `tlv8:"2"`
|
|
ControllerKeySalt string `tlv8:"3"`
|
|
}
|
|
|
|
type SetupDataStreamResponse struct {
|
|
Status byte `tlv8:"1"`
|
|
TransportTypeSessionParameters struct {
|
|
TCPListeningPort uint16 `tlv8:"1"`
|
|
} `tlv8:"2"`
|
|
AccessoryKeySalt string `tlv8:"3"`
|
|
}
|