balbant
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2017
10:21 PM
Need content IDs and MediaType for testing deep linking, as specified in Roku's deep linking policy.
We have developed Roku SG application and submitted the Roku application on store but the application rejected because our application does not support Deep linking. I read https://sdkdocs.roku.com/display/sdkdoc/Deep+Linking and tried to implement deep linking -
and launch by curl -d '' "http://192.168.1.114:8060/launch/dev?contentID=13234&MediaType=season" its working fine, but application not launching by browser "Development Application Installer" or direct throw remote because args return only 4 following parameters -
Where is the ContentId and MediaType ? Please Help us and provide a better example to understand and implement easily Deep Linking.
Thankyou.
Function Main(args as Dynamic) as Void
print args
if (args.ContentId <> invalid) and (args.MediaType <> invalid)
if (args.mediaType = "season")
HomeScreen()
else
print "Unknown media type ", args.mediaType
end if
end if
end function
and launch by curl -d '' "http://192.168.1.114:8060/launch/dev?contentID=13234&MediaType=season" its working fine, but application not launching by browser "Development Application Installer" or direct throw remote because args return only 4 following parameters -
<Component: roAssociativeArray> =
{
instant_on_run_mode: "foreground"
lastExitOrTerminationReason: "EXIT_UNKNOWN"
source: "auto-run-dev"
splashTime: "1170"
}
Where is the ContentId and MediaType ? Please Help us and provide a better example to understand and implement easily Deep Linking.
Thankyou.
3 REPLIES 3
destruk
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2017
08:52 AM
Re: Need content IDs and MediaType for testing deep linking, as specified in Roku's deep linking policy.
Your contentID is what you use to identify the video in the app so this can be anything.
In your Main function you'll need to get that contentID accessible to your scenegraph video playback system to play the video.
In your Main function you'll need to get that contentID accessible to your scenegraph video playback system to play the video.
renojim
Community Streaming Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2017
10:53 AM
Re: Need content IDs and MediaType for testing deep linking, as specified in Roku's deep linking policy.
When you sideload the channel using the browser installer, the channel gets launched, but no arguments are passed to it (there's no place in the browser to specify any arguments). If you've got launching working using the curl command then you've got the first part of deep-linking working. Now you just have to take those arguments and go to, or start playing, the specified content.
-JT
-JT
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
belltown
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2017
12:02 PM
Re: Need content IDs and MediaType for testing deep linking, as specified in Roku's deep linking policy.
You can use the Roku Deep Linking Tester to test your deep-link channel launching: https://blog.roku.com/developer/2016/12/15/new-web-tools-for-faster-development-on-roku/#2