|
WebRTC |
Operations require your application's secret
Operations require session-specific tokens.
Create an AuthToken using the application's applicationId and secret.
Pass AuthToken to client.
Connect to PCast™ using the AuthToken.
Pass sessionId to server.
Select an available stream.
Get local user media from camera.
Create a Token (for publishing) using the sessionId.
Choose Quality
Pass Token (for publishing) to client.
Publish stream from local user media using Token (for publishing).
Pass streamId to server.
Create a Token (for viewing) using the sessionId and originStreamId.
Choose DRM modifiers
Pass Token (for viewing) to client.
Subscribe to a stream using the Token (for viewing).