Hi,
Now, I try to write a plugin, in this plugin I want to switch channel and I use :
cChannel *Channel = Channels.GetByNumber(Number); if (Channel) { cDevice::PrimaryDevice()->SwitchChannel(Channel, true); }
It works perfectly with common channels, but when I have two channels with multiple audio tracks, like these:
MOSA 2:12324:vC34:S19.2E
:27500:163:1921=fra,1922=fra,1923=fra,1924=fra,1925=fra,1926=fra,1927=fra,1928=fra,1929=fra,1930=fra,1931=fra,1932=fra,1933=fra,1934=fra,1935=fra,1936=fra,1937=fra,1938=fra,1939=fra,1940=fra:0:0:8604:1:1096:0
MOSA 3:12324:vC34:S19.2E
:27500:164:1941=fra,1942=fra,1943=fra,1944=fra,1945=fra,1946=fra,1947=fra,1948=fra,1949=fra,1950=fra,1951=fra,1952=fra,1953=fra,1954=fra,1955=fra,1956=fra,1957=fra,1958=fra,1959=fra,1960=fra:0:0:8605:1:1096:0
MOSA 4:12324:vC34:S19.2E
:27500:166:1961=fra,1962=fra,1963=fra,1964=fra,1965=fra,1966=fra,1967=fra,1968=fra,1969=fra,1970=fra,1971=fra,1972=fra,1973=fra,1974=fra,1975=fra,1976=fra,1977=fra,1978=fra,1979=fra,1981=fra:0:0:8614:1:1096:0
Vdr switch the channel, but it still black screen (no audio, no video).
When I zap using the channel menu, I have the same result. MOSA 2 -> MOSA 3 = Black MOSA 2 -> An Other Channel -> MOSA 3 = OK MOSA 2 -> MOSA 3 -> MOSA 4 = MOSA 3 Black then MOSA 4 OK
I would know if there is a solution to switch directly between these channels. Perhaps a solution like this:
1) Switch to MOSA 2 2) Switch to MOSA 3: 2 a) " "Unload" MOSA 2 audio tracks" 2 b) Switch channel to MOSA 3
Have you got any ideas ? What can I do ?
Thanks BR,
Nouche