how to share Video with FairPlay DRM on Facebook

I am using HLS fairplay streaming and it is working fine. now I have requirement of social share button on AVPlayer, which can share content to facebook, twitter etc. For normal content (non encrypted) I am able to share link on facebook but with this encrypted video link how I cna share it on facebook or any other social media?


Thanks in advance.

Replies

I have a similar requirement I am working on.

See if you may have answer to these

1. How do you plan to provide fairplay license server url?

2. How do you plan to authenticate the request for a license?

3. How do you plan to authorize the license request?

Cheers

Thanks Dvyz for the reply.


- We are getting License url form MPX. In the License url we are passing token, releasePid and generated SPC, which returns CKC in response and we use that CKC to load the encrypted content.

In AVAssetResourceLoader's shouldWaitForLoadingOfRequestedResource method

[loadingRequest.dataRequest respondWithData:ckcData];

[loadingRequest finishLoading];


And after that I am able to play content in AVPlayer.