Flash Player configuration issues

Issues related to playing with Flash Player

Flash Player configuration issues

Postby Guillermo.A.D » Thu Feb 02, 2017 5:27 am

Hello.

Some issues when configuring Flashvars for current (3.0 flash player, player-quick.swf)

1 - when configuring volume=0. The sound is not muted, it is low but you can still hear it.

2 - Unable to hide all GUI controls. The closest configuration to what we wanted is:
showMetadata=false
showLiveCaption=false
livelabelshowbg=false
disableuicontrols=true // We think that this one should override any other setting though.

Loading gui still appears.
Full screen button still appears.

3 - We have identify some External Api (flash.external.ExternalInterface) available calls: setMedia, setContent, setPosition, stopMedia, playMedia, pauseMedia, receiveMessage
Apparently there is no External Api functionality to modify MediaPlayer properties. We are interested in how to modify volume from external api. Is it possible?
Guillermo.A.D
 
Posts: 0
Joined: Wed May 04, 2016 4:34 am

Re: Flash Player configuration issues

Postby Guillermo.A.D » Thu Feb 02, 2017 6:01 am

4 - How do we activate Javascript event calls? We have set PlayerId and we receive first call, PLAYER_REGISTER message, but no other message are received. (expecting player status changes calls)
We send a "playerPause" which is accepted but this change does not fire any callback.

5 - We are doing some degraded tests. We have set property
showErrorInPlayer=true
And unplug network cable while playing. The image freezes for ever. No error shown, no callback fired, no way to know real status of the player.
Same result when closing Unreal Server
Same result when kicking a streaming from unreal server
Same resultwhen unpluging unreal server
Same result when unpluging source camera.
Is there any way to detect player errors?

6 - We have set
autoReconnect=true
When we put back network cable, player does not try to reconnect, image keeps frozen.
Guillermo.A.D
 
Posts: 0
Joined: Wed May 04, 2016 4:34 am

Re: Flash Player configuration issues

Postby admin » Thu Feb 02, 2017 11:13 am

Hello,

1. Auto-reconnect only works if the initial connection attempt fails. If the stream just dies in the middle, there is no way with Flash player to detect stream failure. Image just freezes and the player doesn't send any notifications. You can try other Flash players such as Flowplayer or JW player, but I don't think anyone can solve it.

2. Our SDK has documentation describing events and configuration of Flash player.

Here is an examle for subscribing to metadata event - taken from our uVMS online demo site:
http://umediaserver.net/uVMSDemo.html

<html xmlns="http://www.w3.org/1999/xhtml" >
<head><title>
Flash Player
</title><meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<script type="text/javascript" src="FlashPlayer/umsplayer.js" charset="utf-8"></script>
</head>

<script type="text/javascript">

var firstMetadata = true;

var onMetadata = function(args)
{
if (!firstMetadata)
return;

firstMetadata = false;

try
{
var object = UMS.Helper.getFlashObject('player-container');
object.width = args.width;
object.height = args.height;

window.resizeTo(args.width + 50, args.height + 200);
}
catch (e)
{
}
};

</script>


<body id="unload-trigger-element">
<div align="center"><span id="LabelCam">VOX2 TV Channel</span></div><br>

<!-- player container -->
<div id="player-container" align="center">Please install Flash Player</div>

<script type="text/javascript">
embedPlayer('player-container', {
flashvars : {
'rtmp' : 'rtmp://65.23.154.147:80/live/uVMS_5b0dc6e11f0856798aad',
'showMetadata': false,
'bufferLength' : 5
},
size : { width: 640, height: 360 },
playerStyle : 'quick',
callback : function(player){
player.addEventListener('mediaMetadata', onMetadata);
}
});

</script>

</body>

</html>
admin
Site Admin
 
Posts: 835
Joined: Fri Aug 21, 2009 10:13 am

Re: Flash Player configuration issues

Postby Guillermo.A.D » Wed Aug 23, 2017 2:25 am

We tried with basic StrobeMediaPlayback directly from Adobe OSMF and it is able to detect stream changes when debug enabled and subsribed to external interface callbacks (after some custom fixes)
As we are embebbing the player into C# we needed a working ExternalInterface support.

(And we needed this to substitue the Unreal ActiveX which was failing to reproduce multiple streams in the same window, due to freezing issues, frames mixing and video delays)
Guillermo.A.D
 
Posts: 0
Joined: Wed May 04, 2016 4:34 am

Re: Flash Player configuration issues

Postby admin » Fri Aug 25, 2017 10:15 am

Regarding Unreal ActiveX issues:
viewtopic.php?f=15&t=3456
admin
Site Admin
 
Posts: 835
Joined: Fri Aug 21, 2009 10:13 am


Return to Playing with Flash Player

Who is online

Users browsing this forum: No registered users and 1 guest

cron