<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Getting Streamable URL of Video using API v2 in iOS app in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Getting-Streamable-URL-of-Video-using-API-v2-in-iOS-app/m-p/246119#M14000</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using API V2, I am able to get metadata of a video file using the below code:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[[client.filesRoutes getMetadata:entry.pathDisplay includeMediaInfo:[NSNumber numberWithBool:YES] includeDeleted:[NSNumber numberWithBool:NO] includeHasExplicitSharedMembers:[NSNumber numberWithBool:NO]] setResponseBlock:^(DBFILESMetadata * _Nullable result, DBFILESGetMetadataError * _Nullable routeError, DBRequestError * _Nullable error) {
                NSLog(@"result %@",result);
            }];&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/PRE&gt;&lt;P&gt;Result is of type&amp;nbsp;&lt;STRONG&gt;&lt;SPAN class="s1"&gt;DBFILESMetadata&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="s1"&gt;and has values like :&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;{
    "client_modified" = "2017-02-14T11:21:12Z";
    "content_hash" = 23423424;
    id = "id:textdata";
    "media_info" =     {
        ".tag" = metadata;
        metadata =         {
            ".tag" = video;
            dimensions =             {
                height = 1920;
                width = 1080;
            };
            duration = 90960;
            "time_taken" = "2017-02-14T10:11:52Z";
        };
    };
    name = "VID_name.mp4";
    "path_display" = "/VID_name.mp4";
    "path_lower" = "/vid_name.mp4";
    rev = 5520cdbb9;
    "server_modified" = "2017-02-14T11:21:12Z";
    size = 195056981;
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I need to play this video in AVPlayer. For this, streamable URL for the video needed. How can I get it in API V2?&lt;/P&gt;&lt;P&gt;In API V1, I was getting it using the delegate :&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;self&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;.&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;restClient&lt;/SPAN&gt; &lt;SPAN class="s3"&gt;loadStreamableURLForFile&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;:&lt;/SPAN&gt;&lt;SPAN class="s4"&gt;path&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;];&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Which method should I use to get URL?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Please help.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I am using Xcode 8.3.2 and language is Objective C.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:18:26 GMT</pubDate>
    <dc:creator>RasiniK</dc:creator>
    <dc:date>2019-05-29T09:18:26Z</dc:date>
    <item>
      <title>Getting Streamable URL of Video using API v2 in iOS app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Getting-Streamable-URL-of-Video-using-API-v2-in-iOS-app/m-p/246119#M14000</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using API V2, I am able to get metadata of a video file using the below code:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[[client.filesRoutes getMetadata:entry.pathDisplay includeMediaInfo:[NSNumber numberWithBool:YES] includeDeleted:[NSNumber numberWithBool:NO] includeHasExplicitSharedMembers:[NSNumber numberWithBool:NO]] setResponseBlock:^(DBFILESMetadata * _Nullable result, DBFILESGetMetadataError * _Nullable routeError, DBRequestError * _Nullable error) {
                NSLog(@"result %@",result);
            }];&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/PRE&gt;&lt;P&gt;Result is of type&amp;nbsp;&lt;STRONG&gt;&lt;SPAN class="s1"&gt;DBFILESMetadata&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="s1"&gt;and has values like :&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;{
    "client_modified" = "2017-02-14T11:21:12Z";
    "content_hash" = 23423424;
    id = "id:textdata";
    "media_info" =     {
        ".tag" = metadata;
        metadata =         {
            ".tag" = video;
            dimensions =             {
                height = 1920;
                width = 1080;
            };
            duration = 90960;
            "time_taken" = "2017-02-14T10:11:52Z";
        };
    };
    name = "VID_name.mp4";
    "path_display" = "/VID_name.mp4";
    "path_lower" = "/vid_name.mp4";
    rev = 5520cdbb9;
    "server_modified" = "2017-02-14T11:21:12Z";
    size = 195056981;
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I need to play this video in AVPlayer. For this, streamable URL for the video needed. How can I get it in API V2?&lt;/P&gt;&lt;P&gt;In API V1, I was getting it using the delegate :&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;&lt;SPAN class="s1"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;self&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;.&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;restClient&lt;/SPAN&gt; &lt;SPAN class="s3"&gt;loadStreamableURLForFile&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;:&lt;/SPAN&gt;&lt;SPAN class="s4"&gt;path&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;];&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Which method should I use to get URL?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Please help.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I am using Xcode 8.3.2 and language is Objective C.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:18:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Getting-Streamable-URL-of-Video-using-API-v2-in-iOS-app/m-p/246119#M14000</guid>
      <dc:creator>RasiniK</dc:creator>
      <dc:date>2019-05-29T09:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Streamable URL of Video using API v2 in iOS app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Getting-Streamable-URL-of-Video-using-API-v2-in-iOS-app/m-p/246180#M14008</link>
      <description>The equivalent of that in the API v2 Objective-C SDK would be getTemporaryLink:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBFILESUserAuthRoutes.html#/c:objc(cs)DBFILESUserAuthRoutes(im)getTemporaryLink" target="_blank"&gt;https://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBFILESUserAuthRoutes.html#/c:objc(cs)DBFILESUserAuthRoutes(im)getTemporaryLink&lt;/A&gt;:</description>
      <pubDate>Tue, 10 Oct 2017 13:22:37 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Getting-Streamable-URL-of-Video-using-API-v2-in-iOS-app/m-p/246180#M14008</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-10-10T13:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Streamable URL of Video using API v2 in iOS app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Getting-Streamable-URL-of-Video-using-API-v2-in-iOS-app/m-p/246317#M14029</link>
      <description>Thank You. The solution is working.</description>
      <pubDate>Wed, 11 Oct 2017 06:52:10 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Getting-Streamable-URL-of-Video-using-API-v2-in-iOS-app/m-p/246317#M14029</guid>
      <dc:creator>RasiniK</dc:creator>
      <dc:date>2017-10-11T06:52:10Z</dc:date>
    </item>
  </channel>
</rss>

