Copy link to clipboard
Copied
Hello,
I want to log messages when user starts recording on, so i can check and debug errors in recording.
I use this code -
application.onAppStart = function() {
application.allowDebug = true;
}
in main.asc and then restart media server. there are not any differences between previous logs and current logs after recording.
It seems AllowDebug is not working.
can somebody help me please?
Thanks
Copy link to clipboard
Copied
As the docs say about it - “A debug connection lets administrators view information about shared objects and streams in the Administration Console.”. This flag is for AMS admin console only. Logs will always record lots of data.
Copy link to clipboard
Copied
Thanks Petro for your reply, But i need to log if something went wrong during recording.
Can you suggest me something for this, i am new in action script.
Thanks
Copy link to clipboard
Copied
What might go wrong with recording? It’s either recording or not. Specify our issue.
Copy link to clipboard
Copied
Yes, Sometimes when we play video it skips the initial minutes. So we want to first log bandwidth information and connection information.
Copy link to clipboard
Copied
These conditions are quite bizarre so I’d suggest checking the publishing stream info first using basic events: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/NetStatusEvent.html.
Copy link to clipboard
Copied
can i fetch user internet speed, resolution, fps and bandwidth during recording?