Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

DYNAMIC RTMP STREAMING - Error loading stream: ID not found on server


Hello,

i have this url:

http://192.146.242.105/sites/default/files/jwplayer/video.html

with this file .smil:

<smil>
<head>
<meta base="rtmp://192.146.242.102/flash/test/" />
</head>
<body>
<switch>
<video id="1" src="mp4:test01.mp4" height="720" system-bitrate="2000000" width="1280"/>
<video id="2" src="mp4:test02.mp4" height="360" system-bitrate="800000" width="640" />
</switch>
</body>
</smil>

and this file video:

<script type="text/javascript" src="jwplayer.js"></script></pre>
<div id="container">Loading the player ...</div>
<script type="text/javascript">
jwplayer("container").setup({
sources:[
{
file:"file.smil"
}
],
ga: {},
autostart: true,
width: 640,
height: 480,
primary: 'flash'
});
</script>

I get ERROR "Error loading stream: ID not found on server" when i switch video quality.
But if i click on player again after the warning all video are ok.

What is wrong?I have last version of jwplayer.
Sorry for my english.
Thanks
Antonello

11 Community Answers

Ethan Feldman

JW Player Support Agent  
1 rated :

This plays for me now, did you fix the issue?

lesiax

User  
0 rated :

Hi Ethan, no i did not fix the issue.
When you change quality (380p, 720p) didn't you see the error "Error loading stream: ID not found on server"?
I still see it.
Thanks
Antonello

Ethan Feldman

JW Player Support Agent  
1 rated :

I don’t get an error, but it just buffers forever. Have you tried the individual streams as well?

lesiax

User  
0 rated :

Thanks for answer Ethan.
Yes, i tried and the individual file works correctly. What browser are you using?I tried with firefox and internet explorer.

Antonello

Ethan Feldman

JW Player Support Agent  
1 rated :

I am using FF. I never get any message, it just keeps buffering.

lesiax

User  
0 rated :

Thanks for answer.
How can i fix this problem?
Can i have a example of code with switch bitrate working fine?
Antonello

Ethan Feldman

JW Player Support Agent  
1 rated :

Yes – http://support.jwplayer.com/customer/portal/articles/1430398-adaptive-rtmp-streaming

lesiax

User  
0 rated :

Thanks Ethan, your link is for http, i have rtmp. I post all the code that i used. Is there any error?

The single files work correctly. I used Real Media Helix server for the rtmp streaming.

Thanks
Antonello

Ethan Feldman

JW Player Support Agent  
1 rated :

Maybe you don’t need the mp4 prefix in your smil?

lesiax

User  
0 rated :

Hi Ethean,
i have uploaded a new url with not prefix mp4 in smil.

http://192.146.242.105/sites/default/files/jwplayer2/video.html

My new smil file:

<smil>
<head>
<meta base="rtmp://192.146.242.102/flash/test/" />
</head>
<body>
<switch>
<video id="1" src="test01.mp4" height="720" system-bitrate="2000000" width="1280"/>
<video id="2" src="test02.mp4" height="360" system-bitrate="800000" width="640" />
</switch>
</body>
</smil>


Why still this doesn't work????

Thanks for answers

Ethan Feldman

JW Player Support Agent  
0 rated :

This works for me now.

This question has received the maximum number of answers.