

You can see the list of cookies used by Dailymotion including the cookies used on this website for audience measurement purposes by clicking here. Your consent preferences only apply to the browser and device you are currently using. You can, at any time, personalize and manage which non-essential cookies go to your browser. The use of non-essential cookies is subject to your consent. The non-essential cookies we use may be either developed by us or by our service providers. These cookies allow our service to operate properly and do not require your consent.Īdditionally, we use non-essential cookies to better understand your use of our website and services in order to improve and develop them. We use essential cookies which are necessary for the operation of our website and help protect you against security risks.

Then, issue a POST HTTP request to with the live_ad_break_launch field set to the number of advertisments you want to display.Ĭookies are small files dropped on your device when you browse on this Dailymotion for Developers website. To launch a commercial break, you need to authenticate and request an access token with the manage_videos scope. When the commercial break is triggered, all viewers will simultaneously receive mid-roll advertising in their player, composed of one or several ads depending on the input number. For more information about those fields, filters and others, please check the API Reference or click on any of these fields.ĭuring a live event, a broadcaster can launch a commercial break with up to 10 commercials. The following list details some fields and filters of the video object that you may want to use when broadcasting your event and managing your live stream. Useful fields and filters for managing a live stream This field returns an RTMP url containing both stream url and stream key divided as below: RTMP URL example To create a new video, make a POST HTTP request on containing at least the following three mandatory parameters:Ĭurl -header "Authorization: Bearer $" \ Since a live stream is based on a video, you can either create a new video with mode set to live, or use an existing one. The following steps will get you started with streaming live content. Check out the authentication guide for details on how you can request an access token with this scope from your user during the authentication step. On Dailymotion, a video is considered as a live stream when its mode is set to live.įor all operations regarding live streaming (and in general, video) management, you need to request an access token with the manage_videos scope. Please note that you need to be a Dailymotion partner to access this feature. Our API allows you to create and manage live events on the Dailymotion platform as well as run advertisements and recordings on the content you are broadcasting.
