blob: e2bcba147ab94fd082acf351f8df79ecd871637e (
plain)
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
|
<h1>SDLStreamingEncryptionFlag Enumeration Reference</h1>
<h3>Section Contents</h3>
<ul>
<li><a href="#section-SDLStreamingEncryptionFlagNone">SDLStreamingEncryptionFlagNone</a></li>
<li><a href="#section-SDLStreamingEncryptionFlagAuthenticateOnly">SDLStreamingEncryptionFlagAuthenticateOnly</a></li>
<li><a href="#section-SDLStreamingEncryptionFlagAuthenticateAndEncrypt">SDLStreamingEncryptionFlagAuthenticateAndEncrypt</a></li>
</ul>
<h3>Overview</h3>
<p>A flag determining how video and audio streaming should be encrypted</p>
<section class="section task-group-section">
<h3 id="section-SDLStreamingEncryptionFlagNone">
SDLStreamingEncryptionFlagNone
</h3>
<p>It should not be encrypted at all</p>
<h4>Objective-C</h4>
<pre class="highlight objective_c"><code><span class="n">SDLStreamingEncryptionFlagNone</span></code></pre>
<h4>Swift</h4>
<pre class="highlight swift"><code><span class="k">case</span> <span class="k">none</span> <span class="o">=</span> <span class="mi">0</span></code></pre>
<h3 id="section-SDLStreamingEncryptionFlagAuthenticateOnly">
SDLStreamingEncryptionFlagAuthenticateOnly
</h3>
<p>It should use SSL/TLS only to authenticate</p>
<h4>Objective-C</h4>
<pre class="highlight objective_c"><code><span class="n">SDLStreamingEncryptionFlagAuthenticateOnly</span></code></pre>
<h4>Swift</h4>
<pre class="highlight swift"><code><span class="k">case</span> <span class="n">authenticateOnly</span> <span class="o">=</span> <span class="mi">1</span></code></pre>
<h3 id="section-SDLStreamingEncryptionFlagAuthenticateAndEncrypt">
SDLStreamingEncryptionFlagAuthenticateAndEncrypt
</h3>
<p>All data on these services should be encrypted using SSL/TLS</p>
<h4>Objective-C</h4>
<pre class="highlight objective_c"><code><span class="n">SDLStreamingEncryptionFlagAuthenticateAndEncrypt</span></code></pre>
<h4>Swift</h4>
<pre class="highlight swift"><code><span class="k">case</span> <span class="n">authenticateAndEncrypt</span> <span class="o">=</span> <span class="mi">2</span></code></pre>
</section>
|