-
Notifications
You must be signed in to change notification settings - Fork 250
/
Copy pathazure.communication.callautomation.MediaStreamingOptions.yml
74 lines (71 loc) · 3.29 KB
/
azure.communication.callautomation.MediaStreamingOptions.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
### YamlMime:PythonClass
uid: azure.communication.callautomation.MediaStreamingOptions
name: MediaStreamingOptions
fullName: azure.communication.callautomation.MediaStreamingOptions
module: azure.communication.callautomation
summary: Configuration of Media streaming.
constructor:
syntax: 'MediaStreamingOptions(*, transport_url: str, transport_type: str | MediaStreamingTransportType,
content_type: str | MediaStreamingContentType, audio_channel_type: str | MediaStreamingAudioChannelType,
start_media_streaming: bool, enable_bidirectional: bool | None = None, audio_format:
str | AudioFormat | None = None)'
keywordOnlyParameters:
- name: transport_url
description: Transport URL for media streaming.
types:
- <xref:str>
- name: transport_type
description: The type of transport to be used for media streaming.
types:
- <xref:str>
- <xref:azure.communication.callautomation.MediaStreamingTransportType>
- name: content_type
description: Content type to stream, eg. audio, audio/video.
types:
- <xref:str>
- <xref:azure.communication.callautomation.MediaStreamingContentType>
- name: audio_channel_type
description: Audio channel type to stream, eg. unmixed audio, mixed audio.
types:
- <xref:str>
- <xref:azure.communication.callautomation.MediaStreamingAudioChannelType>
- name: start_media_streaming
description: 'Determines if the media streaming should be started immediately
after call is answered or not. Required.'
types:
- <xref:bool>
- name: enable_bidirectional
isRequired: true
- name: audio_format
isRequired: true
attributes:
- uid: azure.communication.callautomation.MediaStreamingOptions.audio_channel_type
name: audio_channel_type
summary: Audio channel type to stream, eg. unmixed audio, mixed audio.
signature: 'audio_channel_type: str | MediaStreamingAudioChannelType'
- uid: azure.communication.callautomation.MediaStreamingOptions.audio_format
name: audio_format
summary: 'Specifies the audio format used for encoding, including sample rate and
channel type. Known values are: "Pcm16KMono" and "Pcm24KMono".'
signature: 'audio_format: str | AudioFormat | None = None'
- uid: azure.communication.callautomation.MediaStreamingOptions.content_type
name: content_type
summary: Content type to stream, eg. audio, audio/video.
signature: 'content_type: str | MediaStreamingContentType'
- uid: azure.communication.callautomation.MediaStreamingOptions.enable_bidirectional
name: enable_bidirectional
summary: A value indicating whether bidirectional streaming is enabled.
signature: 'enable_bidirectional: bool | None = None'
- uid: azure.communication.callautomation.MediaStreamingOptions.start_media_streaming
name: start_media_streaming
summary: 'Determines if the media streaming should be started immediately
after call is answered or not'
signature: 'start_media_streaming: bool'
- uid: azure.communication.callautomation.MediaStreamingOptions.transport_type
name: transport_type
summary: The type of transport to be used for media streaming.
signature: 'transport_type: str | MediaStreamingTransportType'
- uid: azure.communication.callautomation.MediaStreamingOptions.transport_url
name: transport_url
summary: Transport URL for media streaming.
signature: 'transport_url: str'