Created
March 27, 2016 01:26
-
-
Save rajdeeprath/c2222eda6a1cc75dc159 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Client functions | |
*/ | |
/** | |
* This is to handle the legacy call from FMLE to notify | |
* us when a publishing starts. Since, we are now doing that | |
* in application.onPublish, this becomes an no-op. | |
*/ | |
Client.prototype.FCPublish = function( name ) | |
{ | |
debug("Inside FCPublish - stream name: " + name); | |
} | |
/** | |
* This is to handle the legacy call from FMLE to notify | |
* us when a publishing stops. Since, we are now doing that | |
* in application.onUnpublish, this becomes an no-op. | |
*/ | |
Client.prototype.FCUnpublish = function( name ) | |
{ | |
debug("Inside FCUnpublish - stream name: " + name); | |
} | |
/** | |
* This function by called by a publisher to release a live | |
* stream. | |
*/ | |
Client.prototype.releaseStream = function( name ) | |
{ | |
debug("Inside releaseStream - stream name: " + name); | |
} | |
/** | |
* This function returns the length of a stream | |
*/ | |
Client.prototype.getStreamLength = function( name ) | |
{ | |
debug("Inside getStreamLength - stream name: " + name); | |
} | |
/** | |
* This function is handle legacy call from client who | |
* wants to subscribe to a live stream | |
*/ | |
Client.prototype.FCSubscribe = function( name ) | |
{ | |
} | |
/** | |
* This function is handle legacy call from client who | |
* wants to unsubscribe from a live stream | |
*/ | |
Client.prototype.FCUnsubscribe = function( name ) | |
{ | |
} | |
/** | |
* This function is called by a client who wants | |
* to subscribe to a DVR stream. | |
*/ | |
Client.prototype.DVRSubscribe = function( name ) | |
{ | |
} | |
/** | |
* This function is called by a client who wants | |
* to unsubscribe from a DVR stream. | |
*/ | |
Client.prototype.DVRUnsubscribe = function( name ) | |
{ | |
} | |
/** | |
* This function is called by the publisher to set the | |
* DVR stream info. | |
*/ | |
Client.prototype.DVRSetStreamInfo = function( streamInfo ) | |
{ | |
debug("Inside Client.DVRSetStreamInfo"); | |
} | |
/** | |
* This function returns the stream info of a DVR stream by name. | |
* If no DVR stream is found, it returns a fail code to the | |
* client "NetStream.DVRStreamInfo.Failed". | |
*/ | |
Client.prototype.DVRGetStreamInfo = function( streamName ) | |
{ | |
debug("Inside Client.DVRGetStreamInfo"); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment