I have been trying to encrypt media(Video and audio content) from a nodejs server to a client like android or iOS. I heard of DRM but could not get a reliable implementation of DRM.
I wanted to make my own implementation of protecting my content, But am not sure issues i would have with my implementation.
THIS IS MY IMPLEMENTATION.
Clients like android would first get authenticated from my server, then my server would pass a token to the android client, then this android client would request for the protected media with some request like
id is the video content id and the
token in this case is like the key, if the client doesn't have a valid token then the data will not be given to client.
QUESTION: Will this implementation work, can it protect my content from unauthorised clients, what are some of the drawbacks of using this?