{"id":6273,"date":"2021-06-24T06:54:23","date_gmt":"2021-06-24T11:24:23","guid":{"rendered":"https:\/\/www.apps4rent.com\/blog\/?p=6273"},"modified":"2024-02-28T12:51:30","modified_gmt":"2024-02-28T17:21:30","slug":"stream-from-obs-to-another-device-using-udp","status":"publish","type":"post","link":"https:\/\/www.apps4rent.com\/blog\/stream-from-obs-to-another-device-using-udp\/","title":{"rendered":"How to Stream from OBS to Another Device Using UDP?"},"content":{"rendered":"<p>Many streamers use OBS to stream to various platforms. Most of these platforms support the Real-Time Messaging Protocol (RTMP) standards that OBS uses as the default standard. However, RTMP only works with Transmission Control Protocol (TCP), which is a connection-oriented protocol.<\/p>\n<p>There are, however, some niche scenarios, in which streamers might have to use a datagram-oriented protocol such as User Datagram Protocol (UDP) for broadcast and multicast type of network transmission. Although it can be done with OBS, it requires some customization. In this article, we will examine how users can stream from OBS to another device using UDP and a superior alternative.<\/p>\n<h2 style=\"font-size: 24px;\">When Is UDP Used for Streaming with OBS?<\/h2>\n<p><span style=\"color: #007fac;\"><a style=\"color: #007fac;\" href=\"https:\/\/www.apps4rent.com\/obs-open-broadcaster-software-streaming-hosting\/\">Streaming with OBS<\/a><\/span> over UDP is used in custom scenarios such as the ones described below.<\/p>\n<ul>\n<li style=\"margin-bottom: 10px;\">Real-time communication is more important than losing a few packets. In other words, users would rather lose a few frames than let the content buffer.<\/li>\n<li style=\"margin-bottom: 10px;\">There is a need to minimize the load on their servers.<\/li>\n<li style=\"margin-bottom: 10px;\">Streamers are connected to several devices and would rather connect with multicast than send packets of data to each individual connected client.<\/li>\n<li style=\"margin-bottom: 10px;\">Require low latency streaming with minimal overheads is more important than scalability and guaranteed content delivery.<\/li>\n<li style=\"margin-bottom: 10px;\">Need a lightweight solution for deploying and supporting custom streaming applications.<\/li>\n<\/ul>\n<h2 style=\"font-size: 24px;\">How to Send UDP Stream to Another Device with OBS?<\/h2>\n<p>One of the most widely observed scenarios for streaming with OBS over UDP is to stream the screen of a computer wirelessly to a nearby device that typically has lower processing power. Follow the steps below to use OBS to stream locally to another computer.<\/p>\n<ul>\n<li style=\"margin-bottom: 10px;\">After launching OBS, navigate to Settings and switch to the Output tab.<\/li>\n<li style=\"margin-bottom: 10px;\">Change the Output Mode to Advanced. Similarly, in the Recording tab, change the Type from Standard to Custom output (FFmpeg).<\/li>\n<li style=\"margin-bottom: 10px;\">In the FFmpeg Output Type, select the Output to URL option.<\/li>\n<li style=\"margin-bottom: 10px;\">Provide the URL to the next text box. Use any open ports that are not used by other services.<\/li>\n<li style=\"margin-bottom: 10px;\">Change the Container Format to mpegts, the Video Encoder to libx264, and select any Audio Encoder, and start recording.<\/li>\n<li style=\"margin-bottom: 10px;\">Open the network stream using a player such as VLC, a terminal, or any software that can play a UDP stream on the other device and use the address provided in the file path earlier.<\/li>\n<\/ul>\n<h3 style=\"font-size: 23px;\">Apps4Rent Can Host OBS for Multi-Device Streaming<\/h3>\n<p>Although streaming with OBS using UDP to a computer on the same network is an option when there are limitations in the resources, it has several pitfalls. There could be security issues and traffic bursts can cause the receiver buffer to overflow or underflow resulting in artifacts in the output stream.<\/p>\n<p>The better option is to use an RTMP server with OBS installed on a virtual desktop. This is not only a safer option but can also be used for multi-streaming. <strong>As a Microsoft and Citrix partner,<\/strong> Apps4Rent offers hosted OBS servers on GPU-enabled virtual machines that can be accessed by devices even with limited processing power. Contact our OBS implementation experts available 24\/7 via phone, chat, and email for assistance.<\/p>\n<style>{#ddexitpopwrapper.open .ddexitpop {display: block;}}@media only screen and (min-width:99px) and (max-width:767px){#ddexitpopwrapper.open .ddexitpop {display: none;}}<\/style>\n<link rel=\"stylesheet\" type=\"text\/css\" href=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/themes\/apps4rentoffice\/popup\/exitpopup\/ddexitpop.css\"\/><script src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/themes\/apps4rentoffice\/popup\/exitpopup\/ddexitpop.js\"><\/script><\/p>\n<div id=\"ddexitpop1\" class=\"ddexitpop\" style=\"top: -20px;width:877px; max-width:1000px; z-index:1000;box-shadow: #00000085 -20px -5px 1200px 1000px;\">\n<div style=\"background: #f5f4f0;\">\n<div class=\"col-md-6 popup1\" style=\"color: white;\"><img decoding=\"async\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2021\/02\/obs-cloud-hosting.png\" alt=\"QuickBooks Promotion\" style=\"width: 100%;height: 605px;\"\/><\/div>\n<div class=\"col-md-6\" style=\"background: white;\">\n<div style=\"margin-right: -15px;\"><span style=\"cursor: pointer;position: relative; top: 0px;left: 0px;float: right;font-family: Arial;font-size: 17px;background-color: #d1d1d1;color: #4c4c4c; padding-left: 10px;padding-right: 10px;text-decoration: none;right: -40px;\" onclick=\"myFunction()\">X<\/span><\/div>\n<p style=\"padding-top: 7px;color: #323b6f;margin-bottom: 10px;text-align: center;line-height: 45px;font-size:40px;font-weight: 400;\">Find out about our current promotions.<\/p>\n\n<div class=\"wpcf7 no-js\" id=\"wpcf7-f8377-o1\" lang=\"en-US\" dir=\"ltr\" data-wpcf7-id=\"8377\">\n<div class=\"screen-reader-response\"><p role=\"status\" aria-live=\"polite\" aria-atomic=\"true\"><\/p> <ul><\/ul><\/div>\n<form action=\"\/blog\/wp-json\/wp\/v2\/posts\/6273#wpcf7-f8377-o1\" method=\"post\" class=\"wpcf7-form init\" aria-label=\"Contact form\" novalidate=\"novalidate\" data-status=\"init\">\n<fieldset class=\"hidden-fields-container\"><input type=\"hidden\" name=\"_wpcf7\" value=\"8377\" \/><input type=\"hidden\" name=\"_wpcf7_version\" value=\"6.1.5\" \/><input type=\"hidden\" name=\"_wpcf7_locale\" value=\"en_US\" \/><input type=\"hidden\" name=\"_wpcf7_unit_tag\" value=\"wpcf7-f8377-o1\" \/><input type=\"hidden\" name=\"_wpcf7_container_post\" value=\"0\" \/><input type=\"hidden\" name=\"_wpcf7_posted_data_hash\" value=\"\" \/><input type=\"hidden\" name=\"_wpcf7cf_hidden_group_fields\" value=\"[]\" \/><input type=\"hidden\" name=\"_wpcf7cf_hidden_groups\" value=\"[]\" \/><input type=\"hidden\" name=\"_wpcf7cf_visible_groups\" value=\"[]\" \/><input type=\"hidden\" name=\"_wpcf7cf_repeaters\" value=\"[]\" \/><input type=\"hidden\" name=\"_wpcf7cf_steps\" value=\"{}\" \/><input type=\"hidden\" name=\"_wpcf7cf_options\" value=\"{&quot;form_id&quot;:8377,&quot;conditions&quot;:[],&quot;settings&quot;:{&quot;animation&quot;:&quot;yes&quot;,&quot;animation_intime&quot;:200,&quot;animation_outtime&quot;:200,&quot;conditions_ui&quot;:&quot;normal&quot;,&quot;notice_dismissed&quot;:false,&quot;notice_dismissed_rollback-cf7-5.9.5&quot;:true}}\" \/>\n<\/fieldset>\n<style>.inputfobs{font: 16px 'Roboto';font-weight: normal;font-style: normal;line-height: 25px;color: #2A363F;padding: 8px 20px;font-size: 16px;border: #9d9fa0 1px solid !important;margin-bottom:15px !important;box-sizing: border-box;border-radius: 3px !important;width: 100%;}.cf7-style div.wpcf7-response-output{width: fit-content !important;margin: 0px;padding: 5px !important;}.button1 {padding: 15px 20px;font-size: 18px !important;background: #375181;font-family: sans-serif;color: #fff;border: #9dbfff 2px solid;box-shadow: none;font-weight: bold;margin-bottom:0px !important;width: 100% !important;}\n<\/style>\n<style>@media only screen and (min-width:99px) and (max-width:767px){#content{margin-left:0px auto;}.sec {width:100% !important;float: none !important;}.html input[type=\"button\"], input[type=\"reset\"], input[type=\"submit\"]{font-size:16px !important;}}\n<\/style>\n<div style=\"padding-left: 15px;padding-right: 15px;padding-top: 15px;padding-bottom: 0px;\">\n\t<div style=\"float: left;width: 100%;margin-right: 15px;\" class=\"sec\">\n\t\t<p><span class=\"wpcf7-form-control-wrap\" data-name=\"Name\"><input size=\"40\" maxlength=\"400\" class=\"wpcf7-form-control wpcf7-text wpcf7-validates-as-required inputfobs\" aria-required=\"true\" aria-invalid=\"false\" placeholder=\"Name*\" value=\"\" type=\"text\" name=\"Name\" \/><\/span>\n\t\t<\/p>\n\t<\/div>\n\t<div style=\"float: left;width: 100%;margin-right: 15px;\" class=\"sec\">\n\t\t<p><span class=\"wpcf7-form-control-wrap\" data-name=\"contact\"><input size=\"40\" maxlength=\"10\" minlength=\"6\" class=\"wpcf7-form-control wpcf7-tel wpcf7-validates-as-required wpcf7-text wpcf7-validates-as-tel inputfobs\" aria-required=\"true\" aria-invalid=\"false\" placeholder=\"Contact Number*\" value=\"\" type=\"tel\" name=\"contact\" \/><\/span>\n\t\t<\/p>\n\t<\/div>\n\t<div style=\"float: left;width: 100%;\" class=\"sec\">\n\t\t<p><span class=\"wpcf7-form-control-wrap\" data-name=\"email\"><input size=\"40\" maxlength=\"400\" class=\"wpcf7-form-control wpcf7-email wpcf7-validates-as-required wpcf7-text wpcf7-validates-as-email inputfobs\" aria-required=\"true\" aria-invalid=\"false\" placeholder=\"Email ID*\" value=\"\" type=\"email\" name=\"email\" \/><\/span>\n\t\t<\/p>\n\t<\/div>\n\t<div style=\"float: left;width: 100%;margin-right: 15px;\" class=\"sec\">\n\t\t<p><span class=\"wpcf7-form-control-wrap\" data-name=\"desktop\"><input size=\"40\" maxlength=\"5\" minlength=\"1\" class=\"wpcf7-form-control wpcf7-text wpcf7-validates-as-required inputfobs\" aria-required=\"true\" aria-invalid=\"false\" placeholder=\"Number of Users*\" value=\"\" type=\"text\" name=\"desktop\" \/><\/span>\n\t\t<\/p>\n\t<\/div>\n\t<div style=\"float: left;width: 100%;\" class=\"sec\">\n\t\t<p><span class=\"wpcf7-form-control-wrap\" data-name=\"msg\"><textarea cols=\"40\" rows=\"5\" maxlength=\"2000\" class=\"wpcf7-form-control wpcf7-textarea inputfobs\" aria-invalid=\"false\" placeholder=\"Message\" name=\"msg\"><\/textarea><\/span>\n\t\t<\/p>\n\t<\/div>\n\t<div>\n\t\t<p><input class=\"wpcf7-form-control wpcf7-submit has-spinner button1\" type=\"submit\" value=\"SUBMIT REQUEST\" \/>\n\t\t<\/p>\n\t<\/div>\n<\/div><p style=\"display: none !important;\" class=\"akismet-fields-container\" data-prefix=\"_wpcf7_ak_\"><label>&#916;<textarea name=\"_wpcf7_ak_hp_textarea\" cols=\"45\" rows=\"8\" maxlength=\"100\"><\/textarea><\/label><input type=\"hidden\" id=\"ak_js_1\" name=\"_wpcf7_ak_js\" value=\"54\"\/><script>document.getElementById( \"ak_js_1\" ).setAttribute( \"value\", ( new Date() ).getTime() );<\/script><\/p><div class=\"wpcf7-response-output\" aria-hidden=\"true\"><\/div>\n<\/form>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><script>jQuery(function(){ddexitpop.init({contentsource: ['id', 'ddexitpop1'],fxclass: 'random',hideaftershow: true,displayfreq: 'always',onddexitpop: function($popup){console.log('Exit Pop Animation Class Name: ' + ddexitpop.settings.fxclass)}})})<\/script><script>function myFunction() {document.getElementById(\"ddexitpop1\").style.display = \"none\";}<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Many streamers use OBS to stream to various platforms. Most of these platforms support the Real-Time Messaging Protocol (RTMP) standards that OBS uses as the default standard. However, RTMP only works with Transmission Control Protocol (TCP), which is a connection-oriented protocol. There are, however, some niche scenarios, in which streamers might have to use a [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[529],"tags":[],"class_list":["post-6273","post","type-post","status-publish","format-standard","hentry","category-obs"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.apps4rent.com\/blog\/wp-json\/wp\/v2\/posts\/6273","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.apps4rent.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.apps4rent.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.apps4rent.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.apps4rent.com\/blog\/wp-json\/wp\/v2\/comments?post=6273"}],"version-history":[{"count":5,"href":"https:\/\/www.apps4rent.com\/blog\/wp-json\/wp\/v2\/posts\/6273\/revisions"}],"predecessor-version":[{"id":8393,"href":"https:\/\/www.apps4rent.com\/blog\/wp-json\/wp\/v2\/posts\/6273\/revisions\/8393"}],"wp:attachment":[{"href":"https:\/\/www.apps4rent.com\/blog\/wp-json\/wp\/v2\/media?parent=6273"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.apps4rent.com\/blog\/wp-json\/wp\/v2\/categories?post=6273"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.apps4rent.com\/blog\/wp-json\/wp\/v2\/tags?post=6273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}