{"id":230,"date":"2022-01-24T09:11:36","date_gmt":"2022-01-24T09:11:36","guid":{"rendered":"https:\/\/www.hfrtc.top\/wordpress\/?p=230"},"modified":"2022-01-24T09:11:36","modified_gmt":"2022-01-24T09:11:36","slug":"sframe","status":"publish","type":"post","link":"https:\/\/www.fanyamin.com\/wordpress\/?p=230","title":{"rendered":"SFrame"},"content":{"rendered":"\n<pre class=\"wp-block-preformatted\">There are two layers of encryptions and authentication are required:\n\n   1.  Hop-by-hop (HBH) encryption of media, metadata, and feedback\n       messages between the the endpoints and SFU\n\n   2.  End-to-end (E2E) encryption of media between the endpoints\n\n   While DTLS-SRTP can be used as an efficient HBH mechanism, it is\n   inherently point-to-point and therefore not suitable for a SFU\n   context.  In addition, given the various scenarios in which video\n   calling occurs, minimizing the bandwidth overhead of end-to-end\n   encryption is also an important goal<\/pre>\n\n\n\n<p>SRTP can do encryption as below<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">     +-------------------------------+-------------------------------+^+\n     |V=2|P|X|  CC   |M|     PT      |       sequence number         | |\n     +-------------------------------+-------------------------------+ |\n     |                           timestamp                           | |\n     +---------------------------------------------------------------+ |\n     |           synchronization source (SSRC) identifier            | |\n     |=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=| |\n     |            contributing source (CSRC) identifiers             | |\n     |                               ....                            | |\n     +---------------------------------------------------------------+ |\n     |                   RTP extension(s) (OPTIONAL)                 | |\n   +^---------------------+------------------------------------------+ |\n   | |   payload header   |                                          | |\n   | +--------------------+     payload  ...                         | |\n   | |                                                               | |\n   +^+---------------------------------------------------------------+^+\n   | :                       authentication tag                      : |\n   | +---------------------------------------------------------------+ |\n   |                                                                   |\n   ++ Encrypted Portion                       Authenticated Portion +--+\n\n                        Figure 1: SRTP packet format<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>There are two layers of encryptions and authentication are required: 1. Hop-by-hop (HBH) encryption of media, metadata, and feedback messages between the the endpoints and SFU 2. End-to-end (E2E) encryption of media between the endpoints While DTLS-SRTP can be used as an efficient HBH mechanism, it is inherently point-to-point and therefore not suitable for a [&hellip;] <a class=\"read-more\" href=\"https:\/\/www.fanyamin.com\/wordpress\/?p=230\" title=\"Permanent Link to: SFrame\">&rarr;Read&nbsp;more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-230","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.fanyamin.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/230"}],"collection":[{"href":"https:\/\/www.fanyamin.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fanyamin.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fanyamin.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fanyamin.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=230"}],"version-history":[{"count":1,"href":"https:\/\/www.fanyamin.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/230\/revisions"}],"predecessor-version":[{"id":231,"href":"https:\/\/www.fanyamin.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/230\/revisions\/231"}],"wp:attachment":[{"href":"https:\/\/www.fanyamin.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=230"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fanyamin.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=230"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fanyamin.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=230"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}