pipecat-siphon 0.2.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,69 @@
1
+ """Pipecat frame serializer for the siphon-rtp media WebSocket protocol.
2
+
3
+ siphon-rtp keeps its own native wire: binary L16 audio frames alongside a small
4
+ ``{"type", "data"}`` JSON control envelope. This package is the adapter that lets a pipecat
5
+ pipeline speak it, in the same shape as the serializers pipecat ships in tree.
6
+
7
+ The engine dials out as the WebSocket client, so a bot built on this is a WebSocket *server*.
8
+ """
9
+
10
+ from pipecat_siphon.protocol import (
11
+ ClearData,
12
+ ControlMessage,
13
+ Direction,
14
+ DtmfData,
15
+ Encoding,
16
+ Endianness,
17
+ ErrorData,
18
+ EventData,
19
+ MarkData,
20
+ MediaFormat,
21
+ PlaySource,
22
+ PlayStartData,
23
+ PlayStopData,
24
+ RenegotiateData,
25
+ SiphonProtocolError,
26
+ SpeechData,
27
+ SpeechStartedData,
28
+ SpeechStoppedData,
29
+ StartData,
30
+ StopData,
31
+ encode_control,
32
+ parse_control,
33
+ )
34
+ from pipecat_siphon.serializer import (
35
+ SiphonFrameSerializer,
36
+ SpeechFrameMode,
37
+ StereoInputMode,
38
+ )
39
+
40
+ __version__ = "0.1.0"
41
+
42
+ __all__ = [
43
+ "ClearData",
44
+ "ControlMessage",
45
+ "Direction",
46
+ "DtmfData",
47
+ "Encoding",
48
+ "Endianness",
49
+ "ErrorData",
50
+ "EventData",
51
+ "MarkData",
52
+ "MediaFormat",
53
+ "PlaySource",
54
+ "PlayStartData",
55
+ "PlayStopData",
56
+ "RenegotiateData",
57
+ "SiphonFrameSerializer",
58
+ "SiphonProtocolError",
59
+ "SpeechData",
60
+ "SpeechFrameMode",
61
+ "SpeechStartedData",
62
+ "SpeechStoppedData",
63
+ "StartData",
64
+ "StereoInputMode",
65
+ "StopData",
66
+ "__version__",
67
+ "encode_control",
68
+ "parse_control",
69
+ ]